apps.projectmanagement.component.workflowchart.core.graphcomponents
Class OptionMessage

java.lang.Object
  extended by apps.projectmanagement.component.workflowchart.core.graphcomponents.GraphComponent
      extended by apps.projectmanagement.component.workflowchart.core.graphcomponents.nodes.GraphNode
          extended by apps.projectmanagement.component.workflowchart.core.graphcomponents.nodes.QuadNode
              extended by apps.projectmanagement.component.workflowchart.core.graphcomponents.nodes.EditableQuadNode
                  extended by apps.projectmanagement.component.workflowchart.core.graphcomponents.nodes.TextNode
                      extended by apps.projectmanagement.component.workflowchart.core.graphcomponents.OptionMessage

public class OptionMessage
extends TextNode

The Class OptionMessage.


Nested Class Summary
 
Nested classes/interfaces inherited from class apps.projectmanagement.component.workflowchart.core.graphcomponents.GraphComponent
GraphComponent.OptionMessageListener
 
Field Summary
 
Fields inherited from class apps.projectmanagement.component.workflowchart.core.graphcomponents.nodes.GraphNode
BOTTOM_LEFT_CORNER, BOTTOM_RIGHT_CORNER, MIDDLE, TOP_LEFT_CORNER, TOP_RIGHT_CORNER
 
Constructor Summary
OptionMessage(ContentSystem contentSystem, GraphManager gManager, GraphComponent parentComponent, java.lang.String text, int messageType)
          Instantiates a new option message.
 
Method Summary
 GraphComponent getParentComponent()
          Gets the parent component.
 int getSelectedOption()
          Gets the selected option.
 
Methods inherited from class apps.projectmanagement.component.workflowchart.core.graphcomponents.nodes.TextNode
getMultiLineTextLabel, getText, setText
 
Methods inherited from class apps.projectmanagement.component.workflowchart.core.graphcomponents.nodes.EditableQuadNode
getEditButton, getKeyboardNode, setEditPointLocation, showAndLinkKeyboard, updateNode
 
Methods inherited from class apps.projectmanagement.component.workflowchart.core.graphcomponents.nodes.QuadNode
getNodeContent, setCloseButtonLocation, setLinkButtonLocation
 
Methods inherited from class apps.projectmanagement.component.workflowchart.core.graphcomponents.nodes.GraphNode
addConceptMapListener, contains, fireNodeConnected, fireNodeDisconnected, getCloseButton, getIncomingLinks, getLinkButton, getLocation, getName, getNodeContainer, getOrder, getOutgoingLinks, isLinkable, isVisible, registerIncomingLink, registerOutgoingLink, remove, removeConceptMapListeners, setEditable, setLinkable, setLocation, setOrder, setScale, setVisible, unregisterAllLinks, unregisterLink, updateConnectionPoints
 
Methods inherited from class apps.projectmanagement.component.workflowchart.core.graphcomponents.GraphComponent
addOptionMessageListener, fireMessageProcessed, removeOptionMessageListeners
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionMessage

public OptionMessage(ContentSystem contentSystem,
                     GraphManager gManager,
                     GraphComponent parentComponent,
                     java.lang.String text,
                     int messageType)
Instantiates a new option message.

Parameters:
contentSystem - the content system
gManager - the g manager
parentComponent - the parent component
text - the text
messageType - the message type
Method Detail

getParentComponent

public GraphComponent getParentComponent()
Gets the parent component.

Returns:
the parent component

getSelectedOption

public int getSelectedOption()
Gets the selected option.

Returns:
the selected option