Codota Logo
AbstractTabbedUI.updateRootEditorEnabled
Code IndexAdd Codota to your IDE (free)

How to use
updateRootEditorEnabled
method
in
org.jfree.ui.tabbedui.AbstractTabbedUI

Best Java code snippets using org.jfree.ui.tabbedui.AbstractTabbedUI.updateRootEditorEnabled (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: org.jfree/com.springsource.org.jfree

  /**
   * This method gets called when a bound property is changed.
   *
   * @param evt A PropertyChangeEvent object describing the event source
   *            and the property that has changed.
   */
  public void propertyChange(final PropertyChangeEvent evt) {
    if (evt.getPropertyName().equals("enabled") == false) {
      Log.debug ("PropertyName");
      return;
    }
    if (evt.getSource() instanceof RootEditor == false) {
      Log.debug ("Source");
      return;
    }
    final RootEditor editor = (RootEditor) evt.getSource();
    updateRootEditorEnabled(editor);
  }
}
origin: jfree/jcommon

  /**
   * This method gets called when a bound property is changed.
   *
   * @param evt A PropertyChangeEvent object describing the event source
   *            and the property that has changed.
   */
  public void propertyChange(final PropertyChangeEvent evt) {
    if (evt.getPropertyName().equals("enabled") == false) {
      Log.debug ("PropertyName");
      return;
    }
    if (evt.getSource() instanceof RootEditor == false) {
      Log.debug ("Source");
      return;
    }
    final RootEditor editor = (RootEditor) evt.getSource();
    updateRootEditorEnabled(editor);
  }
}
origin: org.jfree/jcommon

  /**
   * This method gets called when a bound property is changed.
   *
   * @param evt A PropertyChangeEvent object describing the event source
   *            and the property that has changed.
   */
  public void propertyChange(final PropertyChangeEvent evt) {
    if (evt.getPropertyName().equals("enabled") == false) {
      Log.debug ("PropertyName");
      return;
    }
    if (evt.getSource() instanceof RootEditor == false) {
      Log.debug ("Source");
      return;
    }
    final RootEditor editor = (RootEditor) evt.getSource();
    updateRootEditorEnabled(editor);
  }
}
origin: jfree/jcommon

/**
 * Adds a root editor.
 *
 * @param rootPanel the root panel.
 */
public void addRootEditor(final RootEditor rootPanel) {
  this.rootEditors.add(rootPanel);
  this.tabbedPane.add(rootPanel.getEditorName(), rootPanel.getMainPanel());
  rootPanel.addPropertyChangeListener("enabled", new TabEnableChangeListener());
  updateRootEditorEnabled(rootPanel);
  if (getRootEditorCount () == 1) {
    setSelectedEditor(0);
  }
  else if (isGlobalMenu()) {
    setJMenuBar(updateGlobalMenubar());
  }
}
origin: org.jfree/jcommon

/**
 * Adds a root editor.
 *
 * @param rootPanel the root panel.
 */
public void addRootEditor(final RootEditor rootPanel) {
  this.rootEditors.add(rootPanel);
  this.tabbedPane.add(rootPanel.getEditorName(), rootPanel.getMainPanel());
  rootPanel.addPropertyChangeListener("enabled", new TabEnableChangeListener());
  updateRootEditorEnabled(rootPanel);
  if (getRootEditorCount () == 1) {
    setSelectedEditor(0);
  }
  else if (isGlobalMenu()) {
    setJMenuBar(updateGlobalMenubar());
  }
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Adds a root editor.
 *
 * @param rootPanel the root panel.
 */
public void addRootEditor(final RootEditor rootPanel) {
  this.rootEditors.add(rootPanel);
  this.tabbedPane.add(rootPanel.getEditorName(), rootPanel.getMainPanel());
  rootPanel.addPropertyChangeListener("enabled", new TabEnableChangeListener());
  updateRootEditorEnabled(rootPanel);
  if (getRootEditorCount () == 1) {
    setSelectedEditor(0);
  }
  else if (isGlobalMenu()) {
    setJMenuBar(updateGlobalMenubar());
  }
}
org.jfree.ui.tabbeduiAbstractTabbedUIupdateRootEditorEnabled

Javadoc

Update handler for the enable state of the root editor.

Popular methods of AbstractTabbedUI

  • add
  • addMenus
    Adds menus.
  • addPropertyChangeListener
  • attempExit
    Attempts to exit.
  • closeToolbar
    Closes the toolbar.
  • createCloseAction
    Creates a close action.
  • createEditorMenubar
    Creates a menu bar.
  • firePropertyChange
  • getCloseAction
    Returns the close action.
  • getJMenuBar
    Returns the menu bar.
  • getPostfixMenus
    The postfix menus.
  • getPrefixMenus
    Returns the prefix menus.
  • getPostfixMenus,
  • getPrefixMenus,
  • getRootEditor,
  • getRootEditorCount,
  • getSelectedEditor,
  • isGlobalMenu,
  • setJMenuBar,
  • setLayout,
  • setSelectedEditor,
  • updateGlobalMenubar

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • setContentView (Activity)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • JFrame (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
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