Class RectValue
java.lang.Object
org.apache.batik.css.engine.value.AbstractValue
org.apache.batik.css.engine.value.RectValue
- All Implemented Interfaces:
Value
This class represents CSS rect values.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionImplementsValue.getBottom().A string representation of the current value.getLeft()ImplementsValue.getLeft().shortThe type of the value.getRight()ImplementsValue.getRight().getTop()ImplementsValue.getTop().toString()Returns a printable representation of this value.Methods inherited from class AbstractValue
createDOMException, getBlue, getCssValueType, getFloatValue, getGreen, getIdentifier, getLength, getListStyle, getRed, getSeparator, getStringValue, item
-
Field Details
-
top
The top value. -
right
The right value. -
bottom
The bottom value. -
left
The left value.
-
-
Constructor Details
-
RectValue
-
-
Method Details
-
getPrimitiveType
public short getPrimitiveType()The type of the value.- Specified by:
getPrimitiveTypein interfaceValue- Overrides:
getPrimitiveTypein classAbstractValue
-
getCssText
A string representation of the current value. -
getTop
ImplementsValue.getTop().- Specified by:
getTopin interfaceValue- Overrides:
getTopin classAbstractValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getRight
ImplementsValue.getRight().- Specified by:
getRightin interfaceValue- Overrides:
getRightin classAbstractValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getBottom
ImplementsValue.getBottom().- Specified by:
getBottomin interfaceValue- Overrides:
getBottomin classAbstractValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getLeft
ImplementsValue.getLeft().- Specified by:
getLeftin interfaceValue- Overrides:
getLeftin classAbstractValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
toString
-