public class NamedWindowConsumerView extends ViewSupport implements StopCallback
The view simply dispatches directly to child views, and keeps the last new event for iteration.
EMPTY_VIEW_ARRAY
Constructor and Description |
---|
NamedWindowConsumerView(ExprEvaluator[] filterList,
PropertyEvaluator optPropertyEvaluator,
EventType eventType,
NamedWindowConsumerCallback consumerCallback,
ExprEvaluatorContext exprEvaluatorContext,
boolean audit)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains.
|
java.util.Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection.
|
void |
stop()
Stops the underlying resources.
|
void |
update(EventBean[] newData,
EventBean[] oldData)
Notify that data has been added or removed from the Viewable parent.
|
addView, addView, dumpChildViews, dumpUpdateParams, dumpUpdateParams, findDescendent, findViewIndex, getParent, getViews, hasViews, removeAllViews, removeView, removeView, setParent, updateChildren
public NamedWindowConsumerView(ExprEvaluator[] filterList, PropertyEvaluator optPropertyEvaluator, EventType eventType, NamedWindowConsumerCallback consumerCallback, ExprEvaluatorContext exprEvaluatorContext, boolean audit)
eventType
- the event type of the named windowfilterList
- is a list of filter expressionsexprEvaluatorContext
- context for expression evalauationpublic void update(EventBean[] newData, EventBean[] oldData)
View
public EventType getEventType()
EventCollection
getEventType
in interface EventCollection
public java.util.Iterator<EventBean> iterator()
EventCollection
iterator
in interface EventCollection
iterator
in interface java.lang.Iterable<EventBean>
public void stop()
StopCallback
stop
in interface StopCallback