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
Constructor Summary |
protected |
WidthMaker(java.lang.String name)
|
Method Summary |
PercentBase |
getPercentBase(FObj fo,
PropertyList propertyList)
Return object used to calculate base Length
for percent specifications. |
protected boolean |
isAutoLengthAllowed()
protected Property checkPropertyKeywords(String value) {
if (isAutoLengthAllowed() && value.equals("auto")) {
return new LengthProperty(Length.AUTO);
}
return null;
} |
boolean |
isInherited()
Default implementation of isInherited. |
Property |
make(PropertyList propertyList)
Return a Property object representing the initial value. |
static Property.Maker |
maker(java.lang.String propName)
|
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(java.lang.String name)
maker
public static Property.Maker maker(java.lang.String propName)
isInherited
public boolean isInherited()
- Description copied from class:
Property.Maker
- Default implementation of isInherited.
- Overrides:
isInherited
in class Property.Maker
- Following copied from class:
org.apache.fop.fo.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
- Following copied from class:
org.apache.fop.fo.Property.Maker
- Parameters:
propertyList
- The PropertyList object being built for this FO.
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.