public class WidgetElement extends FrameElement
Modifier and Type | Field and Description |
---|---|
private GenericWidget |
widget
The widget associated with this element.
|
Constructor and Description |
---|
WidgetElement(GenericWidget widget)
Create an instance.
|
Modifier and Type | Method and Description |
---|---|
BaseDataType |
get()
Unsupported since this class does not contain any data.
|
GenericWidget |
getWidget()
Accesses the widget associated with this frame element.
|
void |
set(BaseDataType val)
Unsupported since this class does not contain any data.
|
boolean |
widgetOnly()
Determines if the element represents a widget with no data (like a
button).
|
assignOnly, bypass, getAccumulator, getFormat, getFormattedValue, hasFormat, statsColumn, wordWrap
private GenericWidget widget
public WidgetElement(GenericWidget widget)
widget
- The widget instance representing the exact frame field and
state of that field. Must NOT be null
.public boolean widgetOnly()
widgetOnly
in class FrameElement
true
;public GenericWidget getWidget()
getWidget
in class FrameElement
public BaseDataType get()
public void set(BaseDataType val)
val
- Unsupported.