|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPhaseHandler
public class PhaseHandler
Creates a popup dialog box to allow selection of phases that are allowed to form in the system.
Constructor Summary | |
---|---|
PhaseHandler(rock.dRock rockRef)
Creates the GUI and initializes the class. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Displays the popup dialog box. |
static void |
addComponent(java.awt.Container container,
java.awt.Component component,
int gx,
int gy,
int gw,
int gh,
int fill)
Method to layout a component in a container using GridBagConstraints. |
void |
disablePhase(short i)
Removes a phase from the system. |
void |
enablePhase(short i)
Includes a phase in the system. |
boolean |
getPhaseState(short i)
Retrieves the inclusion state of a phase. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PhaseHandler(rock.dRock rockRef)
rockRef
- Instance of server-side rock object.Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- Action event that triggered the display request.public void enablePhase(short i)
i
- Index number of phase to be included.public void disablePhase(short i)
i
- Index number of phase to be excluded.public boolean getPhaseState(short i)
i
- Index number of phase to be queried.
public static void addComponent(java.awt.Container container, java.awt.Component component, int gx, int gy, int gw, int gh, int fill)
container
- Instance of a container class.component
- Instance of a component class to position in the container.gx
- X-axis grid position.gy
- Y-axis grid position.gw
- Width of component in grid units.gh
- Height of component in grid units.fill
- Fill behavior for component.GridBagConstraints
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |