Tabnine Logo
L1R2ButtonPanel.getRightButton1
Code IndexAdd Tabnine to your IDE (free)

How to use
getRightButton1
method
in
org.jfree.ui.L1R2ButtonPanel

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

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.uiL1R2ButtonPanelgetRightButton1

Javadoc

Returns a reference to button 2, allowing the caller to set labels, action-listeners etc.

Popular methods of L1R2ButtonPanel

  • <init>
    Standard constructor - creates a three button panel with the specified button labels.
  • add
  • getLeftButton
    Returns a reference to button 1, 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

  • Making http requests using okhttp
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • getResourceAsStream (ClassLoader)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Table (org.hibernate.mapping)
    A relational table
  • Top Vim plugins
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