| javax.swing.JPanel org.jfree.ui.L1R1ButtonPanel
L1R1ButtonPanel | public class L1R1ButtonPanel extends JPanel (Code) | | A 'ready-made' panel that has one button on the left and another button on the right - a layout
manager takes care of resizing.
author: David Gilbert |
Constructor Summary | |
public | L1R1ButtonPanel(String leftLabel, String rightLabel) Standard constructor - creates a two-button panel with the specified labels. |
Method Summary | |
public JButton | getLeftButton() Returns a reference to button 1, allowing the caller to set labels, action-listeners etc. | public JButton | getRightButton() Returns a reference to button 2, allowing the caller to set labels, action-listeners etc. |
L1R1ButtonPanel | public L1R1ButtonPanel(String leftLabel, String rightLabel)(Code) | | Standard constructor - creates a two-button panel with the specified labels.
Parameters: leftLabel - the label for the left button. Parameters: rightLabel - the label for the right button. |
getLeftButton | public JButton getLeftButton()(Code) | | Returns a reference to button 1, allowing the caller to set labels, action-listeners etc.
the button. |
getRightButton | public JButton getRightButton()(Code) | | Returns a reference to button 2, allowing the caller to set labels, action-listeners etc.
the button. |
|
|