|
XFA4J | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.adobe.xfa.ut.Margins
public final class Margins
A class to describe a set of margins. It consists of left, top, right, and, bottom rectangle insets.
Instances of this class are immutable.
| Constructor Summary | |
|---|---|
Margins()
Instantiates Margins with zero insets. |
|
Margins(Margins source)
Instantiates Margins from the
given Margins. |
|
Margins(UnitSpan marginLeft,
UnitSpan marginTop,
UnitSpan marginRight,
UnitSpan marginBottom)
Instantiates Margins specified by
the given UnitSpan insets. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Determines if this object is equal to the given margins. |
UnitSpan |
marginBottom()
Gets this object's bottom margin. |
UnitSpan |
marginLeft()
Gets this object's left margin. |
UnitSpan |
marginRight()
Gets this object's right margin. |
UnitSpan |
marginTop()
Gets this object's top margin. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Margins()
Margins with zero insets.
public Margins(UnitSpan marginLeft,
UnitSpan marginTop,
UnitSpan marginRight,
UnitSpan marginBottom)
Margins specified by
the given UnitSpan insets.
marginLeft - the left margin.marginTop - the top margin.marginRight - the right margin.marginBottom - the bottom margin.public Margins(Margins source)
Margins from the
given Margins.
source - the Margins to copy to this object.| Method Detail |
|---|
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - the margins to compare.
public UnitSpan marginBottom()
public UnitSpan marginLeft()
public UnitSpan marginTop()
public UnitSpan marginRight()
|
XFA4J | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||