org.jtheque.core.managers.view.impl
Class WindowConfiguration

java.lang.Object
  extended by org.jtheque.core.managers.view.impl.WindowConfiguration

public final class WindowConfiguration
extends java.lang.Object

A Window Configuration. It seems a state to persist the location and the size on a window in closing.

Author:
Baptiste Wicht

Constructor Summary
WindowConfiguration()
           
 
Method Summary
 int getHeight()
          Return the height of the window.
 int getPositionX()
          Return the X position of the window.
 int getPositionY()
          Return the Y position of the window.
 int getWidth()
          Return the width of the window.
 void setHeight(int height)
          Set the height of the window.
 void setPositionX(int positionX)
          Set the X position of the window.
 void setPositionY(int positionY)
          Set the Y position of the window.
 void setWidth(int width)
          Set the width of the window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowConfiguration

public WindowConfiguration()
Method Detail

setWidth

public void setWidth(int width)
Set the width of the window.

Parameters:
width - The width of the window.

setHeight

public void setHeight(int height)
Set the height of the window.

Parameters:
height - The height of the window.

setPositionX

public void setPositionX(int positionX)
Set the X position of the window.

Parameters:
positionX - The X position of the window.

setPositionY

public void setPositionY(int positionY)
Set the Y position of the window.

Parameters:
positionY - The Y position of the window.

getWidth

public int getWidth()
Return the width of the window.

Returns:
The width of the window.

getHeight

public int getHeight()
Return the height of the window.

Returns:
The height of the window.

getPositionY

public int getPositionY()
Return the Y position of the window.

Returns:
The Y position of the window.

getPositionX

public int getPositionX()
Return the X position of the window.

Returns:
The X position of the window.


Copyright © 2009 JTheque. All Rights Reserved.