Codota Logo
L1R2ButtonPanel.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.jfree.ui.L1R2ButtonPanel
constructor

Best Java code snippets using org.jfree.ui.L1R2ButtonPanel.<init> (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: jfree/jcommon

/**
 * Builds and returns the user interface for the dialog.  This method is
 * shared among the constructors.
 *
 * @return the button panel.
 */
protected JPanel createButtonPanel() {
  final L1R2ButtonPanel buttons = new L1R2ButtonPanel(
      localizationResources.getString("Help"),
      localizationResources.getString("OK"),
      localizationResources.getString("Cancel"));
  final JButton helpButton = buttons.getLeftButton();
  helpButton.setActionCommand("helpButton");
  helpButton.addActionListener(this);
  final JButton okButton = buttons.getRightButton1();
  okButton.setActionCommand("okButton");
  okButton.addActionListener(this);
  final JButton cancelButton = buttons.getRightButton2();
  cancelButton.setActionCommand("cancelButton");
  cancelButton.addActionListener(this);
  buttons.setBorder(BorderFactory.createEmptyBorder(4, 0, 0, 0));
  return buttons;
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Builds and returns the user interface for the dialog.  This method is shared among the
 * constructors.
 *
 * @return the button panel.
 */
protected JPanel createButtonPanel() {
  final L1R2ButtonPanel buttons = new L1R2ButtonPanel(localizationResources.getString("Help"),
                         localizationResources.getString("OK"),
                         localizationResources.getString("Cancel"));
  final JButton helpButton = buttons.getLeftButton();
  helpButton.setActionCommand("helpButton");
  helpButton.addActionListener(this);
  final JButton okButton = buttons.getRightButton1();
  okButton.setActionCommand("okButton");
  okButton.addActionListener(this);
  final JButton cancelButton = buttons.getRightButton2();
  cancelButton.setActionCommand("cancelButton");
  cancelButton.addActionListener(this);
  buttons.setBorder(BorderFactory.createEmptyBorder(4, 0, 0, 0));
  return buttons;
}
origin: org.jfree/jcommon

/**
 * Builds and returns the user interface for the dialog.  This method is
 * shared among the constructors.
 *
 * @return the button panel.
 */
protected JPanel createButtonPanel() {
  final L1R2ButtonPanel buttons = new L1R2ButtonPanel(
      localizationResources.getString("Help"),
      localizationResources.getString("OK"),
      localizationResources.getString("Cancel"));
  final JButton helpButton = buttons.getLeftButton();
  helpButton.setActionCommand("helpButton");
  helpButton.addActionListener(this);
  final JButton okButton = buttons.getRightButton1();
  okButton.setActionCommand("okButton");
  okButton.addActionListener(this);
  final JButton cancelButton = buttons.getRightButton2();
  cancelButton.setActionCommand("cancelButton");
  cancelButton.addActionListener(this);
  buttons.setBorder(BorderFactory.createEmptyBorder(4, 0, 0, 0));
  return buttons;
}
org.jfree.uiL1R2ButtonPanel<init>

Javadoc

Standard constructor - creates a three button panel with the specified button labels.

Popular methods of L1R2ButtonPanel

  • add
  • getLeftButton
    Returns a reference to button 1, allowing the caller to set labels, action-listeners etc.
  • getRightButton1
    Returns a reference to button 2, allowing the caller to set labels, action-listeners etc.
  • getRightButton2
    Returns a reference to button 3, allowing the caller to set labels, action-listeners etc.
  • setBorder
  • setLayout

Popular in Java

  • Reading from database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Join (org.hibernate.mapping)
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