|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.image.painter.ImmInsets
Immutable version of Insets.
Insets
Field Summary | |
int |
bottom
The inset from the bottom. |
int |
left
The inset from the left. |
int |
right
The inset from the right. |
int |
top
The inset from the top. |
Constructor Summary | |
ImmInsets(java.awt.Insets insets)
Constructs and initializes a new ImmInsets, copying the values from an insets object. |
|
ImmInsets(int top,
int left,
int bottom,
int right)
Constructs and initializes a new ImmInsets with the specified top, left, bottom, and right insets. |
Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
Checks whether two insets objects are equal. |
static ImmInsets |
getEmptyInsets()
Returns the shared, empty insets object. |
java.awt.Insets |
toInsets()
Creates an Insets object based on this ImmInsets. |
java.lang.String |
toString()
Returns a String object representing this Inset's values. |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public final int top
public final int left
public final int bottom
public final int right
Constructor Detail |
public ImmInsets(int top, int left, int bottom, int right)
top
- the inset from the topleft
- the inset from the leftbottom
- the inset from the bottomright
- the inset from the rightpublic ImmInsets(java.awt.Insets insets)
insets
- the insets objectMethod Detail |
public static ImmInsets getEmptyInsets()
public java.awt.Insets toInsets()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |