Inherits javax::swing::JFrame.
Public Member Functions | |
SamplingSystemGUI () | |
boolean | isAlreadySampled (String comp_prop) |
void | addToSampled (String comp_prop) |
void | delFromSampled (String comp_prop) |
void | loadWindow (boolean check) throws ParserConfigurationException, SAXException, IOException |
void | fillWidgets (String[] components, LinkedList< List< String >> properties) |
void | specialReadStatusFile (String filename) throws ParserConfigurationException, SAXException, IOException |
synchronized void | deleteBeanGrouper (ArrayList< DataPrinter > samplers, String group) |
void | setStatus (int status) |
Public Attributes | |
String | MAN_NAME = "" |
boolean | correctManName = false |
Main Widget class, and starting point for the SSG Software. Controls the main flow of the software.
SamplingSystemGUI ask for a Sampling Manager, then tries to load a status file, and then presents a window with the Components and Properties available for sampling.
If there was a status file, SamplingSystemGUI will load it, and open the Sampling Groups as recorded.
cl.utfsm.samplingSystemUI.SamplingSystemGUI.SamplingSystemGUI | ( | ) |
This is the default constructor. It starts the initialization of the window.
void cl.utfsm.samplingSystemUI.SamplingSystemGUI.addToSampled | ( | String | comp_prop | ) |
Add the component:property to the property_sampled vector
References cl.utfsm.samplingSystemUI.SamplingSystemGUI.isAlreadySampled().
Referenced by cl.utfsm.samplingSystemUI.BeanGrouper.addSamp().
synchronized void cl.utfsm.samplingSystemUI.SamplingSystemGUI.deleteBeanGrouper | ( | ArrayList< DataPrinter > | samplers, | |
String | group | |||
) |
Removes from the local list of Component/Properties that are being sampled a given set of sampler samplers
for a given sampling group group
samplers | The given sampler list | |
group | The belonging sampling group for the given samplers |
Referenced by cl.utfsm.samplingSystemUI.BeanGrouper.windowClosing().
void cl.utfsm.samplingSystemUI.SamplingSystemGUI.delFromSampled | ( | String | comp_prop | ) |
removes the componente:property from the property_sampled vector
References cl.utfsm.samplingSystemUI.SamplingSystemGUI.isAlreadySampled().
void cl.utfsm.samplingSystemUI.SamplingSystemGUI.fillWidgets | ( | String[] | components, | |
LinkedList< List< String >> | properties | |||
) |
Referenced by cl.utfsm.samplingSystemUI.SampTool.main().
boolean cl.utfsm.samplingSystemUI.SamplingSystemGUI.isAlreadySampled | ( | String | comp_prop | ) |
Method to check if a component and a property was previously sampled. The argument comp_prop is equal to component:property
Referenced by cl.utfsm.samplingSystemUI.SamplingSystemGUI.addToSampled(), and cl.utfsm.samplingSystemUI.SamplingSystemGUI.delFromSampled().
void cl.utfsm.samplingSystemUI.SamplingSystemGUI.loadWindow | ( | boolean | check | ) | throws ParserConfigurationException, SAXException, IOException |
References cl.utfsm.samplingSystemUI.SamplingSystemGUI.MAN_NAME.
Referenced by cl.utfsm.samplingSystemUI.SampTool.main().
void cl.utfsm.samplingSystemUI.SamplingSystemGUI.setStatus | ( | int | status | ) |
References cl.utfsm.samplingSystemUI.StatusIcon.setStatus().
void cl.utfsm.samplingSystemUI.SamplingSystemGUI.specialReadStatusFile | ( | String | filename | ) | throws ParserConfigurationException, SAXException, IOException |
Referenced by cl.utfsm.samplingSystemUI.SampTool.main().
boolean cl.utfsm.samplingSystemUI.SamplingSystemGUI.correctManName = false |