Package org.apache.fop.fo.properties
Class LengthProperty
java.lang.Object
org.apache.fop.fo.properties.Property
org.apache.fop.fo.properties.LengthProperty
- Direct Known Subclasses:
EnumLength,FixedLength,PercentLength,TableColLength
Superclass for properties wrapping a Length value.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classInner class for making instances of LengthProperty -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturn the dimension of this numeric.This method expects to be overridden by subclassesThis method expects to be overridden by subclassesThis method expects to be overridden by subclassesMethods inherited from class org.apache.fop.fo.properties.Property
getCharacter, getColor, getCondLength, getEnum, getKeep, getLengthPair, getLengthRange, getList, getNCname, getNumber, getSpace, getSpecifiedValue, getString, isAuto, setSpecifiedValue, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.fop.datatypes.Numeric
getEnum, getNumericValue, getNumericValue, isAbsolute
-
Constructor Details
-
LengthProperty
public LengthProperty()
-
-
Method Details
-
getDimension
public int getDimension()Description copied from interface:NumericReturn the dimension of this numeric. Plain numbers has a dimension of 0 and length has a dimension of 1. Other dimension can occur as a result of multiplications and divisions.- Specified by:
getDimensionin interfaceNumeric- Returns:
- the numeric dimension. Length always a dimension of 1
-
getNumeric
Description copied from class:PropertyThis method expects to be overridden by subclasses- Overrides:
getNumericin classProperty- Returns:
- this.length cast as a Numeric
-
getLength
Description copied from class:PropertyThis method expects to be overridden by subclasses -
getObject
Description copied from class:PropertyThis method expects to be overridden by subclasses
-