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

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

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

origin: jfree/jcommon

/**
 * Standard constructor - creates a three button panel with the specified button labels.
 *
 * @param label1  the label for button 1.
 * @param label2  the label for button 2.
 * @param label3  the label for button 3.
 */
public L1R2ButtonPanel(final String label1, final String label2, final String label3) {
  setLayout(new BorderLayout());
  // create the pieces...
  this.left = new JButton(label1);
  final JPanel rightButtonPanel = new JPanel(new GridLayout(1, 2));
  this.right1 = new JButton(label2);
  this.right2 = new JButton(label3);
  rightButtonPanel.add(this.right1);
  rightButtonPanel.add(this.right2);
  // ...and put them together
  add(this.left, BorderLayout.WEST);
  add(rightButtonPanel, BorderLayout.EAST);
}
origin: org.jfree/jcommon

/**
 * Standard constructor - creates a three button panel with the specified button labels.
 *
 * @param label1  the label for button 1.
 * @param label2  the label for button 2.
 * @param label3  the label for button 3.
 */
public L1R2ButtonPanel(final String label1, final String label2, final String label3) {
  setLayout(new BorderLayout());
  // create the pieces...
  this.left = new JButton(label1);
  final JPanel rightButtonPanel = new JPanel(new GridLayout(1, 2));
  this.right1 = new JButton(label2);
  this.right2 = new JButton(label3);
  rightButtonPanel.add(this.right1);
  rightButtonPanel.add(this.right2);
  // ...and put them together
  add(this.left, BorderLayout.WEST);
  add(rightButtonPanel, BorderLayout.EAST);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Standard constructor - creates a three button panel with the specified button labels.
 *
 * @param label1  the label for button 1.
 * @param label2  the label for button 2.
 * @param label3  the label for button 3.
 */
public L1R2ButtonPanel(final String label1, final String label2, final String label3) {
  setLayout(new BorderLayout());
  // create the pieces...
  this.left = new JButton(label1);
  final JPanel rightButtonPanel = new JPanel(new GridLayout(1, 2));
  this.right1 = new JButton(label2);
  this.right2 = new JButton(label3);
  rightButtonPanel.add(this.right1);
  rightButtonPanel.add(this.right2);
  // ...and put them together
  add(this.left, BorderLayout.WEST);
  add(rightButtonPanel, BorderLayout.EAST);
}
org.jfree.uiL1R2ButtonPaneladd

Popular methods of L1R2ButtonPanel

  • <init>
    Standard constructor - creates a three button panel with the specified button labels.
  • 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

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (Timer)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • String (java.lang)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top 17 PhpStorm Plugins
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