agentland.gui
Class MultiFrameGuiFamily
java.lang.Object
|
+--agentland.gui.GuiFamily
|
+--agentland.gui.MultiFrameGuiFamily
- All Implemented Interfaces:
- GuiElement, Serializable
- public class MultiFrameGuiFamily
- extends GuiFamily
- See Also:
- Serialized Form
elements
protected Vector elements
guiFrames
protected Hashtable guiFrames
- keys -- GuiElements, values -- JFrames
MultiFrameGuiFamily
public MultiFrameGuiFamily(String name)
add
public void add(GuiElement el)
- Overrides:
add
in class GuiFamily
getContainer
public Container getContainer()
- Overrides:
getContainer
in class GuiFamily
elementChanged
public void elementChanged(GuiElement el)
- Overrides:
elementChanged
in class GuiFamily
getGuiFrame
protected JFrame getGuiFrame(GuiElement owner)
- Returns the JFrame that the gui maker was placed in
removeGui
protected void removeGui(GuiElement owner)
- Removes all pointers to the gui
showGui
public void showGui(GuiElement owner)
- Make this gui maker's gui visible
- Overrides:
showGui
in class GuiFamily
hideGui
public void hideGui(GuiElement owner)
- Hide the gui of this gui maker from the screen
- Overrides:
hideGui
in class GuiFamily
killGui
public void killGui(GuiElement owner)
- Permanently remove the gui maker and its gui
- Overrides:
killGui
in class GuiFamily