Class Application

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class Application extends DocumentedDistribution2<Options,OptionsGui>
See Also:
  • Field Details

    • linkWindow

      protected JFrame linkWindow
    • linkEditor

      protected JEditorPane linkEditor
    • COLOR_BG_VALID

      public final Color COLOR_BG_VALID
    • COLOR_INVALID

      public final Color COLOR_INVALID
    • COLOR_TAB_VALID

      public final Color COLOR_TAB_VALID
    • STRING_NEW_INPUT_CYCLE

      public static String STRING_NEW_INPUT_CYCLE
    • TAB_INDEX_XML_RESULT

      public static final int TAB_INDEX_XML_RESULT
      The index of the xml output pane.
      See Also:
    • TABSTART_RESULT_TABS

      public static final int TABSTART_RESULT_TABS
      The lowest index of the generated text result display tabs.
      See Also:
    • tabXml

      protected JLabel tabXml
      Needed for "invalidate" etc.
  • Constructor Details

    • Application

      protected Application()
  • Method Details

    • showLinks

      protected void showLinks()
    • executeBatchOperation

      protected void executeBatchOperation()
      Execute the services as defined in base.Main.
      Specified by:
      executeBatchOperation in class DocumentedDistribution2<Options,OptionsGui>
    • completeGuiPopulation

      protected void completeGuiPopulation()
      Description copied from class: DocumentedDistribution2
      Call-back method to be overridden whenever the subclass wants to add further items after the gui has been constructed and populated. Is executed in the Swing thread.
      Specified by:
      completeGuiPopulation in class DocumentedDistribution2<Options,OptionsGui>
    • addUserMenuItems

      protected void addUserMenuItems()
      Description copied from class: DocumentedDistribution2
      Call-back method to be overridden whenever the subclass wants to add further items to the main menu bar. Is called after menu-component "[0] = file" is created, but the right-most ("language" and "help") are not yet existing. Is executed in the Swing thread.
      Specified by:
      addUserMenuItems in class DocumentedDistribution2<Options,OptionsGui>
    • selectExampleOptions

      protected void selectExampleOptions(String example)
      Callback when the user selects a pre-factored example from the "Help" menu. Basically the option model and gui shall be adjusted, but here also the source texts are read into the text editors immediately, for disk-less editing and procesing.
      Overrides:
      selectExampleOptions in class DocumentedDistribution2<Options,OptionsGui>
      Parameters:
      example - the name from the menu which identifies the example. Can be =null iff there is only one example.
    • addUserPagesToTabbedPane

      protected void addUserPagesToTabbedPane()
      Add more panes to the top-level tab pane. Sequence is
          main  batch  d2d  xml  [varying outputs] defs def messages
        
      Specified by:
      addUserPagesToTabbedPane in class DocumentedDistribution2<Options,OptionsGui>
    • main

      public static void main(String[] args)