|
NextApp Echo App Container 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echoservlet.ui.RolloverScript
A utility class that wraps JavaScript code required to create mouse rollover effects in HTML pages on the client without server interaction.
Nested Class Summary | |
static class |
RolloverScript.MultipleRolloverScriptElement
A data object used to describe a rollover action when multiple actions are required for a rollover effect. |
Field Summary | |
static Service |
SERVICE_ROLLOVER_SCRIPT
A service containing JavaScript code used to create rollover effects. |
Method Summary | |
static java.lang.String |
getScriptMultiRollover(Connection conn,
RolloverScript.MultipleRolloverScriptElement[] elements)
Returns the necessary script to produce a button rollover effect where multiple elements will be modified. |
static java.lang.String |
getScriptRollover(Connection conn,
java.lang.String id,
java.lang.String imageUri,
java.lang.String styleName)
Returns the necessary script to produce a button rollover effect. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Service SERVICE_ROLLOVER_SCRIPT
Method Detail |
public static java.lang.String getScriptRollover(Connection conn, java.lang.String id, java.lang.String imageUri, java.lang.String styleName)
conn
- The connection whose response the generated script will be
written to.id
- The Id of the button that will be given the rollover
effect.imageUri
- The URI of the replacement image.styleName
- The URI of the replacement style.
public static java.lang.String getScriptMultiRollover(Connection conn, RolloverScript.MultipleRolloverScriptElement[] elements)
conn
- The connection whose response the generated script will be
written to.elements
- An array of MultipleRolloverScriptElement
s
describing the rollover action.
|
NextApp Echo App Container 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |