org.universAAL.lddi.lib.ieeex73std.gui
Class GUI

Package class diagram package GUI
java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by org.universAAL.lddi.lib.ieeex73std.gui.GUI
All Implemented Interfaces:
ActionListener, WindowFocusListener, WindowListener, WindowStateListener, EventListener

public class GUI
extends WindowAdapter
implements ActionListener


Constructor Summary
GUI()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void endGUI()
          Bundle stop
 JButton initButton(String name)
          Create button component
 JFrame initFrame(String name, int width, int height)
          Create frames
 void initGUI()
          Frame configuration
 JLabel initImage(String path)
          Create image viewer
 JLabel initLabel(String name, int fontSize)
          Create static text component
 JTextArea initTextArea(int size, int lines, int cols)
          Create text field component
 JTextField initTextField(int size)
          Create text field component
 void setDeviceName(String type, String name)
           
 void setFSMLabelInfo(String status)
           
 void setMeasurementLabel(String measure)
           
 void setPicture(String path)
           
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUI

public GUI()
Method Detail

initGUI

public void initGUI()
Frame configuration


initFrame

public JFrame initFrame(String name,
                        int width,
                        int height)
Create frames


initButton

public JButton initButton(String name)
Create button component


initLabel

public JLabel initLabel(String name,
                        int fontSize)
Create static text component


initImage

public JLabel initImage(String path)
Create image viewer


initTextField

public JTextField initTextField(int size)
Create text field component


initTextArea

public JTextArea initTextArea(int size,
                              int lines,
                              int cols)
Create text field component


setDeviceName

public void setDeviceName(String type,
                          String name)

setFSMLabelInfo

public void setFSMLabelInfo(String status)

setMeasurementLabel

public void setMeasurementLabel(String measure)

setPicture

public void setPicture(String path)

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

endGUI

public void endGUI()
Bundle stop



Copyright © 2014 universAAL Consortium. All Rights Reserved.