apps.conceptmap.graphcomponents
Class GraphComponent

java.lang.Object
  extended by apps.conceptmap.graphcomponents.GraphComponent
Direct Known Subclasses:
GraphLink, GraphNode

public abstract class GraphComponent
extends java.lang.Object

The Class GraphComponent.


Nested Class Summary
static interface GraphComponent.OptionMessageListener
          The listener interface for receiving optionMessage events.
 
Constructor Summary
GraphComponent(ContentSystem contentSystem, GraphManager gManager)
          Instantiates a new graph component.
 
Method Summary
 void addOptionMessageListener(GraphComponent.OptionMessageListener l)
          Adds the option message listener.
 void fireMessageProcessed(OptionMessage msg)
          Fire message processed.
abstract  java.lang.String getName()
          Gets the name.
 void removeOptionMessageListeners()
          Removes the option message listeners.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphComponent

public GraphComponent(ContentSystem contentSystem,
                      GraphManager gManager)
Instantiates a new graph component.

Parameters:
contentSystem - the content system
gManager - the g manager
Method Detail

addOptionMessageListener

public void addOptionMessageListener(GraphComponent.OptionMessageListener l)
Adds the option message listener.

Parameters:
l - the l

fireMessageProcessed

public void fireMessageProcessed(OptionMessage msg)
Fire message processed.

Parameters:
msg - the msg

getName

public abstract java.lang.String getName()
Gets the name.

Returns:
the name

removeOptionMessageListeners

public void removeOptionMessageListeners()
Removes the option message listeners.