org.globus.cog.karajan.viewer
Class RestartAction

java.lang.Object
  extended by org.globus.cog.karajan.viewer.FailureAction
      extended by org.globus.cog.karajan.viewer.RestartAction
All Implemented Interfaces:
EventListener, ChangeListener

public class RestartAction
extends FailureAction
implements ChangeListener


Constructor Summary
RestartAction()
           
 
Method Summary
 Component getComponent(ButtonGroup group)
           
 String getDescription()
           
 Icon getIcon()
           
 String getName()
           
 int getTimesLeft()
           
 void handleFailure(EventListener element, NotificationEvent event)
           
 boolean isComplete()
           
 FailureAction newInstance()
           
 void setTimesLeft(int timesLeft)
           
 void stateChanged(ChangeEvent e)
           
 
Methods inherited from class org.globus.cog.karajan.viewer.FailureAction
initializeComponent, isSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestartAction

public RestartAction()
Method Detail

handleFailure

public void handleFailure(EventListener element,
                          NotificationEvent event)
Specified by:
handleFailure in class FailureAction

getName

public String getName()
Overrides:
getName in class FailureAction

getDescription

public String getDescription()
Overrides:
getDescription in class FailureAction

getIcon

public Icon getIcon()
Overrides:
getIcon in class FailureAction

getComponent

public Component getComponent(ButtonGroup group)
Overrides:
getComponent in class FailureAction

stateChanged

public void stateChanged(ChangeEvent e)
Specified by:
stateChanged in interface ChangeListener

isComplete

public boolean isComplete()
Overrides:
isComplete in class FailureAction

newInstance

public FailureAction newInstance()
Overrides:
newInstance in class FailureAction

getTimesLeft

public int getTimesLeft()

setTimesLeft

public void setTimesLeft(int timesLeft)