pivot.wtk
Class Insets

java.lang.Object
  extended by pivot.wtk.Insets

public final class Insets
extends Object

Class representing the insets of an object.

Author:
gbrown

Field Summary
 int bottom
           
static String BOTTOM_KEY
           
 int left
           
static String LEFT_KEY
           
 int right
           
static String RIGHT_KEY
           
 int top
           
static String TOP_KEY
           
 
Constructor Summary
Insets(Dictionary<String,?> insets)
           
Insets(Insets insets)
           
Insets(int inset)
           
Insets(int top, int left, int bottom, int right)
           
 
Method Summary
 boolean equals(Object object)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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