|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.apache.fop.fo.Property.Maker
org.apache.fop.fo.CondLengthProperty.Maker
org.apache.fop.fo.properties.GenericCondLength
| Nested Class Summary | |
static interface |
GenericCondLength.Enums
|
| Constructor Summary | |
protected |
GenericCondLength(java.lang.String name)
|
| Method Summary | |
Property |
checkEnumValues(java.lang.String value)
|
Property |
convertProperty(Property p,
PropertyList pList,
FObj fo)
Set the appropriate components when the "base" property is set. |
protected java.lang.String |
getDefaultForConditionality()
|
protected java.lang.String |
getDefaultForLength()
|
protected Property.Maker |
getSubpropMaker(java.lang.String subprop)
Return a Maker object which is used to set the values on components of compound property types, such as "space". |
Property |
getSubpropValue(Property baseProp,
java.lang.String subpropName)
Return a property value for the given component of a compound property. |
protected boolean |
isCompoundMaker()
|
Property |
make(PropertyList propertyList)
Return a Property object representing the initial value. |
protected Property |
makeCompound(PropertyList pList,
FObj fo)
Return a Property object representing the initial value. |
static Property.Maker |
maker(java.lang.String propName)
|
protected Property |
setSubprop(Property baseProp,
java.lang.String subpropName,
Property subProp)
Set a component in a compound property and return the modified compound property object. |
| Methods inherited from class org.apache.fop.fo.Property.Maker |
checkValueKeywords, compute, convertPropertyDatatype, convertShorthandProperty, getPercentBase, getPropName, getShorthand, inheritsSpecified, isCorrespondingForced, isInherited, make, make |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected GenericCondLength(java.lang.String name)
| Method Detail |
public static Property.Maker maker(java.lang.String propName)
public Property checkEnumValues(java.lang.String value)
checkEnumValues in class Property.Makerprotected boolean isCompoundMaker()
isCompoundMaker in class Property.Makerprotected Property.Maker getSubpropMaker(java.lang.String subprop)
Property.Maker
getSubpropMaker in class Property.Makersubprop - The name of the component for which a Maker is to
returned, for example "optimum", if the FO attribute is
space.optimum='10pt'.
protected Property setSubprop(Property baseProp,
java.lang.String subpropName,
Property subProp)
Property.Maker
setSubprop in class Property.MakerbaseProp - The Property object representing the compound property,
such as SpaceProperty.subpropName - The name of the component whose value is specified.subProp - A Property object holding the specified value of the
component to be set.
public Property getSubpropValue(Property baseProp,
java.lang.String subpropName)
Property.Maker
getSubpropValue in class Property.MakerbaseProp - A property value for a compound property type such as
SpaceProperty.subpropName - The name of the component whose value is to be
returned.
NOTE: this is only to ease porting when calls are made to
PropertyList.get() using a component name of a compound property,
such as get("space.optimum"). The recommended technique is:
get("space").getOptimum().
Overridden by property maker subclasses which handle
compound properties.
public Property make(PropertyList propertyList)
throws FOPException
Property.Maker
make in class Property.MakerpropertyList - The PropertyList object being built for this FO.
FOPException
protected Property makeCompound(PropertyList pList,
FObj fo)
throws FOPException
Property.Maker
makeCompound in class Property.MakerpList - The PropertyList object being built for this FO.fo - The parent FO for the FO whose property is being made.
FOPExceptionprotected java.lang.String getDefaultForLength()
protected java.lang.String getDefaultForConditionality()
public Property convertProperty(Property p,
PropertyList pList,
FObj fo)
throws FOPException
convertProperty in class Property.Makerp - The Property object return by the expression parserpList - The PropertyList object being built for this FO.fo - The current FO whose properties are being set.
FOPException
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||