agentland.geo
Class ViewerMaker

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

public class ViewerMaker
extends GuiMaker

Gui for room exploration.

See Also:
Serialized Form

Fields inherited from class agentland.gui.GuiMaker
container, family, familyClassName, familyName, host, name, parent, visible
 
Constructor Summary
ViewerMaker(AgentID id)
           
 
Method Summary
 Container getGui()
          Has to be overriden by children; this is where you produce the object to be displayed.
protected  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

ViewerMaker

public ViewerMaker(AgentID id)
Method Detail

init

protected void init()
This method gets called when the GuiMaker arrives at the GuiManager and can start connecting itself to the rest of the world.
Overrides:
init in class GuiMaker

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