java.lang.Object | |||
↳ | com.microstrategy.web.beans.GenericEventHandler | ||
↳ | com.microstrategy.web.beans.SysEventHandler | ||
↳ | com.microstrategy.web.beans.DerivedElementEventHandler |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | NONE |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected ExpressionBean | _eb | ||||||||||
protected WebEvent | _event | ||||||||||
protected RequestKeys | _keys |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DerivedElementEventHandler() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Class |
getSupportedWebComponentType()
Returns the
WebComponent class by default. | ||||||||||
boolean |
processRequest(RequestKeys keys)
Logic to process the event.
| ||||||||||
void |
setWebComponent(WebComponent component)
Sets a
WebComponent instance on this event handler. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | getArgumentValue(int argID) | ||||||||||
String | getArgumentValue(int argID, int index) | ||||||||||
int | getIntArgumentValue(int argID) | ||||||||||
boolean | handleAcceptAttrElemsQual() | ||||||||||
boolean | handleAcceptAttrFormQual() | ||||||||||
boolean | handleAcceptCalculationChanges() | ||||||||||
boolean | handleAcceptListChanges() | ||||||||||
boolean | handleAddPromptShortcut() | ||||||||||
boolean | handleClearAll() | ||||||||||
boolean | handleCreateSubexpression() | ||||||||||
boolean | handleDeleteSubexpression() | ||||||||||
boolean | handleEvent(int id) | ||||||||||
boolean | handleIncrFetchFirst() | ||||||||||
boolean | handleIncrFetchGotoPage() | ||||||||||
boolean | handleIncrFetchNext() | ||||||||||
boolean | handleIncrFetchPrev() | ||||||||||
boolean | handleSetAvailablesSourceType() | ||||||||||
boolean | handleShiftDown() | ||||||||||
boolean | handleShiftLeft() | ||||||||||
boolean | handleShiftRight() | ||||||||||
boolean | handleShiftUp() | ||||||||||
boolean | handleStartSearch() | ||||||||||
boolean | handleToggleOperator() | ||||||||||
boolean | handleToggleShowAll() | ||||||||||
void |
initEvents()
This method is called to initialize the list of events available with this event-handler. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns the WebComponent
class by default. Subclasses should
override this to return their respective WebComponent
or WebBean
int.
Class
of the WebComponent
this event
handler is associated with.
Logic to process the event. Specific event handler implementation extending this class will need to override the default behavior.
keys | the RequestKeys object containing event ID, sources, and any other information. |
---|
WebException |
---|
Sets a WebComponent
instance on this event handler.
A WebComponent must maintain a one-one relationship with
an event handler instance. After this method call, the
WebComponent previously associated with this event handler
should have a null instance of WebEventHandler
, and the
event handler instance previously associate the specified
WebComponent
should have a null WebComponent
.
This method calls the method setWebEventHandler(WebEventHandler)
.
Therefore, any WebComponent
implementation should pay
attention to avoid cyclic reference to each other between an event
handler and a web component.
component | a new WebComponent object. |
---|
This method is called to initialize the list of events available with this event-handler.
Since this class uses lazy initialization for its event list; this method will be always called
by the getWebEvent(RequestKeys)
and the getWebEvents()
methods to ensure it's available.
If the list has been initialized, it does nothing, if not it calls initEvents(int)
passing this handler's type
initEvents(int)
with all the types they support.