|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--pilot.Pilot
| Field Summary | |
protected static javax.swing.JButton |
btnJessViewer
|
protected static int |
indexSituations_
|
protected static int |
indexStates_
|
protected static Sampler |
sampler_
The sampler property points to the thread that measures the contol values. |
protected static Situations |
situations_
The situations property points to the object that manages the situations of the application. |
protected static States |
states_
The states property points to the object that manages the states of the application. |
protected static javax.swing.JTable |
tblSituations_
|
protected static javax.swing.JTable |
tblStates_
|
protected static int |
WINDOW_SIZE
The window size determines the number of past states and situations that are visible in the application. |
| Constructor Summary | |
Pilot()
|
|
| Method Summary | |
static void |
addState(java.util.Vector data,
int column,
javax.swing.JTable table)
The method addState appends a state to the right of the table that shows the data of the states. |
static void |
appendState(java.util.Vector data,
javax.swing.JTable table,
int index)
The method appendState appends a state to the right of the table that shows the data of the states. |
static void |
initializeGUI()
The method initializeGUI initializes the user interface. |
static java.lang.Object[] |
initPanel(StatesAndSituations ss)
The method initPanel initializes the panels for states and situations. |
static void |
main(java.lang.String[] args)
The main method of the application. |
static java.util.Vector |
readChoicesControls(pilot.Element root,
java.lang.String type)
The method readChoicesControls read the choices of the controls in the xml code. |
static void |
readConstraintsSituations(pilot.Element root)
The method readConstraintsSituations loads the information about the constraints of situations. |
static void |
readControlFile(java.lang.String filename,
java.lang.String path)
The method readVariableList reads and xml file and loads the control information in the data structure for states. |
static void |
readSituationFile(java.lang.String filename,
java.lang.String path)
The method readSituationFile reads the xml file and loads the information about situations. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static States states_
protected static Situations situations_
protected static Sampler sampler_
protected static javax.swing.JButton btnJessViewer
protected static javax.swing.JTable tblStates_
protected static javax.swing.JTable tblSituations_
protected static int indexStates_
protected static int indexSituations_
protected static final int WINDOW_SIZE
| Constructor Detail |
public Pilot()
| Method Detail |
public static void main(java.lang.String[] args)
args - The arguments of the application.public static void initializeGUI()
public static java.lang.Object[] initPanel(StatesAndSituations ss)
ss - State or situation.
public static void readControlFile(java.lang.String filename,
java.lang.String path)
filename - The xml filename with the data about the controls.path - Pathname where the xml file resides.
public static void readSituationFile(java.lang.String filename,
java.lang.String path)
filename - The xml filename with the data about the situationspath - Pathname where the xml file resides.
public static java.util.Vector readChoicesControls(pilot.Element root,
java.lang.String type)
root - The xml element of the controltype - The type of controlpublic static void readConstraintsSituations(pilot.Element root)
root - The root element of a situation.
public static void addState(java.util.Vector data,
int column,
javax.swing.JTable table)
data - The data vector that will be added.column - The column where the data should be addedtable - The table where the data should be added
public static void appendState(java.util.Vector data,
javax.swing.JTable table,
int index)
data - The data vector that will be added.table - The table where the data should be addedindex - The actual index of the data
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||