org.apache.fop.fo.properties
Class GenericColor
java.lang.Object
org.apache.fop.fo.Property.Maker
org.apache.fop.fo.ColorTypeProperty.Maker
org.apache.fop.fo.properties.GenericColor
- Direct Known Subclasses:
- BackgroundColorMaker, BorderAfterColorMaker, BorderBeforeColorMaker, BorderBottomColorMaker, BorderEndColorMaker, BorderLeftColorMaker, BorderRightColorMaker, BorderStartColorMaker, BorderTopColorMaker, ColorMaker
public class GenericColor
- extends ColorTypeProperty.Maker
Methods inherited from class org.apache.fop.fo.Property.Maker |
checkEnumValues, compute, convertPropertyDatatype, convertShorthandProperty, getPercentBase, getPropName, getShorthand, getSubpropMaker, getSubpropValue, inheritsSpecified, isCompoundMaker, isCorrespondingForced, isInherited, make, make, make, makeCompound, setSubprop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericColor
protected GenericColor(String name)
maker
public static Property.Maker maker(String propName)
checkValueKeywords
protected String checkValueKeywords(String keyword)
- Description copied from class:
Property.Maker
- Return a String to be parsed if the passed value corresponds to
a keyword which can be parsed and used to initialize the property.
For example, the border-width family of properties can have the
initializers "thin", "medium", or "thick". The foproperties.xml
file specifies a length value equivalent for these keywords,
such as "0.5pt" for "thin". These values are considered parseable,
since the Length object is no longer responsible for parsing
unit expresssions.
- Overrides:
checkValueKeywords
in class Property.Maker
- Parameters:
keyword
- The string value of property attribute.
- Returns:
- A String containging a parseable equivalent or null if
the passed value isn't a keyword initializer for this Property.
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.