org.globus.cog.gui.grapheditor.ant
Class AntNode

java.lang.Object
  extended byorg.globus.cog.gui.grapheditor.AbstractGraphComponent
      extended byorg.globus.cog.gui.grapheditor.nodes.AbstractNodeComponent
          extended byorg.globus.cog.gui.grapheditor.nodes.EditableNodeComponent
              extended byorg.globus.cog.gui.grapheditor.ant.AntNode
All Implemented Interfaces:
Cloneable, GraphComponent, NodeComponent, PropertyHolder
Direct Known Subclasses:
ForNodeEnd, JoinNode, ProjectNode, ProjectPropertyNode, TaskNode

public abstract class AntNode
extends EditableNodeComponent

This is the root class for Ant nodes


Field Summary
static int STATUS_COMPLETED
           
static int STATUS_FAILED
           
static int STATUS_RUNNING
           
static int STATUS_STOPPED
           
 
Constructor Summary
AntNode()
           
 
Method Summary
 Icon getIcon()
           
 String getName()
           
 Integer getStatus()
           
 String getStatusAsText()
           
 void loadIcon(String iconFile)
           
 void setIcon(Icon icon)
           
 void setName(String string)
           
 void setStatus(Integer status)
           
 boolean supportsType(String type)
          This method is used to allow the existence of generic objects which can render a range of types.
 
Methods inherited from class org.globus.cog.gui.grapheditor.nodes.AbstractNodeComponent
acceptsInEdgeConnection, acceptsOutEdgeConnection, createCanvas, getCanvas, getCanvasType, isResizable, setCanvas, setCanvasType, setResizable
 
Methods inherited from class org.globus.cog.gui.grapheditor.AbstractGraphComponent
addClassProperty, addProperty, addPropertyChangeListener, clone, firePropertyChange, firePropertyChange, firePropertyChange, get_ID, getClassProperties, getClassProperty, getClassProperty2, getComponentType, getParent, getProperties, getProperty, getProperty2, getPropertyValue, getRootNode, hasClassProperty, hasClassProperty, hasProperty, newInstance, newRenderer, newRenderer, removeProperty, removeProperty, removePropertyChangeListener, set_ID, setClassRendererClass, setClassRendererClass, setClassRendererClass, setClassRendererClass, setComponentType, setInstanceRendererClass, setInstanceRendererClass, setParent, setPropertyValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.globus.cog.gui.grapheditor.GraphComponent
clone, get_ID, getComponentType, getParent, getRootNode, newInstance, newRenderer, newRenderer, set_ID, setComponentType, setParent
 
Methods inherited from interface org.globus.cog.gui.grapheditor.properties.PropertyHolder
addProperty, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getProperties, getProperty, getPropertyValue, hasProperty, removeProperty, removePropertyChangeListener, setPropertyValue
 

Field Detail

STATUS_STOPPED

public static int STATUS_STOPPED

STATUS_RUNNING

public static int STATUS_RUNNING

STATUS_FAILED

public static int STATUS_FAILED

STATUS_COMPLETED

public static int STATUS_COMPLETED
Constructor Detail

AntNode

public AntNode()
Method Detail

supportsType

public boolean supportsType(String type)
Description copied from interface: GraphComponent
This method is used to allow the existence of generic objects which can render a range of types.

Specified by:
supportsType in interface GraphComponent
Overrides:
supportsType in class AbstractGraphComponent

setStatus

public void setStatus(Integer status)

getStatus

public Integer getStatus()

getName

public String getName()

setName

public void setName(String string)

getIcon

public Icon getIcon()

setIcon

public void setIcon(Icon icon)

getStatusAsText

public String getStatusAsText()

loadIcon

public void loadIcon(String iconFile)