Package jmri.jmrit.ctc
Class RequestedDirectionObserved
- java.lang.Object
-
- jmri.jmrit.ctc.RequestedDirectionObserved
-
public class RequestedDirectionObserved extends java.lang.Object
This object ONLY maintains ONE property: _mRequestedDirection. Ergo no need to call "addPropertyChangeListener" form with the "propertyName" variant.
-
-
Constructor Summary
Constructors Constructor Description RequestedDirectionObserved()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
int
getRequestedDirection()
void
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
void
setRequestedDirection(int newRequestedDirection)
-
-
-
Constructor Detail
-
RequestedDirectionObserved
public RequestedDirectionObserved()
-
-
Method Detail
-
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
-
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
-
setRequestedDirection
public void setRequestedDirection(int newRequestedDirection)
-
getRequestedDirection
public int getRequestedDirection()
-
-