yu.ac.bg.etf.javaqx.qswing.graphics
Class Insets

java.lang.Object
  extended byyu.ac.bg.etf.javaqx.qswing.graphics.Insets

public class Insets
extends java.lang.Object

Insets.

Version:
0.2.0
Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)

Field Summary
static Insets ZERO_INSEST
          Insets(0, 0, 0, 0) object.
 
Constructor Summary
Insets()
          Constructs new Insets object.
Insets(int top, int left, int bottom, int right)
          Constructs new Insets object.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 int getBottom()
          Returns bottom inset.
 int getLeft()
          Returns left inset.
 int getRight()
          Returns right inset.
 int getTop()
          Returns top inset.
 int hashCode()
          
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ZERO_INSEST

public static final Insets ZERO_INSEST
Insets(0, 0, 0, 0) object.

Constructor Detail

Insets

public Insets()
Constructs new Insets object.


Insets

public Insets(int top,
              int left,
              int bottom,
              int right)
Constructs new Insets object.

Parameters:
top - the inset from the top
left - the inset from the left
bottom - the inset from the bottom
right - the inset from the right
Method Detail

getTop

public int getTop()
Returns top inset.

Returns:
top inset

getLeft

public int getLeft()
Returns left inset.

Returns:
left inset

getBottom

public int getBottom()
Returns bottom inset.

Returns:
bottom inset

getRight

public int getRight()
Returns right inset.

Returns:
right inset

equals

public boolean equals(java.lang.Object obj)


hashCode

public int hashCode()


toString

public java.lang.String toString()



Copyright © 2007 ETF and contributors. All Rights Reserved.