Codota Logo
RootEditor.getMenus
Code IndexAdd Codota to your IDE (free)

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

Best Java code snippets using org.jfree.ui.tabbedui.RootEditor.getMenus (Showing top 6 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: org.jfree/jcommon

/**
 * Updates the global menu bar.
 * @return the fully initialized menu bar.
 */
private JMenuBar updateGlobalMenubar () {
 JMenuBar menuBar = getJMenuBar();
 if (menuBar == null) {
   menuBar = new JMenuBar();
 }
 else {
   menuBar.removeAll();
 }
 addMenus(menuBar, getPrefixMenus());
 for (int i = 0; i < this.rootEditors.size(); i++)
 {
   final RootEditor editor = (RootEditor) this.rootEditors.get(i);
   addMenus(menuBar, editor.getMenus());
 }
 addMenus(menuBar, getPostfixMenus());
 return menuBar;
}
origin: jfree/jcommon

/**
 * Updates the global menu bar.
 * @return the fully initialized menu bar.
 */
private JMenuBar updateGlobalMenubar () {
 JMenuBar menuBar = getJMenuBar();
 if (menuBar == null) {
   menuBar = new JMenuBar();
 }
 else {
   menuBar.removeAll();
 }
 addMenus(menuBar, getPrefixMenus());
 for (int i = 0; i < this.rootEditors.size(); i++)
 {
   final RootEditor editor = (RootEditor) this.rootEditors.get(i);
   addMenus(menuBar, editor.getMenus());
 }
 addMenus(menuBar, getPostfixMenus());
 return menuBar;
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Updates the global menu bar.
 * @return the fully initialized menu bar.
 */
private JMenuBar updateGlobalMenubar () {
 JMenuBar menuBar = getJMenuBar();
 if (menuBar == null) {
   menuBar = new JMenuBar();
 }
 else {
   menuBar.removeAll();
 }
 addMenus(menuBar, getPrefixMenus());
 for (int i = 0; i < this.rootEditors.size(); i++)
 {
   final RootEditor editor = (RootEditor) this.rootEditors.get(i);
   addMenus(menuBar, editor.getMenus());
 }
 addMenus(menuBar, getPostfixMenus());
 return menuBar;
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Creates a menu bar.
 *
 * @param root
 * @return A menu bar.
 */
private JMenuBar createEditorMenubar(final RootEditor root) {
  JMenuBar menuBar = getJMenuBar();
  if (menuBar == null) {
    menuBar = new JMenuBar();
  }
  else {
    menuBar.removeAll();
  }
  addMenus(menuBar, getPrefixMenus());
  if (isGlobalMenu())
  {
    for (int i = 0; i < this.rootEditors.size(); i++)
    {
      final RootEditor editor = (RootEditor) this.rootEditors.get(i);
      addMenus(menuBar, editor.getMenus());
    }
  }
  else
  {
    addMenus(menuBar, root.getMenus());
  }
  addMenus(menuBar, getPostfixMenus());
  return menuBar;
}
origin: jfree/jcommon

/**
 * Creates a menu bar.
 *
 * @param root
 * @return A menu bar.
 */
private JMenuBar createEditorMenubar(final RootEditor root) {
  JMenuBar menuBar = getJMenuBar();
  if (menuBar == null) {
    menuBar = new JMenuBar();
  }
  else {
    menuBar.removeAll();
  }
  addMenus(menuBar, getPrefixMenus());
  if (isGlobalMenu())
  {
    for (int i = 0; i < this.rootEditors.size(); i++)
    {
      final RootEditor editor = (RootEditor) this.rootEditors.get(i);
      addMenus(menuBar, editor.getMenus());
    }
  }
  else
  {
    addMenus(menuBar, root.getMenus());
  }
  addMenus(menuBar, getPostfixMenus());
  return menuBar;
}
origin: org.jfree/jcommon

/**
 * Creates a menu bar.
 *
 * @param root
 * @return A menu bar.
 */
private JMenuBar createEditorMenubar(final RootEditor root) {
  JMenuBar menuBar = getJMenuBar();
  if (menuBar == null) {
    menuBar = new JMenuBar();
  }
  else {
    menuBar.removeAll();
  }
  addMenus(menuBar, getPrefixMenus());
  if (isGlobalMenu())
  {
    for (int i = 0; i < this.rootEditors.size(); i++)
    {
      final RootEditor editor = (RootEditor) this.rootEditors.get(i);
      addMenus(menuBar, editor.getMenus());
    }
  }
  else
  {
    addMenus(menuBar, root.getMenus());
  }
  addMenus(menuBar, getPostfixMenus());
  return menuBar;
}
org.jfree.ui.tabbeduiRootEditorgetMenus

Javadoc

Returns the menus.

Popular methods of RootEditor

  • addPropertyChangeListener
    Adds a property change listener.
  • getEditorName
    Returns the editor name.
  • getMainPanel
    Returns the main panel.
  • getToolbar
    Returns the toolbar.
  • isActive
    Returns the active or inactive status of the editor.
  • isEnabled
    Checks, whether this root editor is enabled.
  • setActive
    Sets the editor active or inactive.

Popular in Java

  • Updating database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • setContentView (Activity)
  • String (java.lang)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
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