Package jmri.implementation
Class DefaultMeter.DefaultCurrentMeter
- java.lang.Object
-
- jmri.implementation.AbstractNamedBean
-
- jmri.implementation.AbstractAnalogIO
-
- jmri.implementation.DefaultMeter
-
- jmri.implementation.DefaultMeter.DefaultCurrentMeter
-
- All Implemented Interfaces:
java.lang.Comparable<NamedBean>
,AnalogIO
,PropertyChangeProvider
,CurrentMeter
,Meter
,NamedBean
- Enclosing class:
- DefaultMeter
public static class DefaultMeter.DefaultCurrentMeter extends DefaultMeter implements CurrentMeter
Default implementation of a current meter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.implementation.DefaultMeter
DefaultMeter.DefaultCurrentMeter, DefaultMeter.DefaultVoltageMeter
-
Nested classes/interfaces inherited from interface jmri.AnalogIO
AnalogIO.AbsoluteOrRelative
-
Nested classes/interfaces inherited from interface jmri.Meter
Meter.Unit
-
Nested classes/interfaces inherited from interface jmri.NamedBean
NamedBean.BadNameException, NamedBean.BadSystemNameException, NamedBean.BadUserNameException, NamedBean.DisplayOptions, NamedBean.DuplicateSystemNameException
-
-
Field Summary
-
Fields inherited from class jmri.implementation.AbstractNamedBean
listenerRefs, mSystemName, register
-
Fields inherited from interface jmri.NamedBean
DISPLAY_NAME_FORMAT, INCONSISTENT, PROPERTY_STATE, QUOTED_NAME_FORMAT, UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description DefaultCurrentMeter(java.lang.String sys, Meter.Unit unit, double min, double max, double resolution, MeterUpdateTask updateTask)
-
Method Summary
-
Methods inherited from class jmri.implementation.DefaultMeter
cutOutOfBoundsValues, disable, dispose, enable, getAbsoluteOrRelative, getBeanType, getMax, getMin, getResolution, getState, getUnit, requestUpdateFromLayout, sendValueToLayout, setState
-
Methods inherited from class jmri.implementation.AbstractAnalogIO
compareSystemNameSuffix, getCommandedAnalogValue, getKnownAnalogValue, getState, setCommandedAnalogValue, setState, setValue
-
Methods inherited from class jmri.implementation.AbstractNamedBean
addPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListener, describeState, equals, firePropertyChange, getComment, getDisplayName, getDisplayName, getListenerRef, getListenerRefs, getNumPropertyChangeListeners, getProperty, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeListenersByReference, getPropertyKeys, getSystemName, getUserName, hashCode, removeProperty, removePropertyChangeListener, removePropertyChangeListener, setComment, setProperty, setUserName, toString, toStringSuffix, updateListenerRef, vetoableChange
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jmri.AnalogIO
getAbsoluteOrRelative, getCommandedAnalogValue, getKnownAnalogValue, getMax, getMin, getResolution, getState, isConsistentValue, requestUpdateFromLayout, setCommandedAnalogValue, setState
-
Methods inherited from interface jmri.NamedBean
addPropertyChangeListener, addPropertyChangeListener, compareSystemNameSuffix, compareTo, describeState, getBeanType, getComment, getDisplayName, getDisplayName, getListenerRef, getListenerRefs, getNumPropertyChangeListeners, getProperty, getPropertyChangeListenersByReference, getPropertyKeys, getRecommendedToolTip, getState, getSystemName, getUsageReport, getUserName, removeProperty, setComment, setProperty, setState, setUserName, toString, updateListenerRef, vetoableChange
-
Methods inherited from interface jmri.beans.PropertyChangeProvider
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
-
-
-
Constructor Detail
-
DefaultCurrentMeter
public DefaultCurrentMeter(@Nonnull java.lang.String sys, Meter.Unit unit, double min, double max, double resolution, MeterUpdateTask updateTask)
-
-