|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.implementation.JmriSimplePropertyListener
public class JmriSimplePropertyListener
A service base class for monitoring a bound property in one of the JMRI Named beans (Turnout, Sensor, etc).
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.
| Method Summary | |
|---|---|
void |
addConditional(Conditional client)
|
void |
calculateClient(int idx,
PropertyChangeEvent evt)
|
String |
getDevName()
|
String |
getPropertyName()
|
int |
getType()
|
int |
getVarType()
|
void |
propertyChange(PropertyChangeEvent evt)
When _enabled is false, Conditional.calculate will compute the state of the conditional, but will not trigger its actions. |
void |
setEnabled(boolean state)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getType()
public String getPropertyName()
public int getVarType()
public String getDevName()
public void addConditional(Conditional client)
public void setEnabled(boolean state)
public void calculateClient(int idx,
PropertyChangeEvent evt)
public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||