Package jmri.jmrix.loconet.sdfeditor

Provide GUI tools for editing an SDF file in memory.

The text for each of the editor panels comes from the "Explanations" properties set (see the Explanations.properties file in this package and its translations). The editors themselves are coded as subclasses of SdfMacroEditor, one per instruction type.

The line in the tree (left-side window) is from the toString method of the SdfMacro object.

Note that the editor is "live"; changing an option on an editor window changes the memory version of the instruction, including the disassembled version.

Related Documentation

The SDF information is manipulated using the jmri.jmrix.loconet.sdf package.
  • Class Summary 
    Class Description
    BranchToEditor
    Editor panel for the BRANCH_TO macro from the Digitrax sound definition language
    Bundle  
    ChannelStartEditor
    Editor panel for the CHANNEL_START macro from the Digitrax sound definition language
    CommentMacroEditor
    Editor panel for the SdfMacro for carrying a comment
    DelaySoundEditor
    Editor panel for the DELAY_SOUND macro from the Digitrax sound definition language
    EditorFrame
    Frame for editing Digitrax SDF files.
    EditorPane
    Pane for editing Digitrax SDF files.
    EndSoundEditor
    Editor panel for the END_SOUND.
    FourByteMacroEditor
    Editor panel for the generic four-byte macros from the Digitrax sound definition language
    GenerateTriggerEditor
    Editor panel for the GENERATE_TRIGGER macro from the Digitrax sound definition language
    InitiateSoundEditor
    Editor panel for the INITIATE_SOUND macro.
    LabelMacroEditor
    Editor panel for the SdfMacro for carrying a comment
    LoadModifierEditor
    Editor panel for the LOAD_MODIFIER macro from the Digitrax sound definition language Arg1: Upper 4 bits - math modifiers FMATH_LODE et al Arg2: Arg3:
    MaskCompareEditor
    Editor panel for the MASK_COMPARE macro from the Digitrax sound definition language
    MonitoringLabel
    Label which displays the contents of parameter messages.
    PlayEditor
    Editor panel for the PLAY macro from the Digitrax sound definition language
    SdfMacroEditor
    Common base for all the SDF macro editors.
    SdlVersionEditor
    Editor panel for the SDL_VERSION macro from the Digitrax sound definition language
    SkemeStartEditor
    Editor panel for the SKEME_START macro from the Digitrax sound definition language.
    SkipOnTriggerEditor
    Editor panel for the SKIP_ON_TRIGGER macro from the Digitrax sound definition language
    TwoByteMacroEditor
    Editor panel for the generic two-byte macros from the Digitrax sound definition language