com.microstrategy.web.beans.WebEvents |
![]() |
The WebEvents
interface represents an ordered collection of
WebEvent
. It is primarily used in case of a multiple-events event.
A multiple-events event is such an event that the event itself consists of
many other events, each of which might have its own event source, and a
designated WebComponent
to handle it. In Web applications, a
multiple-events event can be represented in the format of string, and passed
to the web server through either a HTML URL link or a HTML form data.
The string representation of a multiple-events event needs to meet the following requirements:
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
addEvent(WebEvent event)
Adds an event to the current collection.
| ||||||||||
abstract void |
clear()
Clears the current collection of web events.
| ||||||||||
abstract WebEvent |
get(int index)
Returns the event at the specified index.
| ||||||||||
abstract List |
getEvents()
Returns a list of events held by the collection.
| ||||||||||
abstract WebEvent |
remove(int index)
Removes the event at the specified index from the collection.
|
Adds an event to the current collection.
event | the event to add. |
---|
Clears the current collection of web events.
Returns the event at the specified index.
index | the position of an event. |
---|
Returns a list of events held by the collection.
Removes the event at the specified index from the collection.
index | the position of the event to remove. |
---|