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) VariableValuePaneProgDp3Action. extendAddr(package private) VariableValuePaneProgDp3Action. primaryAddr -
Uses of VariableValue in jmri.jmrit.symbolicprog
Subclasses of VariableValue in jmri.jmrit.symbolicprog Modifier and Type Class Description classCompositeVariableValueExtends EnumVariableValue to represent a composition of variable values.classConstantValueExtends VariableValue to represent a constant enum-like-thing.classDecVariableValueDecimal representation of a value.classEnumVariableValueExtends VariableValue to represent an enumerated variable.classHexVariableValueLikeDecVariableValue, except that the string representation is in hexadecimal.classLongAddrVariableValueExtends VariableValue to represent an NMRA long address.classShortAddrVariableValueRepresentation of a short address (CV1).classSpeedTableVarValueRepresent an entire speed table as a single Variable.classSplitDateTimeVariableValueLikeSplitVariableValue, except that the string representation is a date and time relative to a given epoch start date.classSplitEnumVariableValueExtends 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)
Themaskattribute 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.classSplitHexVariableValueLikeSplitVariableValue, except that the string representation is in hexadecimal
All the attributes ofSplitVariableValueare inherited.classSplitHundredsVariableValueLikeSplitVariableValue, except that the string representation is split out into 100's in each CV (up to two in this first implementation)
All the attributes ofSplitVariableValueare inherited.classSplitTextVariableValueLikeSplitVariableValue, except that the string representation is text.classSplitVariableValueExtends VariableValue to represent a variable split across multiple CVs.Fields in jmri.jmrit.symbolicprog declared as VariableValue Modifier and Type Field Description (package private) VariableValueComboRadioButtons. _var(package private) VariableValueDccAddressPanel. extendAddr(package private) VariableValueDccAddressPanel. primaryAddr(package private) VariableValueValueQualifier. qualifiedVal(package private) VariableValueCompositeVariableValue.Setting. variable(package private) VariableValueAbstractQualifier. watchedValFields in jmri.jmrit.symbolicprog with type parameters of type VariableValue Modifier and Type Field Description (package private) java.util.HashSet<VariableValue>CompositeVariableValue. variablesMethods in jmri.jmrit.symbolicprog that return VariableValue Modifier and Type Method Description VariableValueVariableTableModel. findVar(java.lang.String name)Returns the (first) variable that matches a given name string.VariableValueVariableTableModel. getVariable(int row)VariableValueAbstractQualifier. getWatchedVariable()protected VariableValueVariableTableModel. 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 VariableValueVariableTableModel. 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 VariableValueVariableTableModel. 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 VariableValueVariableTableModel. 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 VariableValueVariableTableModel. 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 VariableValueVariableTableModel. 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 VariableValueVariableTableModel. 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 VariableValueVariableTableModel. 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 VariableValueVariableTableModel. 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 VariableValueVariableTableModel. 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 VariableValueVariableTableModel. 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 VariableValueVariableTableModel. 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 VariableValueVariableTableModel. 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 voidCompositeVariableValue. addSetting(java.lang.String choice, java.lang.String varName, VariableValue variable, java.lang.String value)Add a setting to an existing choice.(package private) voidCompositeVariableValue.SettingList. addSetting(java.lang.String varName, VariableValue variable, java.lang.String value)protected abstract QualifierQualifierAdder. createQualifier(VariableValue var, java.lang.String relation, java.lang.String value)Invoked to create the qualifier object and connect as needed.protected booleanCsvExportVariablesAction. isWritable(VariableValue var)Decide whether a given Variable should be written out.protected voidVariableTableModel. 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) booleanVariableTableModel. setDefaultValue(org.jdom2.Element e, VariableValue variable)If there's a "default" attribute, or matching defaultItem element, set that value to start.protected voidVariableTableModel. 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) VariableValuePaneProgPane. _programmingVar(package private) VariableValuePaneProgFrame. extendAddr(package private) VariableValuePaneProgFrame. primaryAddrMethods in jmri.jmrit.symbolicprog.tabbedframe with parameters of type VariableValue Modifier and Type Method Description (package private) voidPaneProgPane. executeRead(VariableValue var)(package private) voidPaneProgPane. executeWrite(VariableValue var)(package private) java.lang.StringPaneProgPane. 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)
-