Class IsTrainEnRouteAction
java.lang.Object
jmri.beans.PropertyChangeSupport
jmri.jmrit.operations.automation.actions.Action
jmri.jmrit.operations.automation.actions.IsTrainEnRouteAction
- All Implemented Interfaces:
PropertyChangeFirer,PropertyChangeProvider
-
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, OKAYFields inherited from class jmri.beans.PropertyChangeSupport
propertyChangeSupport -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jmri.jmrit.operations.automation.actions.Action
finishAction, finishAction, getActionFailedString, getActionString, getActionSuccessfulString, getAutomationItem, getCode, getComboBox, getFormatedMessage, getStatus, isAutomationMenuEnabled, isConcurrentAction, isGotoMenuEnabled, isMessageFailEnabled, isMessageOkEnabled, isRouteMenuEnabled, isTrainMenuEnabled, sendMessage, setAutomationItem, setRunning, toStringMethods inherited from class jmri.beans.PropertyChangeSupport
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
Constructor Details
-
IsTrainEnRouteAction
public IsTrainEnRouteAction()
-
-
Method Details
-
getCode
-
getName
-
doAction
Used to determine if train is en-route. Returns true if train is built and hasn't reached the selected route location. If no route location has been entered, return train's en-route status. -
cancelAction
- Specified by:
cancelActionin classAction
-