|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.vaadin.server.Page.BrowserWindowResizeEvent
public static class Page.BrowserWindowResizeEvent
Event that is fired when a browser window containing a uI is resized.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
Page.BrowserWindowResizeEvent(Page source,
int width,
int height)
Creates a new event |
Method Summary | |
---|---|
int |
getHeight()
Gets the new browser window height |
Page |
getSource()
|
int |
getWidth()
Gets the new browser window width |
Methods inherited from class java.util.EventObject |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Page.BrowserWindowResizeEvent(Page source, int width, int height)
source
- the uI for which the browser window has been resizedwidth
- the new width of the browser windowheight
- the new height of the browser windowMethod Detail |
---|
public Page getSource()
getSource
in class java.util.EventObject
public int getHeight()
public int getWidth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |