Public Member Functions | Public Attributes

cl.utfsm.samplingSystemUI.SamplingSystemGUI Class Reference

Inherits javax::swing::JFrame.

List of all members.

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

Detailed Description

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.

Author:
Jorge Avarias <javarias@inf.utfsm.cl>
Rodrigo Tobar <rtobar@inf.utfsm.cl>
Alejandro Baltra <abaltra@alumnos.inf.utfsm.cl>
Arturo Hoffstadt <ahoffsta@inf.utfsm.cl>
Cristián Maureria <cmaureir@inf.utfsm.cl>

Constructor & Destructor Documentation

cl.utfsm.samplingSystemUI.SamplingSystemGUI.SamplingSystemGUI (  ) 

This is the default constructor. It starts the initialization of the window.


Member Function Documentation

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

Parameters:
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 
)
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
void cl.utfsm.samplingSystemUI.SamplingSystemGUI.setStatus ( int  status  ) 
void cl.utfsm.samplingSystemUI.SamplingSystemGUI.specialReadStatusFile ( String  filename  )  throws ParserConfigurationException, SAXException, IOException

Member Data Documentation


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