org.apache.batik.css.engine.value

Class RectValue

public class RectValue extends AbstractValue

This class represents CSS rect values.
Field Summary
protected Valuebottom
The bottom value.
protected Valueleft
The left value.
protected Valueright
The right value.
protected Valuetop
The top value.
Constructor Summary
RectValue(Value t, Value r, Value b, Value l)
Creates a new Rect value.
Method Summary
ValuegetBottom()
Implements {@link Value#getBottom()}.
StringgetCssText()
A string representation of the current value.
ValuegetLeft()
Implements {@link Value#getLeft()}.
shortgetPrimitiveType()
The type of the value.
ValuegetRight()
Implements {@link Value#getRight()}.
ValuegetTop()
Implements {@link Value#getTop()}.
StringtoString()
Returns a printable representation of this value.

Field Detail

bottom

protected Value bottom
The bottom value.

left

protected Value left
The left value.

right

protected Value right
The right value.

top

protected Value top
The top value.

Constructor Detail

RectValue

public RectValue(Value t, Value r, Value b, Value l)
Creates a new Rect value.

Method Detail

getBottom

public Value getBottom()
Implements {@link Value#getBottom()}.

getCssText

public String getCssText()
A string representation of the current value.

getLeft

public Value getLeft()
Implements {@link Value#getLeft()}.

getPrimitiveType

public short getPrimitiveType()
The type of the value.

getRight

public Value getRight()
Implements {@link Value#getRight()}.

getTop

public Value getTop()
Implements {@link Value#getTop()}.

toString

public String toString()
Returns a printable representation of this value.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.