jmri.jmrit.symbolicprog
Class HexVariableValue
java.lang.Object
jmri.jmrit.symbolicprog.AbstractValue
jmri.jmrit.symbolicprog.VariableValue
jmri.jmrit.symbolicprog.DecVariableValue
jmri.jmrit.symbolicprog.HexVariableValue
- All Implemented Interfaces:
- ActionListener, FocusListener, PropertyChangeListener, EventListener
public class HexVariableValue
- extends DecVariableValue
LIke DecVariableValue, except that the string representation is in hexadecimal
- Author:
- Bob Jacobsen Copyright (C) 2001
|
Constructor Summary |
HexVariableValue(String name,
String comment,
String cvName,
boolean readOnly,
boolean infoOnly,
boolean writeOnly,
boolean opsOnly,
int cvNum,
String mask,
int minVal,
int maxVal,
Vector<CvValue> v,
JLabel status,
String stdname)
|
| Methods inherited from class jmri.jmrit.symbolicprog.DecVariableValue |
dispose, focusGained, focusLost, getCommonRep, getIntValue, getNewRep, getValueObject, getValueString, isChanged, propertyChange, rangeVal, readAll, readChanges, setAvailable, setCvState, setIntValue, setToolTipText, usesCVs, writeAll, writeChanges |
| Methods inherited from class jmri.jmrit.symbolicprog.VariableValue |
confirmAll, considerChanged, cvName, getComment, getCvNum, getInfoOnly, getMask, getOpsOnly, getReadOnly, getState, getTextValue, getWriteOnly, isBusy, isToRead, isToWrite, item, label, maskVal, newValue, offsetVal, setBusy, setState, setToRead, setToWrite, updateRepresentation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HexVariableValue
public HexVariableValue(String name,
String comment,
String cvName,
boolean readOnly,
boolean infoOnly,
boolean writeOnly,
boolean opsOnly,
int cvNum,
String mask,
int minVal,
int maxVal,
Vector<CvValue> v,
JLabel status,
String stdname)
actionPerformed
public void actionPerformed(ActionEvent e)
- ActionListener implementations
- Specified by:
actionPerformed in interface ActionListener- Overrides:
actionPerformed in class DecVariableValue
setValue
public void setValue(int value)
- Description copied from class:
DecVariableValue
- Set a new value, including notification as needed. This does the
conversion from string to int, so if the place where formatting
needs to be applied
- Overrides:
setValue in class DecVariableValue
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: