Valuepublic class RectValue extends AbstractValue
| Modifier and Type | Field | Description |
|---|---|---|
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 | Description |
|---|---|
RectValue(Value t,
Value r,
Value b,
Value l) |
Creates a new Rect value.
|
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
createDOMException, getBlue, getCssValueType, getFloatValue, getGreen, getIdentifier, getLength, getListStyle, getRed, getSeparator, getStringValue, itemprotected Value top
protected Value right
protected Value bottom
protected Value left
public short getPrimitiveType()
getPrimitiveType in interface ValuegetPrimitiveType in class AbstractValuepublic java.lang.String getCssText()
public Value getTop() throws org.w3c.dom.DOMException
Value.getTop().getTop in interface ValuegetTop in class AbstractValueorg.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public Value getRight() throws org.w3c.dom.DOMException
Value.getRight().getRight in interface ValuegetRight in class AbstractValueorg.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public Value getBottom() throws org.w3c.dom.DOMException
Value.getBottom().getBottom in interface ValuegetBottom in class AbstractValueorg.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public Value getLeft() throws org.w3c.dom.DOMException
Value.getLeft().getLeft in interface ValuegetLeft in class AbstractValueorg.w3c.dom.DOMException - INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2018 Apache Software Foundation. All Rights Reserved.