SEdit
Class AbstractAgentNode
java.lang.Object
SEdit.SElement
SEdit.SNode
SEdit.AbstractAgentNode
- public abstract class AbstractAgentNode
- extends SNode
CLASS AbstractAgentNode
A type of node which encapsulates an agent and displays it into
an editor.
AbstractAgentNode is a subclass of SNode for the moment. Could be a subclass
of SComponent in the future
Copyright : Copyright (c) 2001
- Author:
- J. Ferber
Methods inherited from class SEdit.SElement |
dump, getComment, getDescriptor, getGObject, getID, getLabel, getStructure, inspect, setComment, setDescriptor, setGObject, setID, setStructure |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAgentNode
public AbstractAgentNode()
getAgent
public AbstractAgent getAgent()
setLabel
public void setLabel(String s)
- Overrides:
setLabel
in class SElement
getName
public String getName()
setupGUI
public void setupGUI(AbstractAgent ag)
setAgentClass
public void setAgentClass(String s)
- set the agentClass name which
has to be instantiated
getAgentClass
public String getAgentClass()
- Get the agentClass name which
has to be instantiated
delete
public void delete()
- Overrides:
delete
in class SNode
init
public void init()
- Creates the Agent from the agentClass
- Overrides:
init
in class SElement
addInArrow
protected void addInArrow(SArrow a)
- Specified by:
addInArrow
in class SNode
getInArrows
public Vector getInArrows()
- Specified by:
getInArrows
in class SNode
addOutArrow
protected void addOutArrow(SArrow a)
- Specified by:
addOutArrow
in class SNode
isConnectable
protected boolean isConnectable(SArrow s,
boolean asTarget)
- Specified by:
isConnectable
in class SNode
getOutArrows
public Vector getOutArrows()
- Specified by:
getOutArrows
in class SNode
Copyright © J. Ferber, O. Gutknecht All Rights Reserved.