Class WaitTrainAction
- java.lang.Object
-
- jmri.beans.PropertyChangeSupport
-
- jmri.jmrit.operations.automation.actions.Action
-
- jmri.jmrit.operations.automation.actions.WaitTrainAction
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
,PropertyChangeFirer
,PropertyChangeProvider
public class WaitTrainAction extends Action implements java.beans.PropertyChangeListener
-
-
Field Summary
-
Fields inherited from class jmri.jmrit.operations.automation.actions.Action
_automationItem, ACTION_COMPLETE_CHANGED_PROPERTY, ACTION_GOTO_CHANGED_PROPERTY, ACTION_HALT_CHANGED_PROPERTY, ACTION_RUNNING_CHANGED_PROPERTY, CLOSED, FINISH_FAILED, HALT, NO_MESSAGE_SENT, OKAY
-
Fields inherited from class jmri.beans.PropertyChangeSupport
propertyChangeSupport
-
-
Constructor Summary
Constructors Constructor Description WaitTrainAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelAction()
void
doAction()
int
getCode()
java.lang.String
getName()
boolean
isConcurrentAction()
Used to determine if this action can run concurrently with other actions.void
propertyChange(java.beans.PropertyChangeEvent evt)
-
Methods inherited from class jmri.jmrit.operations.automation.actions.Action
finishAction, finishAction, getActionFailedString, getActionString, getActionSuccessfulString, getAutomationItem, getCode, getComboBox, getFormatedMessage, getStatus, isAutomationMenuEnabled, isGotoMenuEnabled, isMessageFailEnabled, isMessageOkEnabled, isRouteMenuEnabled, isTrainMenuEnabled, sendMessage, setAutomationItem, setRunning, toString
-
Methods inherited from class jmri.beans.PropertyChangeSupport
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
-
-
-
Constructor Detail
-
WaitTrainAction
public WaitTrainAction()
-
-
Method Detail
-
isConcurrentAction
public boolean isConcurrentAction()
Description copied from class:Action
Used to determine if this action can run concurrently with other actions.- Overrides:
isConcurrentAction
in classAction
- Returns:
- true if a concurrent action
-
cancelAction
public void cancelAction()
- Specified by:
cancelAction
in classAction
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
-