Package jadex.gpmn.editor.model.visual
Class VGoal
- java.lang.Object
-
- com.mxgraph.model.mxCell
-
- jadex.gpmn.editor.model.visual.VElement
-
- jadex.gpmn.editor.model.visual.VNode
-
- jadex.gpmn.editor.model.visual.VGoal
-
- All Implemented Interfaces:
com.mxgraph.model.mxICell,IPlanModeProvider,java.io.Serializable,java.lang.Cloneable
public class VGoal extends VNode implements IPlanModeProvider
Visual representation of a goal.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classVGoal.VGoalTypeGoal Type Marker
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IGoalgetGoal()Gets the underlying goal.INodegetNode()Returns the business model node.java.lang.StringgetPlanMode()Provides the mode of the associated plan.java.lang.StringgetStyle()java.lang.ObjectgetValue()Gets the value.voidsetGeometry(com.mxgraph.model.mxGeometry geometry)Override to match type marker.voidsetGoalType(java.lang.String type)Sets the goal type.voidsetValue(java.lang.Object value)Sets the value.-
Methods inherited from class jadex.gpmn.editor.model.visual.VNode
getElement, getX, getY, setX, setY
-
Methods inherited from class jadex.gpmn.editor.model.visual.VElement
isFoldable
-
Methods inherited from class com.mxgraph.model.mxCell
clone, cloneValue, getAttribute, getAttribute, getChildAt, getChildCount, getEdgeAt, getEdgeCount, getEdgeIndex, getGeometry, getId, getIndex, getParent, getSource, getTarget, getTerminal, insert, insert, insertEdge, isCollapsed, isConnectable, isEdge, isVertex, isVisible, remove, remove, removeEdge, removeFromParent, removeFromTerminal, setAttribute, setCollapsed, setConnectable, setEdge, setId, setParent, setSource, setStyle, setTarget, setTerminal, setVertex, setVisible
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jadex.gpmn.editor.model.visual.IPlanModeProvider
getGeometry
-
-
-
-
Constructor Detail
-
VGoal
public VGoal(IGoal goal, com.mxgraph.util.mxPoint position)
Creates a new visual goal element and goal element in the model.
-
-
Method Detail
-
getGoal
public IGoal getGoal()
Gets the underlying goal.- Returns:
- The goal.
-
setGoalType
public void setGoalType(java.lang.String type)
Sets the goal type.
-
getStyle
public java.lang.String getStyle()
- Specified by:
getStylein interfacecom.mxgraph.model.mxICell- Overrides:
getStylein classcom.mxgraph.model.mxCell
-
setValue
public void setValue(java.lang.Object value)
Sets the value.- Specified by:
setValuein interfacecom.mxgraph.model.mxICell- Overrides:
setValuein classcom.mxgraph.model.mxCell- Parameters:
value- The value.
-
getValue
public java.lang.Object getValue()
Gets the value.- Specified by:
getValuein interfacecom.mxgraph.model.mxICell- Overrides:
getValuein classcom.mxgraph.model.mxCell- Returns:
- The value.
-
setGeometry
public void setGeometry(com.mxgraph.model.mxGeometry geometry)
Override to match type marker.- Specified by:
setGeometryin interfacecom.mxgraph.model.mxICell- Overrides:
setGeometryin classcom.mxgraph.model.mxCell
-
getNode
public INode getNode()
Returns the business model node.
-
getPlanMode
public java.lang.String getPlanMode()
Provides the mode of the associated plan.- Specified by:
getPlanModein interfaceIPlanModeProvider- Returns:
- Sequential, Parallel or null if undetermined.
-
-