org.apache.pivot.wtk
Class Insets
java.lang.Object
org.apache.pivot.wtk.Insets
- All Implemented Interfaces:
- Serializable
public final class Insets
- extends Object
- implements Serializable
Class representing the insets of an object.
- See Also:
- Serialized Form
top
public final int top
left
public final int left
bottom
public final int bottom
right
public final int right
TOP_KEY
public static final String TOP_KEY
- See Also:
- Constant Field Values
LEFT_KEY
public static final String LEFT_KEY
- See Also:
- Constant Field Values
BOTTOM_KEY
public static final String BOTTOM_KEY
- See Also:
- Constant Field Values
RIGHT_KEY
public static final String RIGHT_KEY
- See Also:
- Constant Field Values
NONE
public static final Insets NONE
- Insets whose top, left, bottom, and right values are all zero.
Insets
public Insets(int inset)
Insets
public Insets(int top,
int left,
int bottom,
int right)
Insets
public Insets(Insets insets)
Insets
public Insets(Dictionary<String,?> insets)
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
decode
public static Insets decode(String value)