Class SweetDevRia.Stack
Extends
RiaComponent, RiaComponent.
Defined in: EventStack.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<private> |
This is the Event stack component class
A simple stack.
|
Method Attributes | Method Name and Description |
---|---|
<private> |
addEvent(type, values)
Adds and event.
|
<private> |
Returns the events stacked into this object, without clearing them.
|
<private> |
Returns the events stacked into this object, and clear the list.
|
Class Detail
<private>
SweetDevRia.Stack()
This is the Event stack component class
A simple stack. It stores some events, defined by their types and flush return them on demand.
Method Detail
<private>
addEvent(type, values)
Adds and event.
- Parameters:
- {Object} type
- the key to define and recognize this event
- {Map} values
- the values associated and mandatories to process this event
<private>
getEvents()
Returns the events stacked into this object, without clearing them.
<private>
getEventsAndClear()
Returns the events stacked into this object, and clear the list.