public class PriorEventView extends ViewSupport implements ViewDataVisitable
EMPTY_VIEW_ARRAY
Constructor and Description |
---|
PriorEventView(ViewUpdatedCollection buffer)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
ViewUpdatedCollection |
getBuffer()
Returns the underlying buffer used for access to prior events.
|
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 |
setParent(Viewable parent)
Called when the View is added to a Viewable object.
|
void |
update(EventBean[] newData,
EventBean[] oldData)
Notify that data has been added or removed from the Viewable parent.
|
void |
visitView(ViewDataVisitor viewDataVisitor) |
addView, addView, dumpChildViews, dumpUpdateParams, dumpUpdateParams, findDescendent, findViewIndex, getParent, getViews, hasViews, removeAllViews, removeView, removeView, updateChildren
public PriorEventView(ViewUpdatedCollection buffer)
buffer
- is handling the actual storage of events for use in the 'prior' expressionpublic void update(EventBean[] newData, EventBean[] oldData)
View
public void setParent(Viewable parent)
View
setParent
in interface View
setParent
in class ViewSupport
parent
- is the parent that this view is a child ofpublic ViewUpdatedCollection getBuffer()
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 visitView(ViewDataVisitor viewDataVisitor)
visitView
in interface ViewDataVisitable