|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.objetdirect.tatami.client.charting.effects.AbstractJSEffect
com.objetdirect.tatami.client.charting.effects.PlotMouseListener
com.sage.swt.client.widget.event.AbstractSwtPlotEvent
public abstract class AbstractSwtPlotEvent
Class for storing and executing actions that are linked to plot events.
| Constructor Summary | |
|---|---|
AbstractSwtPlotEvent()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addAction(SwtAction action)
Adds an action to the actions that will be executed when this event is triggered. |
protected void |
executeActions(java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
Executes each of the actions that have been linked to this event. |
protected java.util.List<SwtAction> |
getActions()
Returns a list of the actions that are linked to this event. |
static java.util.Collection<FunctionParameter> |
getDefaultFunctionParameters()
Gets a default FunctionParameter collection where each item
describes a parameter that will be passed to the action that is called
when this event is fired. |
protected java.util.LinkedHashMap<java.lang.String,java.lang.Object> |
getDefaultParams(java.lang.Object eventSource)
Returns the values for the default parameters for all widget events: formID and widgetID |
java.lang.String |
getDesignerTooltip()
Gets a string that describes this event. |
EventInfo |
getEventInfo()
Gets the action and additional parameter information about the event. |
abstract java.util.Collection<FunctionParameter> |
getFunctionParameters()
Gets a FunctionParameter collection where each item describes a
parameter that will be passed to the action that is called when this event
is fired. |
abstract FunctionReturn |
getFunctionReturn()
Gets information about the return value of the action that is called when this event is fired. |
void |
removeAction(SwtAction action)
Removes an action from the list of actions that will be executed when this event is triggered. |
| Methods inherited from class com.objetdirect.tatami.client.charting.effects.PlotMouseListener |
|---|
destroyEffect, initEffect, processEvent |
| Methods inherited from class com.objetdirect.tatami.client.charting.effects.AbstractJSEffect |
|---|
getDuration, jsDestroy, setDuration, setOption |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sage.swt.client.widget.event.SwtEvent |
|---|
getEditor |
| Constructor Detail |
|---|
public AbstractSwtPlotEvent()
| Method Detail |
|---|
public void addAction(SwtAction action)
addAction in interface SwtEventaction - The SwtAction action that will be added.public void removeAction(SwtAction action)
removeAction in interface SwtEventaction - The SwtAction action that will be removed.public EventInfo getEventInfo()
getEventInfo in interface SwtEventpublic java.lang.String getDesignerTooltip()
getDesignerTooltip in interface SwtEventpublic static java.util.Collection<FunctionParameter> getDefaultFunctionParameters()
FunctionParameter collection where each item
describes a parameter that will be passed to the action that is called
when this event is fired. Those parameters are passed in the order they
are listed. Most subclasses will start their function parameter
collections with the contents of this collection (so that these parameters
are passed first).
FunctionParameter collection where
each item describes a parameter that will be passed to the action
function that is called when this event is fired.public abstract java.util.Collection<FunctionParameter> getFunctionParameters()
FunctionParameter collection where each item describes a
parameter that will be passed to the action that is called when this event
is fired. Those parameters are passed in the order they are listed.
FunctionParameter collection where each item describes a
parameter that will be passed to the action that is called when
this event is fired. Implementors should make sure that this
collection is unmodifiable.public abstract FunctionReturn getFunctionReturn()
protected java.util.LinkedHashMap<java.lang.String,java.lang.Object> getDefaultParams(java.lang.Object eventSource)
eventSource - The source of the event (usually a widget).
protected void executeActions(java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
params - The event specific parameters that will be passed to each
action.protected java.util.List<SwtAction> getActions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||