|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.fotree.Property
org.foray.fotree.fo.AbstractFoProperty
org.foray.fotree.fo.prop.AbstractBorder
public abstract class AbstractBorder
Abstract superclass for the shorthand properties "border", "border-left", "border-right", "border-top", and "border-bottom".
Field Summary |
---|
Fields inherited from class org.foray.fotree.fo.AbstractFoProperty |
---|
VALID_KEYWORDS_INHERIT_ONLY |
Fields inherited from class org.foray.fotree.Property |
---|
PRECEDENCE_FORCE |
Constructor Summary | |
---|---|
AbstractBorder(FObj fobj,
String propertyFullName,
String attributeValue)
Constructor. |
Method Summary | |
---|---|
AbstractBorderColor |
getBorderColor()
Returns the border-color component of this compound property. |
AbstractBorderStyle |
getBorderStyle()
Returns the border-style component of this compound property. |
AbstractBorderWidth |
getBorderWidth()
Returns the border-width component of this compound property. |
protected FoValue[] |
getValidKeywords()
Returns the valid keywords for this property. |
static FoProperty |
rawPropertyType(org.axsl.common.value.AbsoluteCompass direction)
Converts a raw direction into its related property. |
PropertyValue |
value()
Returns the value for this property. |
Methods inherited from class org.foray.fotree.fo.AbstractFoProperty |
---|
canEvalBorderStyle, canEvalUri, checkKeywords, convertValueToFoValue, evalBorderStyle, evalUri, getPropertyType, isKeywordInherit, standardParse, standardParse |
Methods inherited from class org.foray.fotree.Property |
---|
convertNumericToInteger, convertValueToLength, getBasePropertyName, getKeywordIndex, getKeywordInSet, getSubPropertyName, invalidPropertyName, keywordInSet, unexpectedInitialValueArgument, unexpectedRetrieval, unexpectedValue, unexpectedValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractBorder(FObj fobj, String propertyFullName, String attributeValue) throws PropertyException
fobj
- The FObj to which this property belongs.propertyFullName
- The full name of the property.attributeValue
- The unparsed property value.
PropertyException
- For an invalid property value.Method Detail |
---|
public AbstractBorderStyle getBorderStyle()
public AbstractBorderWidth getBorderWidth()
public AbstractBorderColor getBorderColor()
protected FoValue[] getValidKeywords()
AbstractFoProperty
getValidKeywords
in class AbstractFoProperty
public PropertyValue value()
Property
value
in class Property
public static FoProperty rawPropertyType(org.axsl.common.value.AbsoluteCompass direction)
direction
- One of the directional constants.
direction
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |