|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.vex.css.RelativeLength
A length that may be expressed as an absolute or relative value.
Method Summary | |
static RelativeLength |
createAbsolute(int value)
Create a relative length representing an absolute value. |
static RelativeLength |
createRelative(float percentage)
Create a relative length representing a relative value. |
int |
get(int referenceLength)
Return the value of the length given a reference value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static RelativeLength createAbsolute(int value)
public static RelativeLength createRelative(float percentage)
public int get(int referenceLength)
referenceLength
- reference length by which percentage lengths
will by multiplied.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |