|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.webrenderer.event.WindowEvent
An event which indicates that the browser has changed the window. Currently,
a WindowEvent
will be invoked if:
To reduce the cost of multiple method invocations, the event object will record the new data pertaining to the event. The object will only contain the data required for the given event. This implies that if the event was generated due to a window resize request, then the other information will be invalid.
Constructor Summary | |
WindowEvent(java.lang.Object source)
Constructor for WindowEvent with a source. |
|
WindowEvent(java.lang.Object source,
int width,
int height,
java.lang.String url)
|
Method Summary | |
int |
getChildControlID()
|
int |
getHeight()
Gets the requested window height. |
IBrowserCanvas |
getPopupBrowser()
|
java.lang.String |
getURL()
|
int |
getWidth()
Gets the requested window width. |
void |
setChildControlID(int i)
|
void |
setDimensions(java.lang.String strURL,
int w,
int h)
Sets the height and width of the window request. |
void |
setHeight(int i)
|
void |
setPopupBrowser(IBrowserCanvas canvas)
|
void |
setURL(java.lang.String strURL)
|
void |
setWidth(int i)
|
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WindowEvent(java.lang.Object source)
EventObject.EventObject(Object)
public WindowEvent(java.lang.Object source, int width, int height, java.lang.String url)
Method Detail |
public int getHeight()
public int getWidth()
public void setDimensions(java.lang.String strURL, int w, int h)
w
- Width of the window.h
- Height of the window.public java.lang.String getURL()
public void setURL(java.lang.String strURL)
strURL
- URLpublic void setHeight(int i)
i
- heightpublic void setWidth(int i)
i
- widthpublic int getChildControlID()
public void setChildControlID(int i)
i
- control ID of childpublic IBrowserCanvas getPopupBrowser()
public void setPopupBrowser(IBrowserCanvas canvas)
canvas
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |