Class PositionShorthandParser

  • All Implemented Interfaces:
    ShorthandParser

    public class PositionShorthandParser
    extends java.lang.Object
    implements ShorthandParser
    A shorthand parser for the position shorthand. It is used to set values for absolute-position and relative-position.
    • Constructor Detail

      • PositionShorthandParser

        public PositionShorthandParser()
    • Method Detail

      • getValueForProperty

        public Property getValueForProperty​(int propId,
                                            Property property,
                                            PropertyMaker maker,
                                            PropertyList propertyList)
        Specified by:
        getValueForProperty in interface ShorthandParser
        Parameters:
        propId - the property ID in the Constants interface
        property - from which value is obtained
        maker - Maker object for the Property
        propertyList - list of properties
        Returns:
        Property object corresponding to propName