Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cl::utfsm::samplingSystemUI::BeanGrouper Class Reference

Collaboration diagram for cl::utfsm::samplingSystemUI::BeanGrouper:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BeanGrouper (SamplingSystemGUI ssg)
 BeanGrouper (SamplingSystemGUI ssg, String group)
void addSamp (DataPrinter w)
void updateLabel ()
boolean Ready2Samp ()
void setCheckName (String name)
String getCheckName ()
void addSamp (String component, String property)
boolean checkIfExists (String component, String property)

Private Member Functions

void initialize ()
JButton getCloseSamplingButton ()
JTextField getTimeSampTextField ()
JLabel getTimeSampLabel ()
JLabel getjLabel ()
void setjLabel (String text)
JTextField getFreqTextField ()
JLabel getFrequencyLabel ()
JLabel getJCheckBox ()
JButton getStopButton ()
JPanel getJPanel ()
void startSample ()
JButton getStartSampleButton ()
void stopSample ()

Private Attributes

JLabel jCheckBox = null
JLabel jLabel = null
JPanel jPanel = null
JButton jStopButton = null
JButton jCloseButton = null
JLabel frecuencyLabel = null
JTextField freqTextField = null
JLabel timeSampLabel = null
JTextField timeSampTextField = null
ArrayList< DataPrintersamplers = null
boolean ready2samp = false
JButton startSampleButton = null
FileHelper toFile
boolean isStopped = true
SamplingSystemGUI ssg = null

Static Private Attributes

final long serialVersionUID = 1L

Detailed Description

Class that works as a displayable container of sampling items. It has an internal state to check if it's selected to be sampled (a checkbox) and N samples, wich will start parallel to one another once the "Start Sample(s)" button from the GUI is pressed


Constructor & Destructor Documentation

cl::utfsm::samplingSystemUI::BeanGrouper::BeanGrouper SamplingSystemGUI  ssg  )  [inline]
 

This is the default constructor

cl::utfsm::samplingSystemUI::BeanGrouper::BeanGrouper SamplingSystemGUI  ssg,
String  group
[inline]
 

This is the overloaded constructor that allows to save the Sampling Group name


Member Function Documentation

void cl::utfsm::samplingSystemUI::BeanGrouper::addSamp String  component,
String  property
[inline]
 

void cl::utfsm::samplingSystemUI::BeanGrouper::addSamp DataPrinter  w  )  [inline]
 

This method adds a new sample (represented as a BeanListe) into this class. This class should be able to hold N samples inside itself.

Parameters:
w 

boolean cl::utfsm::samplingSystemUI::BeanGrouper::checkIfExists String  component,
String  property
[inline]
 

String cl::utfsm::samplingSystemUI::BeanGrouper::getCheckName  )  [inline]
 

Generic getter for the group name

Returns:
The name of group.

JButton cl::utfsm::samplingSystemUI::BeanGrouper::getCloseSamplingButton  )  [inline, private]
 

JTextField cl::utfsm::samplingSystemUI::BeanGrouper::getFreqTextField  )  [inline, private]
 

JLabel cl::utfsm::samplingSystemUI::BeanGrouper::getFrequencyLabel  )  [inline, private]
 

JLabel cl::utfsm::samplingSystemUI::BeanGrouper::getJCheckBox  )  [inline, private]
 

This method initializes jCheckBox

Returns:
javax.swing.JCheckBox

JLabel cl::utfsm::samplingSystemUI::BeanGrouper::getjLabel  )  [inline, private]
 

JPanel cl::utfsm::samplingSystemUI::BeanGrouper::getJPanel  )  [inline, private]
 

This method initializes jPanel

Returns:
javax.swing.JPanel

JButton cl::utfsm::samplingSystemUI::BeanGrouper::getStartSampleButton  )  [inline, private]
 

This method initializes startSampleButton

Returns:
javax.swing.JButton

JButton cl::utfsm::samplingSystemUI::BeanGrouper::getStopButton  )  [inline, private]
 

JLabel cl::utfsm::samplingSystemUI::BeanGrouper::getTimeSampLabel  )  [inline, private]
 

JTextField cl::utfsm::samplingSystemUI::BeanGrouper::getTimeSampTextField  )  [inline, private]
 

void cl::utfsm::samplingSystemUI::BeanGrouper::initialize  )  [inline, private]
 

This method initializes this

Returns:
void

boolean cl::utfsm::samplingSystemUI::BeanGrouper::Ready2Samp  )  [inline]
 

Getter for a boolean status check.

Returns:
True if the Group is selected for sampling, false in the other case

void cl::utfsm::samplingSystemUI::BeanGrouper::setCheckName String  name  )  [inline]
 

Generic setter for the Group name

Parameters:
name Name of the group

void cl::utfsm::samplingSystemUI::BeanGrouper::setjLabel String  text  )  [inline, private]
 

void cl::utfsm::samplingSystemUI::BeanGrouper::startSample  )  [inline, private]
 

Method to begin the sampling of all the samples contained in the class.

void cl::utfsm::samplingSystemUI::BeanGrouper::stopSample  )  [inline, private]
 

void cl::utfsm::samplingSystemUI::BeanGrouper::updateLabel  )  [inline]
 


Member Data Documentation

JLabel cl::utfsm::samplingSystemUI::BeanGrouper::frecuencyLabel = null [private]
 

JTextField cl::utfsm::samplingSystemUI::BeanGrouper::freqTextField = null [private]
 

boolean cl::utfsm::samplingSystemUI::BeanGrouper::isStopped = true [private]
 

JLabel cl::utfsm::samplingSystemUI::BeanGrouper::jCheckBox = null [private]
 

JButton cl::utfsm::samplingSystemUI::BeanGrouper::jCloseButton = null [private]
 

JLabel cl::utfsm::samplingSystemUI::BeanGrouper::jLabel = null [private]
 

JPanel cl::utfsm::samplingSystemUI::BeanGrouper::jPanel = null [private]
 

JButton cl::utfsm::samplingSystemUI::BeanGrouper::jStopButton = null [private]
 

boolean cl::utfsm::samplingSystemUI::BeanGrouper::ready2samp = false [private]
 

ArrayList<DataPrinter> cl::utfsm::samplingSystemUI::BeanGrouper::samplers = null [private]
 

final long cl::utfsm::samplingSystemUI::BeanGrouper::serialVersionUID = 1L [static, private]
 

SamplingSystemGUI cl::utfsm::samplingSystemUI::BeanGrouper::ssg = null [private]
 

JButton cl::utfsm::samplingSystemUI::BeanGrouper::startSampleButton = null [private]
 

JLabel cl::utfsm::samplingSystemUI::BeanGrouper::timeSampLabel = null [private]
 

JTextField cl::utfsm::samplingSystemUI::BeanGrouper::timeSampTextField = null [private]
 

FileHelper cl::utfsm::samplingSystemUI::BeanGrouper::toFile [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:09:59 2009 for ACS Java API by doxygen 1.3.8