org.foray.fotree.value
Class FnAbstractNamedProperty
java.lang.Object
org.foray.fotree.value.Expr
org.foray.fotree.value.ExprAdditive
org.foray.fotree.value.ExprMultiplicative
org.foray.fotree.value.ExprUnary
org.foray.fotree.value.ExprPrimary
org.foray.fotree.value.Function
org.foray.fotree.value.FnAbstractNamedProperty
- All Implemented Interfaces:
- PropertyValue
- Direct Known Subclasses:
- FnFromPageMasterRegion, FnFromParent, FnInheritedProp, FnMergePropertyValues, FnNearestSpecProp
public abstract class FnAbstractNamedProperty
- extends Function
Abstract superclass for the "inherited-property-value", "from-parent",
"from-nearest-specified-value", "from-page-master-region", and
"merge-property-values" functions.
Fields inherited from class org.foray.fotree.value.Function |
ABS, BODY_START, CEILING, FLOOR, FROM_NEAREST_SPECIFIED_VALUE, FROM_PAGE_MASTER_REGION, FROM_PARENT, FROM_TABLE_COLUMN, FUNCTION_NAME_LIST, INHERITED_PROPERTY_VALUE, LABEL_END, MAX, MERGE_PROPERTY_VALUES, MIN, PROPORTIONAL_COLUMN_WIDTH, RGB, RGB_ICC, ROUND, SYSTEM_COLOR, SYSTEM_FONT |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.foray.fotree.value.PropertyValue |
canEvalColor, canEvalInteger, canEvalKeyword, canEvalLength, canEvalNumeric, canEvalPercentage, evalColor, evalInteger, evalKeyword, evalLength, evalNumeric, evalPercentage, getUnitPower, lengthRequiresFontSize |
FnAbstractNamedProperty
public FnAbstractNamedProperty(Expr[] arguments,
PropertyType propertyType)
throws PropertyException
- Constructor.
- Parameters:
arguments
- The arguments to this function.propertyType
- The property which is calling this function.
- Throws:
PropertyException
- For errors creating this function.
getPropertyType
protected FoProperty getPropertyType()
- Returns the property type to be operated on by the subclass.
- Returns:
- The property type operand.
Copyright © 2017. All rights reserved.