Tabnine Logo
RootEditor.getMenus
Code IndexAdd Tabnine 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)

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

  • Finding current android device location
  • getContentResolver (Context)
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Best plugins for Eclipse
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