org.globus.cog.gui.grapheditor.nodes
Interface NodeComponent

All Superinterfaces:
Cloneable, GraphComponent, PropertyHolder
All Known Implementing Classes:
AbstractNodeComponent, AntNode, EchoNode, EditableNodeComponent, ForNode, ForNodeEnd, GenericNode, JoinNode, ParallelNode, ProjectNode, ProjectPropertyNode, RootNode, SerialNode, TargetNode, TaskNode

public interface NodeComponent
extends GraphComponent

This interface defines the specifics of an object that can be used as a node in the editor


Method Summary
 boolean acceptsInEdgeConnection(EdgeComponent edge)
          Determines if a specific edge can be connected to this node
 boolean acceptsOutEdgeConnection(EdgeComponent edge)
          Determines if a specific edge can be connected to this node
 GraphCanvas createCanvas()
           
 GraphCanvas getCanvas()
          Retrieves the canvas for this node.
 boolean isResizable()
           
 
Methods inherited from interface org.globus.cog.gui.grapheditor.GraphComponent
clone, get_ID, getComponentType, getParent, getRootNode, newInstance, newRenderer, newRenderer, set_ID, setComponentType, setParent, supportsType
 
Methods inherited from interface org.globus.cog.gui.grapheditor.properties.PropertyHolder
addProperty, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getProperties, getProperty, getPropertyValue, hasProperty, removeProperty, removePropertyChangeListener, setPropertyValue
 

Method Detail

getCanvas

GraphCanvas getCanvas()
Retrieves the canvas for this node.

Returns:

createCanvas

GraphCanvas createCanvas()

acceptsInEdgeConnection

boolean acceptsInEdgeConnection(EdgeComponent edge)
Determines if a specific edge can be connected to this node

Parameters:
edge -
Returns:

acceptsOutEdgeConnection

boolean acceptsOutEdgeConnection(EdgeComponent edge)
Determines if a specific edge can be connected to this node

Parameters:
edge -
Returns:

isResizable

boolean isResizable()