public class WidgetPrinter extends DataPrinter
component, frequency, property, reportRate, samp, widgetinfo| Constructor and Description |
|---|
WidgetPrinter(SamplingSystemGUI ssg)
Construct the new objects and assigns a new BeanLister as the widget for the superclass.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<DataItem> |
getSamples() |
IGraphicalUpdater |
getWidget() |
void |
postProcessing()
Do nothing
|
void |
setComponent(java.lang.String component)
This method is used to assign the component to be sampled to the WidgetPrinter.
|
void |
setProperty(java.lang.String property)
This method is used to assign the property to be sampled to the WidgetPrinter.
|
protected void |
updateValue(DataItem item)
Updates the values
|
finalize, getComponent, getFrequency, getProperty, getReportRate, getSamplingWidget, getSerializableProperty, isComponentAvailable, isStopped, pauseSampling, setComponentAvailable, setFrequency, setReportRate, startSample, stopSamplingcomponentExists, deleteSample, hashPrint, propertyExists, spinUp, startSample, stopSample, tearDownpublic WidgetPrinter(SamplingSystemGUI ssg) throws java.lang.NullPointerException
ssg - The Sampling System GUI reference.java.lang.NullPointerException - Used as an assertion. This should never happen.public void setComponent(java.lang.String component)
setComponent in class DataPrintercomponent - Name of the Component that contains the Property to be sampled.DataPrinter.setComponent(java.lang.String)public void setProperty(java.lang.String property)
setProperty in class DataPrinterproperty - Name of the Property to be sampled.DataPrinter.setProperty(java.lang.String)protected void updateValue(DataItem item)
updateValue in class DataPrinterDataPrinter.updateValue(cl.utfsm.samplingSystemUI.core.DataItem)public final void postProcessing()
postProcessing in class DataPrinterSamplerpublic IGraphicalUpdater getWidget()
getWidget in class DataPrinterpublic java.util.ArrayList<DataItem> getSamples()
getSamples in class DataPrinter