org.jfree.ui
public class L1R1ButtonPanel extends JPanel
Constructor Summary | |
---|---|
L1R1ButtonPanel(String leftLabel, String rightLabel)
Standard constructor - creates a two-button panel with the specified labels.
|
Method Summary | |
---|---|
JButton | getLeftButton()
Returns a reference to button 1, allowing the caller to set labels, action-listeners etc.
|
JButton | getRightButton()
Returns a reference to button 2, allowing the caller to set labels, action-listeners etc.
|
Parameters: leftLabel the label for the left button. rightLabel the label for the right button.
Returns: the button.
Returns: the button.