org.wicketstuff.yui.markup.html.container
Class YuiWindowDimension

java.lang.Object
  extended by org.wicketstuff.yui.markup.html.container.YuiWindowDimension

public class YuiWindowDimension
extends Object

Immutable window dimensions with optional position.

Author:
Erik van Oosten

Constructor Summary
YuiWindowDimension(int width, int height)
          Constructor with width and height (and default position).
YuiWindowDimension(int top, int left, int width, int height)
          Constructor with width, height and position.
 
Method Summary
 int[] getTopLeft()
           
 int[] getWidthHeight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YuiWindowDimension

public YuiWindowDimension(int top,
                          int left,
                          int width,
                          int height)
Constructor with width, height and position.

Parameters:
top - position of the window in pixels from the top
left - position of the window in pixels from the left
width - width of the window in pixels
height - height of the window in pixels

YuiWindowDimension

public YuiWindowDimension(int width,
                          int height)
Constructor with width and height (and default position).

Parameters:
width - width of the window in pixels
height - height of the window in pixels
Method Detail

getTopLeft

public int[] getTopLeft()

getWidthHeight

public int[] getWidthHeight()


Copyright © 2006-2012 Wicket developers. All Rights Reserved.