org.xhtmlrenderer.css.style
Class Length
java.lang.Object
org.xhtmlrenderer.css.style.Length
public class Length
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MAX_WIDTH
public static final int MAX_WIDTH
- See Also:
- Constant Field Values
VARIABLE
public static final int VARIABLE
- See Also:
- Constant Field Values
FIXED
public static final int FIXED
- See Also:
- Constant Field Values
PERCENT
public static final int PERCENT
- See Also:
- Constant Field Values
Length
public Length()
Length
public Length(long value,
int type)
setValue
public void setValue(long value)
value
public long value()
setType
public void setType(int type)
type
public int type()
isVariable
public boolean isVariable()
isFixed
public boolean isFixed()
isPercent
public boolean isPercent()
width
public long width(int maxWidth)
minWidth
public long minWidth(int maxWidth)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Flying Saucer Project Home