ch.aplu.util
Class Size

java.lang.Object
  extended by ch.aplu.util.Size
Direct Known Subclasses:
Fullscreen

public class Size
extends java.lang.Object

The size of a window.


Constructor Summary
Size(int width, int height)
          Construct a Size instance.
 
Method Summary
 int getHeight()
          Return height.
 int getWidth()
          Return width.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Size

public Size(int width,
            int height)
Construct a Size instance.

Parameters:
width - width of window
height - height of window
Method Detail

getWidth

public int getWidth()
Return width.


getHeight

public int getHeight()
Return height.