Modifier and Type | Field and Description |
---|---|
private Accumulator |
aggr
The statistics aggregator.
|
Constructor and Description |
---|
AggregatorElement(Accessor data,
GenericWidget widget,
Accumulator aggr)
Create an instance.
|
AggregatorElement(Accessor data,
java.lang.String fmt,
GenericWidget widget,
Accumulator aggr)
Create an instance.
|
AggregatorElement(BaseDataType data,
GenericWidget widget,
Accumulator aggr)
Create an instance.
|
AggregatorElement(BaseDataType data,
java.lang.String fmt,
GenericWidget widget,
Accumulator aggr)
Create an instance.
|
AggregatorElement(boolean data,
GenericWidget widget,
Accumulator aggr)
Create an instance.
|
AggregatorElement(boolean data,
java.lang.String fmt,
GenericWidget widget,
Accumulator aggr)
Create an instance.
|
AggregatorElement(double data,
GenericWidget widget,
Accumulator aggr)
Create an instance.
|
AggregatorElement(double data,
java.lang.String fmt,
GenericWidget widget,
Accumulator aggr)
Create an instance.
|
AggregatorElement(int data,
GenericWidget widget,
Accumulator aggr)
Create an instance.
|
AggregatorElement(int data,
java.lang.String fmt,
GenericWidget widget,
Accumulator aggr)
Create an instance.
|
AggregatorElement(java.lang.String data,
GenericWidget widget,
Accumulator aggr)
Create an instance.
|
AggregatorElement(java.lang.String data,
java.lang.String fmt,
GenericWidget widget,
Accumulator aggr)
Create an instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Accumulator |
getAccumulator()
Accesses the statistics aggregator associated with this frame element.
|
int |
hashCode() |
boolean |
statsColumn()
Determines if the element should cause statistics aggregation to be
activated during display operations.
|
get, getDataAccessor, getFormat, getFormattedValue, getWidget, hasFormat, set
assignOnly, bypass, widgetOnly, wordWrap
private Accumulator aggr
public AggregatorElement(Accessor data, GenericWidget widget, Accumulator aggr)
data
- The data to display/edit in the given widget. Must NOT be
null
.widget
- The widget instance representing the exact frame field and
state of that field. Must NOT be null
.aggr
- The statistics aggregator for this widget.public AggregatorElement(BaseDataType data, GenericWidget widget, Accumulator aggr)
data
- The data to display/edit in the given widget. Must NOT be
null
.widget
- The widget instance representing the exact frame field and
state of that field. Must NOT be null
.aggr
- The statistics aggregator for this widget.public AggregatorElement(java.lang.String data, GenericWidget widget, Accumulator aggr)
WARNING: this form of the constructor allows primative (non-wrapper) types to be copied to the screen buffer BUT any assignment back to such widgets will silently fail since there is no backing wrapper instance in the calling code to which to assign.
data
- The data to display/edit in the given widget. Must NOT be
null
.widget
- The widget instance representing the exact frame field and
state of that field. Must NOT be null
.aggr
- The statistics aggregator for this widget.public AggregatorElement(int data, GenericWidget widget, Accumulator aggr)
WARNING: this form of the constructor allows primative (non-wrapper) types to be copied to the screen buffer BUT any assignment back to such widgets will silently fail since there is no backing wrapper instance in the calling code to which to assign.
data
- The data to display/edit in the given widget.widget
- The widget instance representing the exact frame field and
state of that field. Must NOT be null
.aggr
- The statistics aggregator for this widget.public AggregatorElement(double data, GenericWidget widget, Accumulator aggr)
WARNING: this form of the constructor allows primative (non-wrapper) types to be copied to the screen buffer BUT any assignment back to such widgets will silently fail since there is no backing wrapper instance in the calling code to which to assign.
data
- The data to display/edit in the given widget.widget
- The widget instance representing the exact frame field and
state of that field. Must NOT be null
.aggr
- The statistics aggregator for this widget.public AggregatorElement(boolean data, GenericWidget widget, Accumulator aggr)
WARNING: this form of the constructor allows primative (non-wrapper) types to be copied to the screen buffer BUT any assignment back to such widgets will silently fail since there is no backing wrapper instance in the calling code to which to assign.
data
- The data to display/edit in the given widget.widget
- The widget instance representing the exact frame field and
state of that field. Must NOT be null
.aggr
- The statistics aggregator for this widget.public AggregatorElement(Accessor data, java.lang.String fmt, GenericWidget widget, Accumulator aggr)
data
- The data to display/edit in the given widget. Must NOT be
null
.fmt
- The format string to associate with the data value. May be
null
.widget
- The widget instance representing the exact frame field and
state of that field. Must NOT be null
.aggr
- The statistics aggregator for this widget.public AggregatorElement(BaseDataType data, java.lang.String fmt, GenericWidget widget, Accumulator aggr)
data
- The data to display/edit in the given widget. Must NOT be
null
.fmt
- The format string to associate with the data value. May be
null
.widget
- The widget instance representing the exact frame field and
state of that field. Must NOT be null
.aggr
- The statistics aggregator for this widget.public AggregatorElement(java.lang.String data, java.lang.String fmt, GenericWidget widget, Accumulator aggr)
WARNING: this form of the constructor allows primative (non-wrapper) types to be copied to the screen buffer BUT any assignment back to such widgets will silently fail since there is no backing wrapper instance in the calling code to which to assign.
data
- The data to display/edit in the given widget. Must NOT be
null
.fmt
- The format string to associate with the data value. May be
null
.widget
- The widget instance representing the exact frame field and
state of that field. Must NOT be null
.aggr
- The statistics aggregator for this widget.public AggregatorElement(int data, java.lang.String fmt, GenericWidget widget, Accumulator aggr)
WARNING: this form of the constructor allows primative (non-wrapper) types to be copied to the screen buffer BUT any assignment back to such widgets will silently fail since there is no backing wrapper instance in the calling code to which to assign.
data
- The data to display/edit in the given widget.fmt
- The format string to associate with the data value. May be
null
.widget
- The widget instance representing the exact frame field and
state of that field. Must NOT be null
.aggr
- The statistics aggregator for this widget.public AggregatorElement(double data, java.lang.String fmt, GenericWidget widget, Accumulator aggr)
WARNING: this form of the constructor allows primative (non-wrapper) types to be copied to the screen buffer BUT any assignment back to such widgets will silently fail since there is no backing wrapper instance in the calling code to which to assign.
data
- The data to display/edit in the given widget.fmt
- The format string to associate with the data value. May be
null
.widget
- The widget instance representing the exact frame field and
state of that field. Must NOT be null
.aggr
- The statistics aggregator for this widget.public AggregatorElement(boolean data, java.lang.String fmt, GenericWidget widget, Accumulator aggr)
WARNING: this form of the constructor allows primative (non-wrapper) types to be copied to the screen buffer BUT any assignment back to such widgets will silently fail since there is no backing wrapper instance in the calling code to which to assign.
data
- The data to display/edit in the given widget.fmt
- The format string to associate with the data value. May be
null
.widget
- The widget instance representing the exact frame field and
state of that field. Must NOT be null
.aggr
- The statistics aggregator for this widget.public boolean statsColumn()
statsColumn
in class FrameElement
true
;public Accumulator getAccumulator()
getAccumulator
in class FrameElement
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()