public class JmriTwoStatePropertyListener extends JmriSimplePropertyListener
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.
Description copied from class:
JmriSimplePropertyListenerWhen _enabled is false, Conditional.calculate will compute the state of the conditional, but will not trigger its actions. When _enabled is true, Conditional.calculates its state and trigger its actions if its state has changed.