Tabnine Logo
RootEditor.isEnabled
Code IndexAdd Tabnine to your IDE (free)

How to use
isEnabled
method
in
org.jfree.ui.tabbedui.RootEditor

Best Java code snippets using org.jfree.ui.tabbedui.RootEditor.isEnabled (Showing top 3 results out of 315)

origin: jfree/jcommon

  /**
   * Update handler for the enable state of the root editor.
   * 
   * @param editor  the editor.
   */
  protected void updateRootEditorEnabled(final RootEditor editor) {

    final boolean enabled = editor.isEnabled();
    for (int i = 0; i < this.tabbedPane.getTabCount(); i++) {
      final Component tab = this.tabbedPane.getComponentAt(i);
      if (tab == editor.getMainPanel()) {
        this.tabbedPane.setEnabledAt(i, enabled);
        return;
      }
    }
  }
}
origin: org.jfree/com.springsource.org.jfree

  /**
   * Update handler for the enable state of the root editor.
   * 
   * @param editor  the editor.
   */
  protected void updateRootEditorEnabled(final RootEditor editor) {

    final boolean enabled = editor.isEnabled();
    for (int i = 0; i < this.tabbedPane.getTabCount(); i++) {
      final Component tab = this.tabbedPane.getComponentAt(i);
      if (tab == editor.getMainPanel()) {
        this.tabbedPane.setEnabledAt(i, enabled);
        return;
      }
    }
  }
}
origin: org.jfree/jcommon

  /**
   * Update handler for the enable state of the root editor.
   * 
   * @param editor  the editor.
   */
  protected void updateRootEditorEnabled(final RootEditor editor) {

    final boolean enabled = editor.isEnabled();
    for (int i = 0; i < this.tabbedPane.getTabCount(); i++) {
      final Component tab = this.tabbedPane.getComponentAt(i);
      if (tab == editor.getMainPanel()) {
        this.tabbedPane.setEnabledAt(i, enabled);
        return;
      }
    }
  }
}
org.jfree.ui.tabbeduiRootEditorisEnabled

Javadoc

Checks, whether this root editor is enabled.

Popular methods of RootEditor

  • addPropertyChangeListener
    Adds a property change listener.
  • getEditorName
    Returns the editor name.
  • getMainPanel
    Returns the main panel.
  • getMenus
    Returns the menus.
  • getToolbar
    Returns the toolbar.
  • isActive
    Returns the active or inactive status of the editor.
  • setActive
    Sets the editor active or inactive.

Popular in Java

  • Updating database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JCheckBox (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Join (org.hibernate.mapping)
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now