nodenet
Interface BehaviorIndication


public interface BehaviorIndication

An interface to supply graphical information about a NodeBehavior


Method Summary
 java.lang.String getIndicator()
          Gets a very short string to be drawn near the node with this behavior.
 java.awt.Paint getPaint()
          Gets the color to paint a node with this behavior.
 void reset()
          Tells the indicator to reset itself.
 

Method Detail

getPaint

java.awt.Paint getPaint()
Gets the color to paint a node with this behavior. Typically, you will return a Color.

Returns:
a color to indicate a behavior.
See Also:
Color

getIndicator

java.lang.String getIndicator()
Gets a very short string to be drawn near the node with this behavior. This might be something like the number of nodes that have been processed by this behavior.

Returns:
a short String.

reset

void reset()
Tells the indicator to reset itself.