|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.fo.properties.PropertyMaker
org.apache.fop.fo.properties.ListProperty.Maker
org.apache.fop.fo.properties.BackgroundPositionShorthand.Maker
public static class BackgroundPositionShorthand.Maker
Inner class for creating instances of this property
| Field Summary |
|---|
| Fields inherited from class org.apache.fop.fo.properties.PropertyMaker |
|---|
contextDep, corresponding, defaultProperty, defaultValue, propId, setByShorthand |
| Constructor Summary | |
|---|---|
BackgroundPositionShorthand.Maker(int propId)
Construct an instance of a Maker for the given property. |
|
| Method Summary | |
|---|---|
PercentBase |
getPercentBase(PropertyList pl)
This is used to handle properties specified as a percentage of some "base length", such as the content width of their containing box. |
Property |
make(PropertyList propertyList,
java.lang.String value,
FObj fo)
Create a Property object from an attribute specification. |
| Methods inherited from class org.apache.fop.fo.properties.ListProperty.Maker |
|---|
convertProperty |
| Methods inherited from class org.apache.fop.fo.properties.PropertyMaker |
|---|
addEnum, addKeyword, addShorthand, addSubpropMaker, checkEnumValues, checkValueKeywords, clone, compute, convertPropertyDatatype, convertShorthandProperty, findProperty, get, getName, getPropId, getShorthand, getSubprop, getSubpropMaker, isInherited, make, make, makeNewProperty, setByShorthand, setCorresponding, setDatatypeParser, setDefault, setDefault, setInherited, setPercentBase, setSubprop, useGeneric |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BackgroundPositionShorthand.Maker(int propId)
propId - The Constant ID of the property to be made.| Method Detail |
|---|
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 PropertyMakerpropertyList - 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(PropertyList pl)
PercentBase whose
getDimension() returns 1.
getPercentBase in class PropertyMakerpl - the PropertyList containing the property. (TODO: explain
what this is used for, or remove it from the signature.)
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||