Class EditorView

All Implemented Interfaces:
IExtendable, ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
DividedEditorView, FindAndReplaceEditorView, IPALookupView, MediaPlayerEditorView, PhonTalkDebugView, RecordDataEditorView, SessionCheckView, SessionInfoEditorView, SpeechAnalysisEditorView, SyllabificationAlignmentEditorView, TierOrderingEditorView, TimelineView, ValidationEditorView

public abstract class EditorView extends JPanel implements IExtendable
A view in the SessionEditor. Each editor view displays a different view of the current session/record data.
See Also:
  • Constructor Details

  • Method Details

    • getEditor

      public SessionEditor getEditor()
      Get the parent editor
      Returns:
    • getName

      public abstract String getName()
      View name
      Overrides:
      getName in class Component
      Returns:
      the view name
    • getIcon

      public abstract ImageIcon getIcon()
      View icon
      Returns:
      view icon
    • getMenu

      public abstract JMenu getMenu()
      Get the menu for the view (if any)
      Returns:
      menu for the view or null if this view does not have a menu
    • addEditorViewListener

      public void addEditorViewListener(EditorViewListener listener)
      Add editor view listener
      Parameters:
      listener -
    • removeEditorViewListner

      public void removeEditorViewListner(EditorViewListener listener)
      Remove editor view listener
      Parameters:
      listener -
    • getEditorViewListeners

      public EditorViewListener[] getEditorViewListeners()
      Get editor view listeners
      Returns:
      editor view listeners
    • getPreferredDockPosition

      public DockPosition getPreferredDockPosition()
      Gets the preferred dock position for the view
      Returns:
      preferred dock position
    • setPreferredDockPosition

      public void setPreferredDockPosition(DockPosition dockPosition)
      Sets the preferred dock position for the view
      Parameters:
      dockPosition -
    • initExtensions

      public void initExtensions()
    • getExtensions

      public Set<Class<?>> getExtensions()
      Description copied from interface: IExtendable
      Return all extension types supported
      Specified by:
      getExtensions in interface IExtendable
    • getExtension

      public <T> T getExtension(Class<T> cap)
      Description copied from interface: IExtendable
      Get the requested extension if available.
      Specified by:
      getExtension in interface IExtendable
      Returns:
      the capability object or null if the cability is not available
    • putExtension

      public <T> T putExtension(Class<T> cap, T impl)
      Description copied from interface: IExtendable
      Add a new extension.
      Specified by:
      putExtension in interface IExtendable
      Parameters:
      cap - the extension to add
      Returns:
      the added extension implementation
    • removeExtension

      public <T> T removeExtension(Class<T> cap)
      Description copied from interface: IExtendable
      Remove a capability.
      Specified by:
      removeExtension in interface IExtendable
      Parameters:
      cap - the capability to remove