org.apache.fop.fo.properties
Class WidthMaker
java.lang.Object
org.apache.fop.fo.Property.Maker
org.apache.fop.fo.LengthProperty.Maker
org.apache.fop.fo.properties.WidthMaker
- public class WidthMaker
- extends LengthProperty.Maker
Methods inherited from class org.apache.fop.fo.Property.Maker |
checkEnumValues, checkValueKeywords, compute, convertPropertyDatatype, convertShorthandProperty, getPropName, getShorthand, getSubpropMaker, getSubpropValue, inheritsSpecified, isCompoundMaker, isCorrespondingForced, make, make, makeCompound, setSubprop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WidthMaker
protected WidthMaker(String name)
maker
public static Property.Maker maker(String propName)
isInherited
public boolean isInherited()
- Description copied from class:
Property.Maker
- Default implementation of isInherited.
- Overrides:
isInherited
in class Property.Maker
- Returns:
- A boolean indicating whether this property is inherited.
isAutoLengthAllowed
protected boolean isAutoLengthAllowed()
- Description copied from class:
LengthProperty.Maker
- protected Property checkPropertyKeywords(String value) {
if (isAutoLengthAllowed() && value.equals("auto")) {
return new LengthProperty(Length.AUTO);
}
return null;
}
- Overrides:
isAutoLengthAllowed
in class LengthProperty.Maker
getPercentBase
public PercentBase getPercentBase(FObj fo,
PropertyList propertyList)
- Return object used to calculate base Length
for percent specifications.
- Overrides:
getPercentBase
in class Property.Maker
make
public Property make(PropertyList propertyList)
throws FOPException
- Description copied from class:
Property.Maker
- Return a Property object representing the initial value.
- Overrides:
make
in class Property.Maker
- Parameters:
propertyList
- The PropertyList object being built for this FO.
- Throws:
FOPException
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.