jmri.jmrit.symbolicprog
Class ValueQualifier

java.lang.Object
  extended by jmri.jmrit.symbolicprog.AbstractQualifier
      extended by jmri.jmrit.symbolicprog.ValueQualifier
All Implemented Interfaces:
PropertyChangeListener, EventListener, Qualifier

public class ValueQualifier
extends AbstractQualifier

Qualify a variable on greater than or equal a number

Author:
Bob Jacobsen Copyright (C) 2010

Nested Class Summary
static class ValueQualifier.Test
           
 
Constructor Summary
ValueQualifier(VariableValue qualifiedVal, VariableValue watchedVal, int value, String relation)
           
 
Method Summary
protected  boolean availableStateFromObject(Object o)
           
protected  boolean availableStateFromValue(int now)
           
 
Methods inherited from class jmri.jmrit.symbolicprog.AbstractQualifier
availableStateFromEvent, propertyChange, setWatchedAvailable, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueQualifier

public ValueQualifier(VariableValue qualifiedVal,
                      VariableValue watchedVal,
                      int value,
                      String relation)
Method Detail

availableStateFromObject

protected boolean availableStateFromObject(Object o)
Specified by:
availableStateFromObject in class AbstractQualifier

availableStateFromValue

protected boolean availableStateFromValue(int now)
Specified by:
availableStateFromValue in class AbstractQualifier


Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads