|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.image.painter.ImmInsets
public class 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. |
int |
hashCode()
Override of Object.hashCode() |
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, 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 int hashCode()
hashCode
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |