Codota Logo
TabbedFrame
Code IndexAdd Codota to your IDE (free)

How to use
TabbedFrame
in
org.jfree.ui.tabbedui

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
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(AbstractTabbedUI.JMENUBAR_PROPERTY)) {
      setJMenuBar(getTabbedUI().getJMenuBar());
    }
  }
}
origin: jfree/jcommon

/**
 * Initialises the dialog.
 *
 * @param tabbedUI  the UI that controls the dialog.
 */
public void init(final AbstractTabbedUI tabbedUI) {
  this.tabbedUI = tabbedUI;
  this.tabbedUI.addPropertyChangeListener(
    AbstractTabbedUI.JMENUBAR_PROPERTY, new MenuBarChangeListener()
  );
  addWindowListener(new WindowAdapter() {
    public void windowClosing(final WindowEvent e) {
      getTabbedUI().getCloseAction().actionPerformed
        (new ActionEvent(this, ActionEvent.ACTION_PERFORMED, null, 0));
    }
  });
  final JPanel panel = new JPanel();
  panel.setLayout(new BorderLayout());
  panel.add(tabbedUI, BorderLayout.CENTER);
  setContentPane(panel);
  setJMenuBar(tabbedUI.getJMenuBar());
}
origin: org.jfree/com.springsource.org.jfree

  public void windowClosing(final WindowEvent e) {
    getTabbedUI().getCloseAction().actionPerformed
      (new ActionEvent(this, ActionEvent.ACTION_PERFORMED, null, 0));
  }
});
origin: org.jfree/com.springsource.org.jfree

/**
 * Initialises the dialog.
 *
 * @param tabbedUI  the UI that controls the dialog.
 */
public void init(final AbstractTabbedUI tabbedUI) {
  this.tabbedUI = tabbedUI;
  this.tabbedUI.addPropertyChangeListener(
    AbstractTabbedUI.JMENUBAR_PROPERTY, new MenuBarChangeListener()
  );
  addWindowListener(new WindowAdapter() {
    public void windowClosing(final WindowEvent e) {
      getTabbedUI().getCloseAction().actionPerformed
        (new ActionEvent(this, ActionEvent.ACTION_PERFORMED, null, 0));
    }
  });
  final JPanel panel = new JPanel();
  panel.setLayout(new BorderLayout());
  panel.add(tabbedUI, BorderLayout.CENTER);
  setContentPane(panel);
  setJMenuBar(tabbedUI.getJMenuBar());
}
origin: org.jfree/jcommon

  public void windowClosing(final WindowEvent e) {
    getTabbedUI().getCloseAction().actionPerformed
      (new ActionEvent(this, ActionEvent.ACTION_PERFORMED, null, 0));
  }
});
origin: org.jfree/jcommon

/**
 * Initialises the dialog.
 *
 * @param tabbedUI  the UI that controls the dialog.
 */
public void init(final AbstractTabbedUI tabbedUI) {
  this.tabbedUI = tabbedUI;
  this.tabbedUI.addPropertyChangeListener(
    AbstractTabbedUI.JMENUBAR_PROPERTY, new MenuBarChangeListener()
  );
  addWindowListener(new WindowAdapter() {
    public void windowClosing(final WindowEvent e) {
      getTabbedUI().getCloseAction().actionPerformed
        (new ActionEvent(this, ActionEvent.ACTION_PERFORMED, null, 0));
    }
  });
  final JPanel panel = new JPanel();
  panel.setLayout(new BorderLayout());
  panel.add(tabbedUI, BorderLayout.CENTER);
  setContentPane(panel);
  setJMenuBar(tabbedUI.getJMenuBar());
}
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(AbstractTabbedUI.JMENUBAR_PROPERTY)) {
      setJMenuBar(getTabbedUI().getJMenuBar());
    }
  }
}
origin: jfree/jcommon

  public void windowClosing(final WindowEvent e) {
    getTabbedUI().getCloseAction().actionPerformed
      (new ActionEvent(this, ActionEvent.ACTION_PERFORMED, null, 0));
  }
});
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(AbstractTabbedUI.JMENUBAR_PROPERTY)) {
      setJMenuBar(getTabbedUI().getJMenuBar());
    }
  }
}
org.jfree.ui.tabbeduiTabbedFrame

Javadoc

A JFrame implementation that uses a tabbed UI as backend.

Most used methods

  • addWindowListener
  • getTabbedUI
    Returns the UI implementation for the frame.
  • setContentPane
  • setJMenuBar

Popular in Java

  • Making http requests using okhttp
  • setScale (BigDecimal)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • requestLocationUpdates (LocationManager)
  • Kernel (java.awt.image)
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
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