|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.css.engine.value.AbstractValue | +--org.apache.batik.css.engine.value.RectValue
This class represents CSS rect values.
Field Summary | |
protected Value |
bottom
The bottom value. |
protected Value |
left
The left value. |
protected Value |
right
The right value. |
protected Value |
top
The top value. |
Constructor Summary | |
RectValue(Value t,
Value r,
Value b,
Value l)
Creates a new Rect value. |
Method Summary | |
Value |
getBottom()
Implements Value.getBottom() . |
java.lang.String |
getCssText()
A string representation of the current value. |
Value |
getLeft()
Implements Value.getLeft() . |
short |
getPrimitiveType()
The type of the value. |
Value |
getRight()
Implements Value.getRight() . |
Value |
getTop()
Implements Value.getTop() . |
java.lang.String |
toString()
Returns a printable representation of this value. |
Methods inherited from class org.apache.batik.css.engine.value.AbstractValue |
createDOMException, getBlue, getCssValueType, getFloatValue, getGreen, getIdentifier, getLength, getListStyle, getRed, getSeparator, getStringValue, item |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Value top
protected Value right
protected Value bottom
protected Value left
Constructor Detail |
public RectValue(Value t, Value r, Value b, Value l)
Method Detail |
public short getPrimitiveType()
getPrimitiveType
in class AbstractValue
public java.lang.String getCssText()
public Value getTop() throws DOMException
Value.getTop()
.getTop
in class AbstractValue
org.apache.batik.css.engine.value.Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public Value getRight() throws DOMException
Value.getRight()
.getRight
in class AbstractValue
org.apache.batik.css.engine.value.Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public Value getBottom() throws DOMException
Value.getBottom()
.getBottom
in class AbstractValue
org.apache.batik.css.engine.value.Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public Value getLeft() throws DOMException
Value.getLeft()
.getLeft
in class AbstractValue
org.apache.batik.css.engine.value.Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |