public class RectImpl extends Object implements Serializable
| Constructor and Description |
|---|
RectImpl(LexicalUnit lu)
Constructor that reads the values from the given
chain of LexicalUnits.
|
| Modifier and Type | Method and Description |
|---|---|
CSSValueImpl |
getBottom() |
CSSValueImpl |
getLeft() |
CSSValueImpl |
getRight() |
CSSValueImpl |
getTop() |
void |
setBottom(CSSValueImpl bottom)
Sets the bottom part to a new value.
|
void |
setLeft(CSSValueImpl left)
Sets the left part to a new value.
|
void |
setRight(CSSValueImpl right)
Sets the right part to a new value.
|
void |
setTop(CSSValueImpl top)
Sets the top part to a new value.
|
String |
toString() |
public RectImpl(LexicalUnit lu) throws DOMException
lu - the valuesDOMException - in case of errorpublic CSSValueImpl getTop()
public void setTop(CSSValueImpl top)
top - the new CSSPrimitiveValuepublic CSSValueImpl getRight()
public void setRight(CSSValueImpl right)
right - the new CSSPrimitiveValuepublic CSSValueImpl getBottom()
public void setBottom(CSSValueImpl bottom)
bottom - the new CSSPrimitiveValuepublic CSSValueImpl getLeft()
public void setLeft(CSSValueImpl left)
left - the new CSSPrimitiveValueCopyright © 2023. All rights reserved.