agentland.games.boggle
Class GuiBoggleServerMaker
java.lang.Object
|
+--agentland.gui.GuiMaker
|
+--agentland.games.boggle.GuiBoggleServerMaker
- All Implemented Interfaces:
- GuiElement, Serializable
- public class GuiBoggleServerMaker
- extends GuiMaker
This is the standard GuiMaker that draws an instance of a
BoggleServer.
- See Also:
GuiMaker, Serialized Form
|
Method Summary |
Container |
getGui()
Defined in GuiMaker. |
void |
init()
Initializes variables that must be assigned after the constructor finishes. |
void |
tell(Secret s)
Controls actions when a secret is received. |
protected void |
updateDisplay()
Redraws the current GUI. |
| Methods inherited from class agentland.gui.GuiMaker |
addSpy, equals, getContainer, getFamily, getFamilyObject, getName, getParent, hashCode, hideMe, installed, killMe, log, log, log, notify, reliesOn, reliesOn, setFamily, setFamilyClass, setHost, setName, setParent, showMe, toString, visible |
GuiBoggleServerMaker
public GuiBoggleServerMaker(String title,
AgentID aid)
- Creates a new
GuiBoggleServerMaker instance.
- Parameters:
title - The title of the GUI window when it opensaid - AgentID of the BoggleServer
which this draws.
init
public void init()
- Initializes variables that must be assigned after the constructor finishes.
- Overrides:
init in class GuiMaker
tell
public void tell(Secret s)
- Controls actions when a secret is received.
- Overrides:
tell in class GuiMaker
- Parameters:
s - the Secret received.
updateDisplay
protected void updateDisplay()
- Redraws the current GUI.
getGui
public Container getGui()
- Defined in
GuiMaker. Provides the actual interface to the
screen real estate necessary to draw the GUI.
- Overrides:
getGui in class GuiMaker
- Returns:
- the
Container which contains the GUI.