Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

edu.mit.media.hive.agent.hiveui
Class BaseAWTGUIMoveAgentUI  view BaseAWTGUIMoveAgentUI download BaseAWTGUIMoveAgentUI.java

java.lang.Object
  extended byedu.mit.media.hive.agent.hiveui.BaseAWTGUIAgentIconDisplayPanel
      extended byedu.mit.media.hive.agent.hiveui.BaseAWTGUIMoveAgentUI
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

class BaseAWTGUIMoveAgentUI
extends BaseAWTGUIAgentIconDisplayPanel

use this class to move an agent to another cell


Nested Class Summary
(package private)  class BaseAWTGUIAgentIconDisplayPanel.AgentIconCanvas
           
 
Field Summary
private  edu.mit.media.hive.agent.Agent a
           
protected  edu.mit.media.hive.shadow.cell.ComponentManagerShadow cms
           
protected  BaseAWTGUIAgentImpl guiAgent
           
protected  java.awt.Image myAgentImage
           
protected  java.lang.String myAgentName
           
protected  java.awt.Choice serverListChoice
           
 
Constructor Summary
BaseAWTGUIMoveAgentUI(BaseAWTGUIAgentImpl guiAgent, edu.mit.media.hive.shadow.cell.ComponentManagerShadow cms, edu.mit.media.hive.agent.Agent a)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          This method is invoked when an action occurs.
protected  void buttonPressed()
           
protected  java.lang.String getButtonLabel()
           
protected  java.lang.String getFrameTitle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

private edu.mit.media.hive.agent.Agent a

guiAgent

protected BaseAWTGUIAgentImpl guiAgent

cms

protected edu.mit.media.hive.shadow.cell.ComponentManagerShadow cms

myAgentName

protected java.lang.String myAgentName

myAgentImage

protected java.awt.Image myAgentImage

serverListChoice

protected java.awt.Choice serverListChoice
Constructor Detail

BaseAWTGUIMoveAgentUI

public BaseAWTGUIMoveAgentUI(BaseAWTGUIAgentImpl guiAgent,
                             edu.mit.media.hive.shadow.cell.ComponentManagerShadow cms,
                             edu.mit.media.hive.agent.Agent a)
Method Detail

getButtonLabel

protected java.lang.String getButtonLabel()
Specified by:
getButtonLabel in class BaseAWTGUIAgentIconDisplayPanel

getFrameTitle

protected java.lang.String getFrameTitle()
Specified by:
getFrameTitle in class BaseAWTGUIAgentIconDisplayPanel

buttonPressed

protected void buttonPressed()
Specified by:
buttonPressed in class BaseAWTGUIAgentIconDisplayPanel

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.

Specified by:
actionPerformed in interface java.awt.event.ActionListener