org.xulux.api.gui
Interface IWidgetRectangle


public interface IWidgetRectangle


Method Summary
 int getHeight()
           
 java.awt.Rectangle getRectangle()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 void setHeight(int height)
          Sets the height.
 void setPosition(int x, int y)
          Set the position
 void setSize(int width, int height)
          Set the size.
 void setWidth(int width)
          Sets the width.
 void setX(int x)
          Sets the x.
 void setY(int y)
          Sets the y.
 

Method Detail

getHeight

int getHeight()
Returns:
the height

getWidth

int getWidth()
Returns:
the width

getX

int getX()
Returns:
the x coordinate

getY

int getY()
Returns:
the y position

setHeight

void setHeight(int height)
Sets the height.

Parameters:
height - The height to set

setWidth

void setWidth(int width)
Sets the width.

Parameters:
width - The width to set

setX

void setX(int x)
Sets the x.

Parameters:
x - The x to set

setSize

void setSize(int width,
             int height)
Set the size.

Parameters:
width - the widh
height - the height

setPosition

void setPosition(int x,
                 int y)
Set the position

Parameters:
x - the x coordinate
y - the y coordinate

setY

void setY(int y)
Sets the y.

Parameters:
y - The y to set

getRectangle

java.awt.Rectangle getRectangle()
Returns:
the awt rectangle


Copyright © 2002-2007 Martin van den Bemt. All Rights Reserved.