Interface RootEditor

  • All Known Implementing Classes:
    RootPanel

    public interface RootEditor
    A root editor reprensents a tab in a TabbedUI.
    Author:
    Thomas Morgner
    • Method Detail

      • setActive

        void setActive​(boolean b)
        Sets the editor active or inactive.
        Parameters:
        b - a boolean.
      • isActive

        boolean isActive()
        Returns the active or inactive status of the editor.
        Returns:
        A boolean.
      • getEditorName

        String getEditorName()
        Returns the editor name.
        Returns:
        The editor name.
      • getMenus

        JMenu[] getMenus()
        Returns the menus.
        Returns:
        The menus.
      • getToolbar

        JComponent getToolbar()
        Returns the toolbar.
        Returns:
        The toolbar.
      • getMainPanel

        JComponent getMainPanel()
        Returns the main panel.
        Returns:
        The main panel.
      • isEnabled

        boolean isEnabled()
        Checks, whether this root editor is enabled.
        Returns:
        true, if the editor is enabled, false otherwise.
      • addPropertyChangeListener

        void addPropertyChangeListener​(String property,
                                       PropertyChangeListener l)
        Adds a property change listener.
        Parameters:
        property - the property name.
        l - the listener.
      • removePropertyChangeListener

        void removePropertyChangeListener​(String property,
                                          PropertyChangeListener l)
        Removes a property change listener.
        Parameters:
        property - the property name.
        l - the listener.
      • addPropertyChangeListener

        void addPropertyChangeListener​(PropertyChangeListener l)
        Adds a property change listener.
        Parameters:
        l - the listener.
      • removePropertyChangeListener

        void removePropertyChangeListener​(PropertyChangeListener l)
        Removes a property change listener.
        Parameters:
        l - the listener.