Class MainFrame

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

public class MainFrame extends JFrame
Insert comment for enclosing_type here.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      The Constant serialVersionUID.
      See Also:
    • ts

      The ts.
    • selectedType

      private Type selectedType
      The selected type.
    • featureTable

      private JTable featureTable
      The feature table.
    • typeTree

      private JTree typeTree
      The type tree.
  • Constructor Details

    • MainFrame

      public MainFrame()
      Constructor for MainFrame.
      Throws:
      HeadlessException - -
    • MainFrame

      public MainFrame(GraphicsConfiguration gc)
      Constructor for MainFrame.
      Parameters:
      gc - the gc
    • MainFrame

      public MainFrame(String title)
      Constructor for MainFrame.
      Parameters:
      title - the title
      Throws:
      HeadlessException - -
    • MainFrame

      public MainFrame(String title, GraphicsConfiguration gc)
      Constructor for MainFrame.
      Parameters:
      title - the title
      gc - the gc
  • Method Details

    • init

      private void init()
      Inits the.
    • showAnnotFeats

      public void showAnnotFeats()
      Show annot feats.
    • createMenuBar

      private JMenuBar createMenuBar()
      Creates the menu bar.
      Returns:
      the j menu bar
    • updateFeatureTable

      private void updateFeatureTable()
      Update feature table.
    • createTypeTree

      private DefaultMutableTreeNode createTypeTree(Type type)
      Creates the type tree.
      Parameters:
      type - the type
      Returns:
      the default mutable tree node
    • updateTypeTree

      private void updateTypeTree()
      Update type tree.
    • getTreeModelListeners

      public static TreeModelListener[] getTreeModelListeners(DefaultTreeModel model)
      Gets the tree model listeners.
      Parameters:
      model - the model
      Returns:
      the tree model listeners
    • setTypeSystem

      public void setTypeSystem(TypeSystem ts)
      Sets the type system.
      Parameters:
      ts - the new type system
    • main

      public static void main(String[] args)
      The main method.
      Parameters:
      args - the arguments