Tabnine Logo
AbstractTabbedUI.addPropertyChangeListener
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: jfree/jcommon

/**
 * Initialises the applet.
 *
 * @param tabbedUI  the UI that controls the applet.
 */
public void init(final AbstractTabbedUI tabbedUI) {
  this.tabbedUI = tabbedUI;
  this.tabbedUI.addPropertyChangeListener
    (AbstractTabbedUI.JMENUBAR_PROPERTY, new MenuBarChangeListener());
  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

/**
 * Initialises the applet.
 * 
 * @param tabbedUI  the UI that controls the applet.
 */
public void init(final AbstractTabbedUI tabbedUI) {
  this.tabbedUI = tabbedUI;
  this.tabbedUI.addPropertyChangeListener
    (AbstractTabbedUI.JMENUBAR_PROPERTY, new MenuBarChangeListener());
  final JPanel panel = new JPanel();
  panel.setLayout(new BorderLayout());
  panel.add(tabbedUI, BorderLayout.CENTER);
  setContentPane(panel);
  setJMenuBar(tabbedUI.getJMenuBar());
}
origin: org.jfree/jcommon

/**
 * Initialises the applet.
 *
 * @param tabbedUI  the UI that controls the applet.
 */
public void init(final AbstractTabbedUI tabbedUI) {
  this.tabbedUI = tabbedUI;
  this.tabbedUI.addPropertyChangeListener
    (AbstractTabbedUI.JMENUBAR_PROPERTY, new MenuBarChangeListener());
  final JPanel panel = new JPanel();
  panel.setLayout(new BorderLayout());
  panel.add(tabbedUI, BorderLayout.CENTER);
  setContentPane(panel);
  setJMenuBar(tabbedUI.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: 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/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

/**
 * 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

/**
 * 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

/**
 * 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());
}
org.jfree.ui.tabbeduiAbstractTabbedUIaddPropertyChangeListener

Popular methods of AbstractTabbedUI

  • add
  • addMenus
    Adds menus.
  • 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.
  • getRootEditor
    Returns the specified editor.
  • getPrefixMenus,
  • getRootEditor,
  • getRootEditorCount,
  • getSelectedEditor,
  • isGlobalMenu,
  • setJMenuBar,
  • setLayout,
  • setSelectedEditor,
  • updateGlobalMenubar

Popular in Java

  • Updating database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top plugins for Android Studio
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