org.kalmeo.kuix.util
Class Insets

java.lang.Object
  extended by org.kalmeo.kuix.util.Insets

public class Insets
extends java.lang.Object

An Insets object is a representation of the borders of a container. It specifies the space that a container must leave at each of its edges. The space can be a margin, a border or a padding.


Field Summary
 int bottom
           
 int left
           
 int right
           
 int top
           
 
Constructor Summary
Insets()
          Creates and initializes a new Insets object with null values
Insets(int top, int right, int bottom, int left)
          Creates and initializes a new Insets object with the specified top, left, bottom, and right insets.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

top

public int top

left

public int left

bottom

public int bottom

right

public int right
Constructor Detail

Insets

public Insets()
Creates and initializes a new Insets object with null values


Insets

public Insets(int top,
              int right,
              int bottom,
              int left)
Creates and initializes a new Insets object with the specified top, left, bottom, and right insets.

Parameters:
top - the inset from the top.
right - the inset from the right.
bottom - the inset from the bottom.
left - the inset from the left.


Copyright © 2007-2008 Kalmeo. All Rights Reserved.