|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.event.Event
Base class for Events
Copyright 2004 SAP AG
| Constructor Summary | |
Event()
create an Event for a component |
|
Event(String name)
create an Event for a component |
|
| Method Summary | |
String |
getAction()
gets the action associated with the event, i.e. |
String |
getComponentName()
get the name/id of the component which caused this event. |
EventModifierData |
getModifierData()
gets additional data about the event modification. |
String[] |
getParams()
gets parameters of the event the default implementation returns null, needs to be overriden by events that require parameters (e.g. |
String[] |
getParams(Component c)
gets parameters of the event the default implementation returns null, needs to be overriden by events that require parameters (e.g. |
void |
setAction(String action)
set the action string that was set for the event |
protected abstract void |
setParams(String[] params)
set the params from the HTML page. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Event()
public Event(String name)
name - the Id of the component| Method Detail |
public String getComponentName()
public String getAction()
public void setAction(String action)
action - the action String set by a setOn* methodpublic EventModifierData getModifierData()
public String toString()
public String[] getParams()
public String[] getParams(Component c)
protected abstract void setParams(String[] params)
public static String renderEventCall(Component component);
so that the rendering of the JavaScript call is in the same scope
params - the event parameters
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||