Class RectValue
- java.lang.Object
-
- org.apache.batik.css.engine.value.AbstractValue
-
- org.apache.batik.css.engine.value.RectValue
-
- All Implemented Interfaces:
Value
public class RectValue extends AbstractValue
This class represents CSS rect values.- Version:
- $Id: RectValue.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValuegetBottom()ImplementsValue.getBottom().java.lang.StringgetCssText()A string representation of the current value.ValuegetLeft()ImplementsValue.getLeft().shortgetPrimitiveType()The type of the value.ValuegetRight()ImplementsValue.getRight().ValuegetTop()ImplementsValue.getTop().java.lang.StringtoString()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
-
-
-
-
Method Detail
-
getPrimitiveType
public short getPrimitiveType()
The type of the value.- Specified by:
getPrimitiveTypein interfaceValue- Overrides:
getPrimitiveTypein classAbstractValue
-
getCssText
public java.lang.String getCssText()
A string representation of the current value.
-
getTop
public Value getTop() throws org.w3c.dom.DOMException
ImplementsValue.getTop().- Specified by:
getTopin interfaceValue- Overrides:
getTopin classAbstractValue- Throws:
org.w3c.dom.DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getRight
public Value getRight() throws org.w3c.dom.DOMException
ImplementsValue.getRight().- Specified by:
getRightin interfaceValue- Overrides:
getRightin classAbstractValue- Throws:
org.w3c.dom.DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getBottom
public Value getBottom() throws org.w3c.dom.DOMException
ImplementsValue.getBottom().- Specified by:
getBottomin interfaceValue- Overrides:
getBottomin classAbstractValue- Throws:
org.w3c.dom.DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getLeft
public Value getLeft() throws org.w3c.dom.DOMException
ImplementsValue.getLeft().- Specified by:
getLeftin interfaceValue- Overrides:
getLeftin classAbstractValue- Throws:
org.w3c.dom.DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
toString
public java.lang.String toString()
Returns a printable representation of this value.- Overrides:
toStringin classjava.lang.Object
-
-