Package jmri.jmrit.symbolicprog
Interface Qualifier
-
- All Known Implementing Classes:
AbstractQualifier
,ArithmeticQualifier
,JComponentQualifier
,PaneQualifier
,QualifierCombiner
,ValueQualifier
public interface Qualifier
Define capability to watch other things and "Qualify" CVs and Variables.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
currentDesiredState()
Check whether this Qualifier is currently in the OK, qualified-to-act state.void
setWatchedAvailable(boolean enable)
Drive the available or not state of the qualified object.void
update()
Process the current value and do whatever is needed.
-
-
-
Method Detail
-
update
void update()
Process the current value and do whatever is needed.
-
currentDesiredState
boolean currentDesiredState()
Check whether this Qualifier is currently in the OK, qualified-to-act state.- Returns:
- true if this Qualifier is currently saying OK
-
setWatchedAvailable
void setWatchedAvailable(boolean enable)
Drive the available or not state of the qualified object.Subclasses implement this to control a specific type of qualified object, like a Variable or Pane.
- Parameters:
enable
- true to drive, else false.
-
-