|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.webrenderer.se.event.JavascriptEvent
public class 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.
| Field Summary | |
|---|---|
protected boolean |
result
|
protected java.lang.String |
status
The Javascript status message. |
protected java.lang.String |
strCaption
|
protected java.lang.String |
strMessage
|
| Fields inherited from class java.util.EventObject |
|---|
source |
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String status
protected boolean result
protected java.lang.String strMessage
protected java.lang.String strCaption
| Constructor Detail |
|---|
public JavascriptEvent(java.lang.Object source)
null.
source - The source of the event| Method 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 | ||||||||