Public Member Functions | |
| WidgetPrinter (SamplingSystemGUI ssg) throws NullPointerException | |
| void | setComponent (String component) |
| void | setProperty (String property) |
| final void | postProcessing () |
| IGraphicalUpdater | getWidget () |
| ArrayList< DataItem > | getSamples () |
Protected Member Functions | |
| synchronized void | updateValue (DataItem item) |
| cl.utfsm.samplingSystemUI.WidgetPrinter.WidgetPrinter | ( | SamplingSystemGUI | ssg | ) | throws NullPointerException |
Construct the new objects and assigns a new BeanLister as the widget for the superclass.
| ssg | The Sampling System GUI reference. |
| NullPointerException | Used as an assertion. This should never happen. |
References cl.utfsm.samplingSystemUI.DataPrinter.widget.
| ArrayList<DataItem> cl.utfsm.samplingSystemUI.WidgetPrinter.getSamples | ( | ) | [virtual] |
Implements cl.utfsm.samplingSystemUI.DataPrinter.
| IGraphicalUpdater cl.utfsm.samplingSystemUI.WidgetPrinter.getWidget | ( | ) |
Reimplemented from cl.utfsm.samplingSystemUI.DataPrinter.
References cl.utfsm.samplingSystemUI.DataPrinter.widget.
| final void cl.utfsm.samplingSystemUI.WidgetPrinter.postProcessing | ( | ) | [virtual] |
Do nothing
Implements cl.utfsm.samplingSystemUI.DataPrinter.
| void cl.utfsm.samplingSystemUI.WidgetPrinter.setComponent | ( | String | component | ) |
This method is used to assign the component to be sampled to the WidgetPrinter.
It also calls his super-method, and pass a message to the widget to notify the need
for update of the property and component change.
| component | Name of the Component that contains the Property to be sampled. |
Reimplemented from cl.utfsm.samplingSystemUI.DataPrinter.
References cl.utfsm.samplingSystemUI.DataPrinter.property, cl.utfsm.samplingSystemUI.IGraphicalUpdater.setValues(), and cl.utfsm.samplingSystemUI.DataPrinter.widget.
| void cl.utfsm.samplingSystemUI.WidgetPrinter.setProperty | ( | String | property | ) |
This method is used to assign the property to be sampled to the WidgetPrinter.
It also calls his super-method, and pass a message to the widget to notify the need
for update of the property and component change.
| property | Name of the Property to be sampled. |
Reimplemented from cl.utfsm.samplingSystemUI.DataPrinter.
References cl.utfsm.samplingSystemUI.DataPrinter.component, cl.utfsm.samplingSystemUI.IGraphicalUpdater.setValues(), and cl.utfsm.samplingSystemUI.DataPrinter.widget.
| synchronized void cl.utfsm.samplingSystemUI.WidgetPrinter.updateValue | ( | DataItem | item | ) | [protected, virtual] |
1.7.0