agentland.gui
Class TestGuiMaker

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

public class TestGuiMaker
extends GuiMaker

See Also:
Serialized Form

Fields inherited from class agentland.gui.GuiMaker
container, family, familyClassName, familyName, host, name, parent, visible
 
Constructor Summary
TestGuiMaker()
           
 
Method Summary
protected  void buttonPressed()
           
 Container getGui()
          Has to be overriden by children; this is where you produce the object to be displayed.
 void init()
          This method gets called when the GuiMaker arrives at the GuiManager and can start connecting itself to the rest of the world.
 
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, tell, toString, visible
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestGuiMaker

public TestGuiMaker()
Method Detail

getGui

public Container getGui()
Description copied from class: GuiMaker
Has to be overriden by children; this is where you produce the object to be displayed. You produce it in the vm of the GuiManger -- that way we avoid all the serialization issues with graphical elements in Java.
Overrides:
getGui in class GuiMaker
Following copied from class: agentland.gui.GuiMaker
Returns:
something that can be displayed in a frame

buttonPressed

protected void buttonPressed()

init

public void init()
Description copied from class: GuiMaker
This method gets called when the GuiMaker arrives at the GuiManager and can start connecting itself to the rest of the world. You should override this method and do all of your reliesOn and spy adding, etc, in here.
Overrides:
init in class GuiMaker