Class GuiOptions

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class GuiOptions extends Gui
Generated source of a graphical user interface (GUI) for command line processing.
The parallel data model class is Options.
The normal way of operation is:
  1. Create a fresh instance of the GUI for one particular model by invoking makeInstance(Model).
  2. Let the user edit the widgets of the GUI by integrating it into an interactive Swing window architecture.
  3. (The state of the gui can any times be reset by model2view(Model).)
  4. Whenever a GUI interaction in this architecture requires some "action", copy the new values of the GUI into some Model object by invoking view2model(Model) and process them as usual.
For further details see the documentation of the methods inherited from super class Gui and to the user documentation.
Created on 2024-03-03_16h33m41
by program bandm/metatools/option/compiler, version 2.1
command line =
bandm/metatools/option/compiler Options.xml eu.bandm.tools.xslt.base Options GuiOptions $(HOME)/metatools/src
See Also:
  • Field Details

  • Constructor Details

    • GuiOptions

      protected GuiOptions()
  • Method Details

    • getModel

      public Options getModel()
      Description copied from class: Gui
      Overriden by generated code. Gives access to the corresponding Model object.
      Specified by:
      getModel in class Gui
    • makeInstance

      public GuiOptions makeInstance(Model model0)
      Description copied from class: Gui
      Overriden by generated code. Creates all necessary fields and initializes them.
      Specified by:
      makeInstance in class Gui
    • set_model

      public void set_model(Options model0)
    • populate

      public void populate()
      Description copied from class: Gui
      Callback function, overriden by generated code. Inserts the different labels and input widgets for options and their arguments into this. Does not yet fill in values.
      Specified by:
      populate in class Gui
    • model2view

      public void model2view(Model xmodel)
      Description copied from class: Gui
      Overriden by generated code. Copies all argumenta values from the Model into the GUI.
      Specified by:
      model2view in class Gui
    • view2model

      public void view2model(Model xmodel)
      Description copied from class: Gui
      Overriden by generated code. Copies all argumenta values from the GUI into the Model.
      Specified by:
      view2model in class Gui