

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 [inline] |
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::ssg, and cl::utfsm::samplingSystemUI::DataPrinter::widget.
| ArrayList<DataItem> cl::utfsm::samplingSystemUI::WidgetPrinter::getSamples | ( | ) | [inline, virtual] |
Implements cl::utfsm::samplingSystemUI::DataPrinter.
| IGraphicalUpdater cl::utfsm::samplingSystemUI::WidgetPrinter::getWidget | ( | ) | [inline] |
Reimplemented from cl::utfsm::samplingSystemUI::DataPrinter.
References cl::utfsm::samplingSystemUI::DataPrinter::widget.
| final void cl::utfsm::samplingSystemUI::WidgetPrinter::postProcessing | ( | ) | [inline, virtual] |
Do nothing
Implements cl::utfsm::samplingSystemUI::DataPrinter.
| void cl::utfsm::samplingSystemUI::WidgetPrinter::setComponent | ( | String | component | ) | [inline] |
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 | ) | [inline] |
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 | ) | [inline, protected, virtual] |
Updates the values
Implements cl::utfsm::samplingSystemUI::DataPrinter.
References cl::utfsm::samplingSystemUI::core::DataItem::getTime(), cl::utfsm::samplingSystemUI::core::DataItem::getValue(), cl::utfsm::samplingSystemUI::IGraphicalUpdater::updateValues(), and cl::utfsm::samplingSystemUI::DataPrinter::widget.
1.6.2