|
||||||||||
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.JavascriptEvent
An event which indicates that there has been a change to Javascript.
Currently, a JavascriptEvent
will be invoked if a Javascript
status message arises.
To reduce the cost of multiple method invocations, the event object will record only the new data pertaining to the event.
Constructor Summary | |
JavascriptEvent(java.lang.Object source)
Constructor for JavascriptEvent with a source. |
Method Summary | |
void |
blockDialog()
This method blocks Javascript dialogs if called inside onJavaScriptDialog() event handler |
boolean |
getBlockDialog()
Gets the blocked status of Javascript dialogs. |
java.lang.String |
getCaption()
Gets the caption. |
java.lang.String |
getJavascriptStatus()
Gets the Javascript status message. |
java.lang.String |
getMessage()
Gets the message. |
void |
setCaption(java.lang.String newCaption)
Sets the caption. |
void |
setJavascriptStatus(java.lang.String newStatus)
Set the Javascript status message. |
void |
setMessage(java.lang.String newMessage)
Sets the message. |
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 JavascriptEvent(java.lang.Object source)
null
.
source
- The source of the eventMethod Detail |
public void setJavascriptStatus(java.lang.String newStatus)
newStatus
- The Javascript status message.public java.lang.String getJavascriptStatus()
null
. The status message
indicates the current action being taken by the component (for example, the page currently
being loaded).
null
if there is no status data available.public void blockDialog()
public boolean getBlockDialog()
true
if dialogs are blocked.public java.lang.String getCaption()
public void setCaption(java.lang.String newCaption)
newCaption
- captionpublic java.lang.String getMessage()
public void setMessage(java.lang.String newMessage)
newMessage
- the message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |