Package jmri.jmrit.entryexit
Class PointDetails
- java.lang.Object
-
- jmri.jmrit.entryexit.PointDetails
-
public class PointDetails extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Hashtable<DestinationPoints,Source>
destinations
(package private) boolean
extendedtime
(package private) LayoutBlock
facing
protected java.beans.PropertyChangeListener
nxButtonListener
(package private) static int
nxButtonTimeout
(package private) java.lang.Thread
nxButtonTimeOutThr
(package private) LayoutEditor
panel
(package private) java.beans.PropertyChangeSupport
pcs
(package private) java.util.List<LayoutBlock>
protectingBlocks
(package private) boolean
routeFromSet
(package private) boolean
routeToSet
(package private) Source
sourceRoute
-
Constructor Summary
Constructors Constructor Description PointDetails(LayoutBlock facing, java.util.List<LayoutBlock> protecting)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyChangeListener(java.beans.PropertyChangeListener l)
(package private) void
addSensorList()
(package private) void
cancelNXButtonTimeOut()
boolean
equals(java.lang.Object obj)
protected void
firePropertyChange(java.lang.String p, java.lang.Object old, java.lang.Object n)
void
flashSensor()
java.lang.String
getDisplayName()
LayoutBlock
getFacing()
int
getNXState()
LayoutEditor
getPanel()
java.util.List<LayoutBlock>
getProtecting()
java.lang.Object
getRefLocation()
NamedBean
getRefObject()
Sensor
getSensor()
(package private) NamedBean
getSignal()
(package private) SignalHead
getSignalHead()
(package private) SignalMast
getSignalMast()
int
hashCode()
boolean
isRouteFromPointSet()
boolean
isRouteToPointSet()
(package private) void
nxButtonTimeOut()
(package private) void
removeDestination(DestinationPoints srcdp)
void
removePropertyChangeListener(java.beans.PropertyChangeListener l)
(package private) void
removeSensorList()
(package private) void
removeSource(Source src)
(package private) void
setButtonState(int state)
(package private) void
setDestination(DestinationPoints srcdp, Source src)
void
setNXButtonState(int state)
(package private) void
setNXState(int state)
void
setPanel(LayoutEditor panel)
void
setRefObject(NamedBean refObs)
void
setRefObjectByPanel(NamedBean refObs, LayoutEditor pnl)
(package private) void
setRouteFrom(boolean boo)
(package private) void
setRouteTo(boolean boo)
(package private) void
setSensor(Sensor sen)
(package private) void
setSignalHead(SignalHead head)
(package private) void
setSignalMast(SignalMast mast)
(package private) void
setSource(Source src)
void
stopFlashSensor()
-
-
-
Field Detail
-
panel
LayoutEditor panel
-
facing
LayoutBlock facing
-
protectingBlocks
java.util.List<LayoutBlock> protectingBlocks
-
nxButtonTimeout
static int nxButtonTimeout
-
sourceRoute
Source sourceRoute
-
destinations
transient java.util.Hashtable<DestinationPoints,Source> destinations
-
routeToSet
boolean routeToSet
-
routeFromSet
boolean routeFromSet
-
nxButtonListener
protected java.beans.PropertyChangeListener nxButtonListener
-
nxButtonTimeOutThr
transient java.lang.Thread nxButtonTimeOutThr
-
extendedtime
boolean extendedtime
-
pcs
java.beans.PropertyChangeSupport pcs
-
-
Constructor Detail
-
PointDetails
public PointDetails(LayoutBlock facing, java.util.List<LayoutBlock> protecting)
-
-
Method Detail
-
getFacing
public LayoutBlock getFacing()
-
getProtecting
public java.util.List<LayoutBlock> getProtecting()
-
setRouteTo
void setRouteTo(boolean boo)
-
setRouteFrom
void setRouteFrom(boolean boo)
-
setPanel
public void setPanel(LayoutEditor panel)
-
addSensorList
void addSensorList()
-
removeSensorList
void removeSensorList()
-
setSignalMast
void setSignalMast(SignalMast mast)
-
setDestination
void setDestination(DestinationPoints srcdp, Source src)
-
removeDestination
void removeDestination(DestinationPoints srcdp)
-
removeSource
void removeSource(Source src)
-
setButtonState
void setButtonState(int state)
-
setNXState
void setNXState(int state)
-
getNXState
public int getNXState()
-
getSignalMast
SignalMast getSignalMast()
-
setSignalHead
void setSignalHead(SignalHead head)
-
getSignalHead
SignalHead getSignalHead()
-
getPanel
public LayoutEditor getPanel()
-
setRefObject
public void setRefObject(NamedBean refObs)
-
setRefObjectByPanel
public void setRefObjectByPanel(NamedBean refObs, LayoutEditor pnl)
-
getRefObject
public NamedBean getRefObject()
-
getRefLocation
public java.lang.Object getRefLocation()
-
isRouteToPointSet
public boolean isRouteToPointSet()
-
isRouteFromPointSet
public boolean isRouteFromPointSet()
-
getDisplayName
public java.lang.String getDisplayName()
-
nxButtonTimeOut
void nxButtonTimeOut()
-
cancelNXButtonTimeOut
void cancelNXButtonTimeOut()
-
flashSensor
public void flashSensor()
-
stopFlashSensor
public void stopFlashSensor()
-
setNXButtonState
public void setNXButtonState(int state)
-
getSensor
public Sensor getSensor()
- Returns:
- the sensor.
- Since:
- 4.17.6 Making the source object available for scripting in Jython.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
-
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
-
firePropertyChange
protected void firePropertyChange(java.lang.String p, java.lang.Object old, java.lang.Object n)
-
-