Codota Logo
RootEditor.isEnabled
Code IndexAdd Codota 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)

  • Common ways to obtain RootEditor
private void myMethod () {
RootEditor r =
  • Codota IconAbstractTabbedUI abstractTabbedUI;(RootEditor) abstractTabbedUI.rootEditors.get(index)
  • Codota IconPropertyChangeEvent propertyChangeEvent;(RootEditor) propertyChangeEvent.getSource()
  • Smart code suggestions by Codota
}
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

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • getContentResolver (Context)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Notification (javax.management)
  • JFileChooser (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Option (scala)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now