|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.awt.impl.AwtResource<java.awt.Insets>
com.sibvisions.rad.ui.awt.impl.AwtInsets
public class AwtInsets
The AwtInsets class encapsulates the margins (in integer precision) in a single object.
| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
resource |
| Constructor Summary | |
|---|---|
AwtInsets(java.awt.Insets pInsets)
Creates an instance of AwtInsets based on
a java.awt.Insets. |
|
AwtInsets(int pTop,
int pLeft,
int pBottom,
int pRight)
Creates an instance of AwtInsets for specific margins. |
|
| Method Summary | |
|---|---|
int |
getBottom()
The bottom margin of the IInsets. |
int |
getLeft()
The left margin of the IInsets. |
int |
getRight()
The right margin of the IInsets. |
int |
getTop()
The top margin of the IInsets. |
void |
setBottom(int pBottom)
Sets the bottom margin of the IInsets. |
void |
setLeft(int pLeft)
Sets the left margin of the IInsets. |
void |
setRight(int pRight)
Sets the right margin of the IInsets. |
void |
setTop(int pTop)
Sets the top margin of the IInsets. |
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
equals, getResource, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Constructor Detail |
|---|
public AwtInsets(java.awt.Insets pInsets)
AwtInsets based on
a java.awt.Insets.
pInsets - java.awt.InsetsInsets
public AwtInsets(int pTop,
int pLeft,
int pBottom,
int pRight)
AwtInsets for specific margins.
pTop - the top marginpLeft - the left marginpBottom - the bottom marginpRight - the right marginInsets.Insets(int, int, int, int)| Method Detail |
|---|
public int getTop()
IInsets.
getTop in interface IInsetspublic void setTop(int pTop)
IInsets.
setTop in interface IInsetspTop - the top marginpublic int getLeft()
IInsets.
getLeft in interface IInsetspublic void setLeft(int pLeft)
IInsets.
setLeft in interface IInsetspLeft - the left marginpublic int getBottom()
IInsets.
getBottom in interface IInsetspublic void setBottom(int pBottom)
IInsets.
setBottom in interface IInsetspBottom - the bottom marginpublic int getRight()
IInsets.
getRight in interface IInsetspublic void setRight(int pRight)
IInsets.
setRight in interface IInsetspRight - the right margin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||