Package PamController
Class PamControlledUnitGUI
java.lang.Object
PamController.PamControlledUnitGUI
- Direct Known Subclasses:
PamControlledGUIFX
,PamControlledGUISwing
The GUI for a PAMControlled unit. Each PAMControlled Unit can have no, or multiple GUI's programmed in
Swing JavaFX, any other GUI frameWork. All GUI's must subcless this class.
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract int
Get the flag type for the GUI e.g.void
notifyGUIChange
(int flag) Allows the GUI to be notified of changes, e.g.
-
Constructor Details
-
PamControlledUnitGUI
public PamControlledUnitGUI()
-
-
Method Details
-
getGUIFlag
public abstract int getGUIFlag()Get the flag type for the GUI e.g. PAMGuiManager.SWING;- Returns:
- flag descibing the type of GUI.
-
notifyGUIChange
public void notifyGUIChange(int flag) Allows the GUI to be notified of changes, e.g. in the PAMController- Parameters:
flag
- - the change flag.
-