Package jmri.jmrit.entryexit
Class Source
java.lang.Object
jmri.jmrit.entryexit.Source
- All Implemented Interfaces:
PropertyChangeListener,EventListener
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) JMenuItem(package private) JMenuItem(package private) JMenuItem(package private) JMenuItem(package private) JMenuItem(package private) EntryExitPairs(package private) JMenuItem(package private) PointDetails(package private) HashMap<PointDetails,DestinationPoints> static final StringString constant for the active property.(package private) NamedBean(package private) NamedBean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactiveBean(DestinationPoints dest, boolean reverseDirection) voidaddDestination(PointDetails dest, String id) voidAdd property change listener.booleancanBeBiDirection(Object dest, LayoutEditor panel) (package private) voidcancelClearInterlockFromSource(int cancelClear) voidcancelInterlock(Object dest, LayoutEditor panel) getByUniqueId(String id) getByUserName(String id) intgetEntryExitType(Object dest, LayoutEditor panel) intgetPoint()(package private) Object(package private) List<LayoutBlock>(package private) NamedBean(package private) LayoutBlockgetStart()booleangetUniDirection(Object dest, LayoutEditor panel) getUniqueId(Object dest, LayoutEditor panel) booleanisDestinationValid(PointDetails destPoint) booleanisEnabled(Object dest, LayoutEditor panel) booleanisRouteActive(PointDetails endpoint) voidvoidvoidRemove property change listener.voidsetEnabled(Object dest, LayoutEditor panel, boolean boo) voidsetEntryExitType(Object dest, LayoutEditor panel, int type) (package private) voidsetMenuEnabled(boolean boo) voidsetUniDirection(Object dest, LayoutEditor panel, boolean set)
-
Field Details
-
clear
-
cancel
-
editCancel
-
editClear
-
editOneClick
-
oneClick
-
PROPERTY_ACTIVE
String constant for the active property.- See Also:
-
sourceObject
-
sourceSignal
-
pd
-
manager
-
pointToDest
-
-
Constructor Details
-
Source
-
-
Method Details
-
isEnabled
-
setEnabled
-
addPropertyChangeListener
Add property change listener.- Parameters:
listener- the pcl to add.- Since:
- 4.17.4
-
removePropertyChangeListener
Remove property change listener.- Parameters:
listener- the pcl to remove.- Since:
- 4.17.4
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener- Since:
- 4.17.4
-
cancelClearInterlockFromSource
-
setMenuEnabled
-
getPoint
- Returns:
- the point details.
- Since:
- 4.17.4 Making the source object available for scripting in Jython.
-
getStart
-
getSourceProtecting
-
getSourceSignal
-
addDestination
- Parameters:
dest- the points details to add.id- the points details id.- Since:
- 4.17.4 Add Property Change Listener.
-
removeDestination
- Parameters:
dest- the point details location to remove.- Since:
- 4.17.4 Remove Property Change Listener.
-
getSourceObject
-
getDestinationPoints
-
isDestinationValid
-
getUniDirection
-
setUniDirection
-
canBeBiDirection
-
isRouteActive
-
activeBean
-
getDestForPoint
-
getNumberOfDestinations
-
setEntryExitType
-
getEntryExitType
-
cancelInterlock
-
getUniqueId
-
getDestinationUniqueId
-
getByUniqueId
-
getByUserName
-