public static class BackgroundPositionShorthand.Maker extends ListProperty.Maker
makeNewProperty
contextDep, corresponding, defaultProperty, defaultValue, propId, setByShorthand
Constructor and Description |
---|
BackgroundPositionShorthand.Maker(int propId) |
Modifier and Type | Method and Description |
---|---|
PercentBase |
getPercentBase()
Returns a
PercentBase whose
getDimension() returns 1. |
Property |
make(PropertyList propertyList,
java.lang.String value,
FObj fo)
Create a Property object from an attribute specification.
|
convertProperty
addEnum, addKeyword, addShorthand, addSubpropMaker, checkEnumValues, checkValueKeywords, clone, compute, convertPropertyDatatype, convertShorthandProperty, findProperty, get, getName, getPercentBase, getPropId, getShorthand, getSubprop, getSubpropMaker, isInherited, make, make, makeNewProperty, setByShorthand, setCorresponding, setDatatypeParser, setDefault, setDefault, setInherited, setPercentBase, setSubprop, useGeneric
public BackgroundPositionShorthand.Maker(int propId)
public Property make(PropertyList propertyList, java.lang.String value, FObj fo) throws PropertyException
background-position-horizontal
is
specified, background-position-vertical
is set
to "50%".make
in class PropertyMaker
propertyList
- The PropertyList object being built for this FO.value
- The attribute value.fo
- The parent FO for the FO whose property is being made.PropertyException
- for invalid or inconsistent FO inputpublic PercentBase getPercentBase()
PercentBase
whose
getDimension()
returns 1.Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.