Public Member Functions | Protected Member Functions

cl.utfsm.samplingSystemUI.WidgetPrinter Class Reference

Inheritance diagram for cl.utfsm.samplingSystemUI.WidgetPrinter:
cl.utfsm.samplingSystemUI.DataPrinter cl.utfsm.samplingSystemUI.core.SamplingManagerUITool

List of all members.

Public Member Functions

 WidgetPrinter (SamplingSystemGUI ssg) throws NullPointerException
void setComponent (String component)
void setProperty (String property)
final void postProcessing ()
IGraphicalUpdater getWidget ()
ArrayList< DataItemgetSamples ()

Protected Member Functions

synchronized void updateValue (DataItem item)

Constructor & Destructor Documentation

cl.utfsm.samplingSystemUI.WidgetPrinter.WidgetPrinter ( SamplingSystemGUI  ssg  )  throws NullPointerException

Construct the new objects and assigns a new BeanLister as the widget for the superclass.

Parameters:
ssg The Sampling System GUI reference.
Exceptions:
NullPointerException Used as an assertion. This should never happen.

References cl.utfsm.samplingSystemUI.DataPrinter.widget.


Member Function Documentation

ArrayList<DataItem> cl.utfsm.samplingSystemUI.WidgetPrinter.getSamples (  )  [virtual]
IGraphicalUpdater cl.utfsm.samplingSystemUI.WidgetPrinter.getWidget (  ) 
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.

Parameters:
component Name of the Component that contains the Property to be sampled.
See also:
cl.utfsm.samplingSystemUI.DataPrinter.setComponent(java.lang.String)

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.

Parameters:
property Name of the Property to be sampled.
See also:
cl.utfsm.samplingSystemUI.DataPrinter.setProperty(java.lang.String)

Reimplemented from cl.utfsm.samplingSystemUI.DataPrinter.

References cl.utfsm.samplingSystemUI.DataPrinter.component, cl.utfsm.samplingSystemUI.IGraphicalUpdater.setValues(), and cl.utfsm.samplingSystemUI.DataPrinter.widget.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties