congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
AbstractTabbedUI.setJMenuBar
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.jfree/com.springsource.org.jfree

/**
 * Sets the global menu flag.
 * 
 * @param globalMenu  the flag.
 */
public void setGlobalMenu(final boolean globalMenu) {
  this.globalMenu = globalMenu;
  if (isGlobalMenu()) {
    setJMenuBar(updateGlobalMenubar());
  }
  else {
    if (getRootEditorCount () > 0) {
     setJMenuBar(createEditorMenubar(getRootEditor(getSelectedEditor())));
    }
  }
}
origin: jfree/jcommon

/**
 * Sets the global menu flag.
 * 
 * @param globalMenu  the flag.
 */
public void setGlobalMenu(final boolean globalMenu) {
  this.globalMenu = globalMenu;
  if (isGlobalMenu()) {
    setJMenuBar(updateGlobalMenubar());
  }
  else {
    if (getRootEditorCount () > 0) {
     setJMenuBar(createEditorMenubar(getRootEditor(getSelectedEditor())));
    }
  }
}
origin: org.jfree/jcommon

/**
 * Sets the global menu flag.
 * 
 * @param globalMenu  the flag.
 */
public void setGlobalMenu(final boolean globalMenu) {
  this.globalMenu = globalMenu;
  if (isGlobalMenu()) {
    setJMenuBar(updateGlobalMenubar());
  }
  else {
    if (getRootEditorCount () > 0) {
     setJMenuBar(createEditorMenubar(getRootEditor(getSelectedEditor())));
    }
  }
}
origin: jfree/jcommon

if ((container.isActive() == false) && (shouldBeActive == true)) {
  container.setActive(true);
  setJMenuBar(createEditorMenubar(container));
  this.currentToolbar = container.getToolbar();
  if (this.currentToolbar != null) {
origin: org.jfree/jcommon

if ((container.isActive() == false) && (shouldBeActive == true)) {
  container.setActive(true);
  setJMenuBar(createEditorMenubar(container));
  this.currentToolbar = container.getToolbar();
  if (this.currentToolbar != null) {
origin: org.jfree/com.springsource.org.jfree

if ((container.isActive() == false) && (shouldBeActive == true)) {
  container.setActive(true);
  setJMenuBar(createEditorMenubar(container));
  this.currentToolbar = container.getToolbar();
  if (this.currentToolbar != null) {
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.tabbeduiAbstractTabbedUIsetJMenuBar

Javadoc

Sets the menu bar.

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,
  • setLayout,
  • setSelectedEditor,
  • updateGlobalMenubar

Popular in Java

  • Making http requests using okhttp
  • getSystemService (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • compareTo (BigDecimal)
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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