|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.docx4j.org.xhtmlrenderer.css.style.derived.RectPropertySet
public class RectPropertySet
Represents a set of CSS properties that together define some rectangular area, and per-side thickness.
| Field Summary | |
|---|---|
protected float |
_bottom
|
protected float |
_left
|
protected float |
_right
|
protected float |
_top
|
static RectPropertySet |
ALL_ZEROS
|
| Constructor Summary | |
|---|---|
protected |
RectPropertySet()
|
|
RectPropertySet(CSSName cssName,
float top,
float right,
float bottom,
float left)
|
| Method Summary | |
|---|---|
float |
bottom()
|
RectPropertySet |
copyOf()
|
float |
getLeftRightDiff()
|
boolean |
hasNegativeValues()
|
float |
height()
|
boolean |
isAllZeros()
|
float |
left()
|
static RectPropertySet |
newInstance(CalculatedStyle style,
CSSName shortHandProperty,
CSSName.CSSSideProperties sideProperties,
float cbWidth,
CssContext ctx)
|
void |
resetNegativeValues()
|
float |
right()
|
void |
setBottom(float _bottom)
|
void |
setLeft(float _left)
|
void |
setRight(float _right)
|
void |
setTop(float _top)
|
float |
top()
|
String |
toString()
|
float |
width()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final RectPropertySet ALL_ZEROS
protected float _top
protected float _right
protected float _bottom
protected float _left
| Constructor Detail |
|---|
protected RectPropertySet()
public RectPropertySet(CSSName cssName,
float top,
float right,
float bottom,
float left)
| Method Detail |
|---|
public static RectPropertySet newInstance(CalculatedStyle style,
CSSName shortHandProperty,
CSSName.CSSSideProperties sideProperties,
float cbWidth,
CssContext ctx)
public String toString()
toString in class Objectpublic float top()
public float right()
public float bottom()
public float left()
public float getLeftRightDiff()
public float height()
public float width()
public void setTop(float _top)
public void setRight(float _right)
public void setBottom(float _bottom)
public void setLeft(float _left)
public RectPropertySet copyOf()
public boolean isAllZeros()
public boolean hasNegativeValues()
public void resetNegativeValues()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||