public class RectValue extends AbstractValue
| Modifier and Type | Field and 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 and Description |
|---|
RectValue(Value t,
Value r,
Value b,
Value l)
Creates a new Rect value.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 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.Copyright © 2000–2017 Apache Software Foundation. All rights reserved.