com.sencha.gxt.core.client.util
Class Region

java.lang.Object
  extended by com.sencha.gxt.core.client.util.Region
Direct Known Subclasses:
Margins, Padding

public class Region
extends java.lang.Object

Represents a region in the coordinate system.


Constructor Summary
Region()
           
Region(int top, int right, int bottom, int left)
           
 
Method Summary
 int getBottom()
          Returns the bottom value.
 int getLeft()
          Returns the left value.
 int getRight()
          Returns the right value.
 int getTop()
          Returns the top value.
 void setBottom(int bottom)
          Sets the bottom value.
 void setLeft(int left)
          Sets the left value.
 void setRight(int right)
          Sets the right value.
 void setTop(int top)
          Sets the top value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Region

public Region()

Region

public Region(int top,
              int right,
              int bottom,
              int left)
Method Detail

getBottom

public int getBottom()
Returns the bottom value.

Returns:
the bottom value

getLeft

public int getLeft()
Returns the left value.

Returns:
the left value

getRight

public int getRight()
Returns the right value.

Returns:
the right value

getTop

public int getTop()
Returns the top value.

Returns:
the top value

setBottom

public void setBottom(int bottom)
Sets the bottom value.

Parameters:
bottom - the bottom value

setLeft

public void setLeft(int left)
Sets the left value.

Parameters:
left - the left value

setRight

public void setRight(int right)
Sets the right value.

Parameters:
right - the right value

setTop

public void setTop(int top)
Sets the top value.

Parameters:
top - the top value

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012. All Rights Reserved.