|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanecho.gui.SyncFrameGroup
public class SyncFrameGroup
The JamochaMUD Frame Group handler: SyncFrame.java handles the synchronising of frame minimize/maximize, and potentially, movement events. This class coordinates the SyncFrames in each group.
| Field Summary | |
|---|---|
static int |
HIDE
A variable representing the "hide" option for the frame state. |
static int |
SET_ALL_FALSE
|
static int |
SET_ALL_TRUE
|
static int |
SHOW
A variable representing the "Show" option for the frame state. |
| Constructor Summary | |
|---|---|
SyncFrameGroup()
Create a SyncFrameGroup |
|
| Method Summary | |
|---|---|
void |
add(java.awt.Frame newFrame)
Add a new SyncFrame to the group |
void |
changeState(java.awt.Frame origin,
int action)
A common loop using switches |
void |
moveFrames(java.awt.Frame origin,
int xMove,
int yMove)
Move all the frames in this group with the exception of the "origin" frame |
void |
remove(java.awt.Frame origin)
Remove a SyncFrame from the group |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SHOW
public static final int HIDE
public static final int SET_ALL_TRUE
public static final int SET_ALL_FALSE
| Constructor Detail |
|---|
public SyncFrameGroup()
| Method Detail |
|---|
public void add(java.awt.Frame newFrame)
newFrame - A SyncFrame to be added to the SyncFrame group.public void remove(java.awt.Frame origin)
origin - The given SyncFrame to be removed from the SyncFrame group.
public void moveFrames(java.awt.Frame origin,
int xMove,
int yMove)
origin - The frame that originated the move request.xMove - The relative number of pixels to move the frames horizontally.yMove - The relative number of pixels to move the frames vertically.
public void changeState(java.awt.Frame origin,
int action)
origin - The frame that originated the change state request.action - The action to be performed by the frames, such as HIDE.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||