public class GUI extends WindowAdapter implements ActionListener
Constructor and Description |
---|
GUI() |
Modifier and Type | Method and Description |
---|---|
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) |
windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
public void initGUI()
public JTextField initTextField(int size)
public JTextArea initTextArea(int size, int lines, int cols)
public void setFSMLabelInfo(String status)
public void setMeasurementLabel(String measure)
public void setPicture(String path)
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void endGUI()
Copyright © 2018 universAAL Consortium. All rights reserved.