Package jmri.jmrit.vsdecoder
Class IntTrigger
java.lang.Object
jmri.jmrit.vsdecoder.Trigger
jmri.jmrit.vsdecoder.IntTrigger
- All Implemented Interfaces:
PropertyChangeListener,EventListener
Integer trigger.
This file is part of JMRI.
This file is part of JMRI.
JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
Nested Class Summary
Nested classes/interfaces inherited from class jmri.jmrit.vsdecoder.Trigger
Trigger.CompareType, Trigger.CompareValueType, Trigger.TargetAction, Trigger.TriggerType -
Field Summary
FieldsFields inherited from class jmri.jmrit.vsdecoder.Trigger
callback, event_name, target, target_name, trigger_name -
Constructor Summary
ConstructorsConstructorDescriptionIntTrigger(String name) IntTrigger(String name, int next, Trigger.CompareType ct) -
Method Summary
Modifier and TypeMethodDescriptionintvoidvoidvoidsetMatchValue(int next) voidsetXml(org.jdom2.Element e) Methods inherited from class jmri.jmrit.vsdecoder.Trigger
getCallback, getEventName, getName, getTarget, getTargetAction, getTargetName, getTriggerType, getXml, setCallback, setEventName, setName, setTarget, setTargetAction, setTargetName, setTriggerType
-
Field Details
-
notch
int notch -
compare_type
-
-
Constructor Details
-
IntTrigger
-
IntTrigger
-
-
Method Details
-
setMatchValue
-
getMatchValue
-
setCompareType
-
getCompareType
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener- Specified by:
propertyChangein classTrigger
-
setXml
-