public class TableColLength extends LengthProperty
LengthProperty.Maker| Constructor and Description |
|---|
TableColLength(double tcolUnits,
FObj column)
Construct an object with tcolUnits of proportional measure.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
double |
getNumericValue()
Return the value as a numeric value.
|
double |
getNumericValue(PercentBaseContext context)
Return the value of this Numeric
|
double |
getTableUnits()
Override the method in Length
|
int |
getValue()
Return the value as a length.
|
int |
getValue(PercentBaseContext context)
Returns the length in 1/1000ths of a point (millipoints)
|
int |
hashCode() |
boolean |
isAbsolute()
Return false because table-col-units are a relative numeric.
|
java.lang.String |
toString()
Convert this to a String
|
getDimension, getLength, getNumeric, getObjectgetCharacter, getColor, getCondLength, getEnum, getKeep, getLengthPair, getLengthRange, getList, getNCname, getNumber, getSpace, getSpecifiedValue, getString, isAuto, setSpecifiedValuepublic TableColLength(double tcolUnits,
FObj column)
tcolUnits - number of table-column proportional unitscolumn - the column the column-units are defined onpublic double getTableUnits()
public boolean isAbsolute()
public double getNumericValue()
public double getNumericValue(PercentBaseContext context)
context - The context for the length calculation (for percentage based lengths)public int getValue()
public int getValue(PercentBaseContext context)
context - The context for the length calculation (for percentage based lengths)public java.lang.String toString()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.