public abstract class BaseBivariateStatisticsView extends ViewSupport implements DerivedValueView
EMPTY_VIEW_ARRAY
Constructor and Description |
---|
BaseBivariateStatisticsView(AgentInstanceContext agentInstanceContext,
ExprNode expressionX,
ExprNode expressionY,
EventType eventType,
StatViewAdditionalProps additionalProps)
Constructor requires the name of the two fields to use in the parent view to compute the statistics.
|
Modifier and Type | Method and Description |
---|---|
StatViewAdditionalProps |
getAdditionalProps() |
ExprNode |
getExpressionX()
Returns the expression supplying X data points.
|
ExprNode |
getExpressionY()
Returns the expression supplying Y data points.
|
java.lang.Object[] |
getLastValuesEventNew() |
BaseStatisticsBean |
getStatisticsBean() |
java.util.Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection.
|
void |
setLastValuesEventNew(java.lang.Object[] lastValuesEventNew) |
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addView, getViews, hasViews, removeAllViews, removeView
getEventType
public BaseBivariateStatisticsView(AgentInstanceContext agentInstanceContext, ExprNode expressionX, ExprNode expressionY, EventType eventType, StatViewAdditionalProps additionalProps)
expressionX
- is the expression to get the X values fromexpressionY
- is the expression to get the Y values fromagentInstanceContext
- contains required view serviceseventType
- type of eventadditionalProps
- additional propspublic void update(EventBean[] newData, EventBean[] oldData)
View
public final java.util.Iterator<EventBean> iterator()
EventCollection
iterator
in interface EventCollection
iterator
in interface java.lang.Iterable<EventBean>
public final ExprNode getExpressionX()
public final ExprNode getExpressionY()
public BaseStatisticsBean getStatisticsBean()
public java.lang.Object[] getLastValuesEventNew()
public void setLastValuesEventNew(java.lang.Object[] lastValuesEventNew)
public StatViewAdditionalProps getAdditionalProps()