GraphLab Project

graphlab.library.event
Class AlgorithmStep

java.lang.Object
  extended by graphlab.library.event.AlgorithmStep
All Implemented Interfaces:
Event

public class AlgorithmStep
extends java.lang.Object
implements Event

this Event is a algorithm step, (is it a major step) -> play one step (on AnimatorGUI)

Author:
Omid

Constructor Summary
AlgorithmStep()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getID()
           
 java.lang.String getMessage()
           
 boolean isStep()
           
 void setMessage(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlgorithmStep

public AlgorithmStep()
Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Event

getMessage

public java.lang.String getMessage()
Specified by:
getMessage in interface Event
Returns:
a message if the algorithm want to send any of them. this message will be loged and shown to the user

setMessage

public void setMessage(java.lang.String message)

isStep

public boolean isStep()

getID

public java.lang.String getID()
Specified by:
getID in interface Event

GraphLab Project