agentland.games.boggle
Class GuiBoggleClientMaker

java.lang.Object
  |
  +--agentland.gui.GuiMaker
        |
        +--agentland.games.boggle.GuiBoggleClientMaker
All Implemented Interfaces:
GuiElement, Serializable

public class GuiBoggleClientMaker
extends GuiMaker

This is the standard GuiMaker that draws an instance of a BoggleClient.

See Also:
GuiMaker, Serialized Form

Fields inherited from class agentland.gui.GuiMaker
container, family, familyClassName, familyName, host, name, parent, visible
 
Constructor Summary
GuiBoggleClientMaker(String title, AgentID aid)
          Creates a new GuiBoggleClientMaker instance.
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GuiBoggleClientMaker

public GuiBoggleClientMaker(String title,
                            AgentID aid)
Creates a new GuiBoggleClientMaker instance.
Parameters:
title - the title of the GUI window when it opens
aid - AgentID of the BoggleClient which this draws.
Method Detail

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.