|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.css.engine.value.AbstractValue
org.apache.batik.css.engine.value.RectValue
public class 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(). |
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(). |
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 interface ValuegetPrimitiveType in class AbstractValuepublic String getCssText()
public Value getTop()
throws DOMException
Value.getTop().
getTop in interface ValuegetTop in class AbstractValueDOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.
public Value getRight()
throws DOMException
Value.getRight().
getRight in interface ValuegetRight in class AbstractValueDOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.
public Value getBottom()
throws DOMException
Value.getBottom().
getBottom in interface ValuegetBottom in class AbstractValueDOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.
public Value getLeft()
throws DOMException
Value.getLeft().
getLeft in interface ValuegetLeft in class AbstractValueDOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||