| java.lang.Object org.wings.script.JavaScriptListener
All known Subclasses: org.wings.script.JavaScriptDOMListener, org.wings.plaf.css.DWRScriptListener,
JS_FORM_SUBMIT_SCRIPT | final public static String JS_FORM_SUBMIT_SCRIPT(Code) | | Use this java script implementation to submit forms on button click
|
JavaScriptListener | public JavaScriptListener(String event, String code)(Code) | | Parameters: event - one of 'onclick', 'onmouseover', .. Parameters: code - the code that is written as a value of the event attribute |
JavaScriptListener | public JavaScriptListener(String event, String code, String script)(Code) | | Parameters: event - one of 'onclick', 'onmouseover', .. Parameters: code - the code that is written as a value of the event attribute Parameters: script - larger code block (java script functions), that is writtento a combined script file, that is linked in the header |
JavaScriptListener | public JavaScriptListener(String event, String code, SComponent[] components)(Code) | | The code is parsed and all occurrences of '{0..components.length}' are substituted
with that component's id. You can use this to address elements by id.
This mechanism is highly dependant on the code, the plaf generates for a component.
Parameters: event - one of 'onclick', 'onmouseover', .. Parameters: code - the code that is written as a value of the event attribute Parameters: components - the components whose ids are substituted into the code |
JavaScriptListener | public JavaScriptListener(String event, String code, String script, SComponent[] components)(Code) | | The code is parsed and all occurrences of '{0..components.length}' are substituted
with that component's id. You can use this to address elements by id.
This mechanism is highly dependant on the code, the plaf generates for a component.
Parameters: event - one of 'onclick', 'onmouseover', .. Parameters: code - the code that is written as a value of the event attribute Parameters: script - larger code block (java script functions), that is writtento a separate script file, that is linked in the header Parameters: components - the components whose ids are substituted into the code |
getPriority | public int getPriority()(Code) | | |
hashCode | public int hashCode()(Code) | | |
|
|