org.wicketstuff.yui.markup.html.container
Class YuiWindowDimension
java.lang.Object
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 topleft - position of the window in pixels from the leftwidth - width of the window in pixelsheight - 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 pixelsheight - height of the window in pixels
getTopLeft
public int[] getTopLeft()
getWidthHeight
public int[] getWidthHeight()
Copyright © 2006-2012 Wicket developers. All Rights Reserved.