|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.qt.impl.QtResource<QContentsMargins>
com.sibvisions.rad.ui.qt.impl.QtInsets
public class QtInsets
The QtInsets class encapsulates the margins (in integer precision)
in a single object.
QContentsMargins,
IInsets| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.qt.impl.QtResource |
|---|
resource |
| Constructor Summary | |
|---|---|
QtInsets(int pTop,
int pLeft,
int pBottom,
int pRight)
Creates an instance of QtInsets for specific margins. |
|
QtInsets(QContentsMargins pInsets)
Creates an instance of AwtInsets based on
a java.awt.Insets. |
|
| 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.qt.impl.QtResource |
|---|
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 QtInsets(QContentsMargins pInsets)
AwtInsets based on
a java.awt.Insets.
pInsets - java.awt.InsetsInsets
public QtInsets(int pTop,
int pLeft,
int pBottom,
int pRight)
QtInsets for specific margins.
pTop - the top marginpLeft - the left marginpBottom - the bottom marginpRight - the right margin| 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 | |||||||||