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

  • Running tasks concurrently on multiple threads
  • getSupportFragmentManager (FragmentActivity)
  • getContentResolver (Context)
  • findViewById (Activity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Reference (javax.naming)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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