Uses of Class
jmri.jmrit.symbolicprog.VariableValue
-
Packages that use VariableValue Package Description apps.gui3.dp3 The current DecoderPro application, previously known as DecoderPro3.jmri.jmrit.symbolicprog Basic support for advanced programming, primarily used by DecoderPro.jmri.jmrit.symbolicprog.tabbedframe -
-
Uses of VariableValue in apps.gui3.dp3
Fields in apps.gui3.dp3 declared as VariableValue Modifier and Type Field Description (package private) VariableValue
PaneProgDp3Action. extendAddr
(package private) VariableValue
PaneProgDp3Action. primaryAddr
-
Uses of VariableValue in jmri.jmrit.symbolicprog
Subclasses of VariableValue in jmri.jmrit.symbolicprog Modifier and Type Class Description class
CompositeVariableValue
Extends EnumVariableValue to represent a composition of variable values.class
ConstantValue
Extends VariableValue to represent a constant enum-like-thing.class
DecVariableValue
Decimal representation of a value.class
EnumVariableValue
Extends VariableValue to represent an enumerated variable.class
HexVariableValue
LikeDecVariableValue
, except that the string representation is in hexadecimal.class
LongAddrVariableValue
Extends VariableValue to represent an NMRA long address.class
ShortAddrVariableValue
Representation of a short address (CV1).class
SpeedTableVarValue
Represent an entire speed table as a single Variable.class
SplitDateTimeVariableValue
LikeSplitVariableValue
, except that the string representation is a date and time relative to a given epoch start date.class
SplitEnumVariableValue
Extends VariableValue to represent a variable split across multiple CVs with values from a pre-selected range each of which is associated with a text name (aka, a drop down)
Themask
attribute represents the part of the value that's present in each CV; higher-order bits are loaded to subsequent CVs.
It is possible to assign a specific mask for each CV by providing a space separated list of masks, starting with the lowest, and matching the order of CVs
The original use was for addresses of stationary (accessory) decoders.class
SplitHexVariableValue
LikeSplitVariableValue
, except that the string representation is in hexadecimal
All the attributes ofSplitVariableValue
are inherited.class
SplitHundredsVariableValue
LikeSplitVariableValue
, except that the string representation is split out into 100's in each CV (up to two in this first implementation)
All the attributes ofSplitVariableValue
are inherited.class
SplitTextVariableValue
LikeSplitVariableValue
, except that the string representation is text.class
SplitVariableValue
Extends VariableValue to represent a variable split across multiple CVs.Fields in jmri.jmrit.symbolicprog declared as VariableValue Modifier and Type Field Description (package private) VariableValue
ComboRadioButtons. _var
(package private) VariableValue
DccAddressPanel. extendAddr
(package private) VariableValue
DccAddressPanel. primaryAddr
(package private) VariableValue
ValueQualifier. qualifiedVal
(package private) VariableValue
CompositeVariableValue.Setting. variable
(package private) VariableValue
AbstractQualifier. watchedVal
Fields in jmri.jmrit.symbolicprog with type parameters of type VariableValue Modifier and Type Field Description (package private) java.util.HashSet<VariableValue>
CompositeVariableValue. variables
Methods in jmri.jmrit.symbolicprog that return VariableValue Modifier and Type Method Description VariableValue
VariableTableModel. findVar(java.lang.String name)
Returns the (first) variable that matches a given name string.VariableValue
VariableTableModel. getVariable(int row)
VariableValue
AbstractQualifier. getWatchedVariable()
protected VariableValue
VariableTableModel. processCompositeVal(org.jdom2.Element child, java.lang.String name, java.lang.String comment, boolean readOnly, boolean infoOnly, boolean writeOnly, boolean opsOnly, java.lang.String CV, java.lang.String mask, java.lang.String item)
protected VariableValue
VariableTableModel. processDecVal(org.jdom2.Element child, java.lang.String name, java.lang.String comment, boolean readOnly, boolean infoOnly, boolean writeOnly, boolean opsOnly, java.lang.String CV, java.lang.String mask, java.lang.String item)
protected VariableValue
VariableTableModel. processEnumVal(org.jdom2.Element child, java.lang.String name, java.lang.String comment, boolean readOnly, boolean infoOnly, boolean writeOnly, boolean opsOnly, java.lang.String CV, java.lang.String mask, java.lang.String item)
protected VariableValue
VariableTableModel. processHexVal(org.jdom2.Element child, java.lang.String name, java.lang.String comment, boolean readOnly, boolean infoOnly, boolean writeOnly, boolean opsOnly, java.lang.String CV, java.lang.String mask, java.lang.String item)
protected VariableValue
VariableTableModel. processLongAddressVal(java.lang.String CV, boolean readOnly, boolean infoOnly, boolean writeOnly, java.lang.String name, java.lang.String comment, boolean opsOnly, java.lang.String mask, java.lang.String item)
protected VariableValue
VariableTableModel. processShortAddressVal(java.lang.String name, java.lang.String comment, boolean readOnly, boolean infoOnly, boolean writeOnly, boolean opsOnly, java.lang.String CV, java.lang.String mask, java.lang.String item, org.jdom2.Element child)
protected VariableValue
VariableTableModel. processSpeedTableVal(org.jdom2.Element child, java.lang.String CV, boolean readOnly, boolean infoOnly, boolean writeOnly, java.lang.String name, java.lang.String comment, boolean opsOnly, java.lang.String mask, java.lang.String item)
protected VariableValue
VariableTableModel. processSplitDateTimeVal(org.jdom2.Element child, java.lang.String CV, boolean readOnly, boolean infoOnly, boolean writeOnly, java.lang.String name, java.lang.String comment, boolean opsOnly, java.lang.String mask, java.lang.String item)
protected VariableValue
VariableTableModel. processSplitEnumVal(org.jdom2.Element child, java.lang.String CV, boolean readOnly, boolean infoOnly, boolean writeOnly, java.lang.String name, java.lang.String comment, boolean opsOnly, java.lang.String mask, java.lang.String item)
protected VariableValue
VariableTableModel. processSplitHexVal(org.jdom2.Element child, java.lang.String CV, boolean readOnly, boolean infoOnly, boolean writeOnly, java.lang.String name, java.lang.String comment, boolean opsOnly, java.lang.String mask, java.lang.String item)
protected VariableValue
VariableTableModel. processSplitHundredsVal(org.jdom2.Element child, java.lang.String CV, boolean readOnly, boolean infoOnly, boolean writeOnly, java.lang.String name, java.lang.String comment, boolean opsOnly, java.lang.String mask, java.lang.String item)
protected VariableValue
VariableTableModel. processSplitTextVal(org.jdom2.Element child, java.lang.String CV, boolean readOnly, boolean infoOnly, boolean writeOnly, java.lang.String name, java.lang.String comment, boolean opsOnly, java.lang.String mask, java.lang.String item)
protected VariableValue
VariableTableModel. processSplitVal(org.jdom2.Element child, java.lang.String CV, boolean readOnly, boolean infoOnly, boolean writeOnly, java.lang.String name, java.lang.String comment, boolean opsOnly, java.lang.String mask, java.lang.String item)
Methods in jmri.jmrit.symbolicprog with parameters of type VariableValue Modifier and Type Method Description void
CompositeVariableValue. addSetting(java.lang.String choice, java.lang.String varName, VariableValue variable, java.lang.String value)
Add a setting to an existing choice.(package private) void
CompositeVariableValue.SettingList. addSetting(java.lang.String varName, VariableValue variable, java.lang.String value)
protected abstract Qualifier
QualifierAdder. createQualifier(VariableValue var, java.lang.String relation, java.lang.String value)
Invoked to create the qualifier object and connect as needed.protected boolean
CsvExportVariablesAction. isWritable(VariableValue var)
Decide whether a given Variable should be written out.protected void
VariableTableModel. processModifierElements(org.jdom2.Element e, VariableValue variable)
If there are any modifier elements, process them by e.g. setting attributes on the VariableValue.(package private) boolean
VariableTableModel. setDefaultValue(org.jdom2.Element e, VariableValue variable)
If there's a "default" attribute, or matching defaultItem element, set that value to start.protected void
VariableTableModel. setToolTip(org.jdom2.Element e, VariableValue v)
Constructors in jmri.jmrit.symbolicprog with parameters of type VariableValue Constructor Description AbstractQualifier(VariableValue watchedVal)
ArithmeticQualifier(VariableValue watchedVal, int value, java.lang.String relation)
DccAddressVarHandler(VariableValue primaryAddr, VariableValue extendAddr, EnumVariableValue addMode)
Setting(java.lang.String varName, VariableValue variable, java.lang.String value)
ValueQualifier(VariableValue qualifiedVal, VariableValue watchedVal, int value, java.lang.String relation)
-
Uses of VariableValue in jmri.jmrit.symbolicprog.tabbedframe
Fields in jmri.jmrit.symbolicprog.tabbedframe declared as VariableValue Modifier and Type Field Description (package private) VariableValue
PaneProgPane. _programmingVar
(package private) VariableValue
PaneProgFrame. extendAddr
(package private) VariableValue
PaneProgFrame. primaryAddr
Methods in jmri.jmrit.symbolicprog.tabbedframe with parameters of type VariableValue Modifier and Type Method Description (package private) void
PaneProgPane. executeRead(VariableValue var)
(package private) void
PaneProgPane. executeWrite(VariableValue var)
(package private) java.lang.String
PaneProgPane. modifyToolTipText(java.lang.String start, VariableValue variable)
Takes default tool tip text, e.g. from the decoder element, and modifies it as needed.Constructors in jmri.jmrit.symbolicprog.tabbedframe with parameters of type VariableValue Constructor Description JComponentQualifier(javax.swing.JComponent component, VariableValue watchedVal, int value, java.lang.String relation)
PaneQualifier(PaneProgPane qualifiedPane, VariableValue watchedVal, int value, java.lang.String relation, javax.swing.JTabbedPane tabPane, int index)
-