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 Value
getBottom()
ImplementsValue.getBottom()
.java.lang.String
getCssText()
A string representation of the current value.Value
getLeft()
ImplementsValue.getLeft()
.short
getPrimitiveType()
The type of the value.Value
getRight()
ImplementsValue.getRight()
.Value
getTop()
ImplementsValue.getTop()
.java.lang.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
-
-
-
-
Method Detail
-
getPrimitiveType
public short getPrimitiveType()
The type of the value.- Specified by:
getPrimitiveType
in interfaceValue
- Overrides:
getPrimitiveType
in 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:
getTop
in interfaceValue
- Overrides:
getTop
in 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:
getRight
in interfaceValue
- Overrides:
getRight
in 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:
getBottom
in interfaceValue
- Overrides:
getBottom
in 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:
getLeft
in interfaceValue
- Overrides:
getLeft
in 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:
toString
in classjava.lang.Object
-
-