org.jfree.ui
Class L1R3ButtonPanel
JPanelorg.jfree.ui.L1R3ButtonPanel
A 'ready-made' panel that has one button on the left and three buttons on the right - nested
panels and layout managers take care of resizing.
L1R3ButtonPanel(String label1, String label2, String label3, String label4)- Standard constructor - creates panel with the specified button labels.
|
JButton | getLeftButton()- Returns a reference to button 1, allowing the caller to set labels, action-listeners etc.
|
JButton | getRightButton1()- Returns a reference to button 2, allowing the caller to set labels, action-listeners etc.
|
JButton | getRightButton2()- Returns a reference to button 3, allowing the caller to set labels, action-listeners etc.
|
JButton | getRightButton3()- Returns a reference to button 4, allowing the caller to set labels, action-listeners etc.
|
L1R3ButtonPanel
public L1R3ButtonPanel(String label1,
String label2,
String label3,
String label4) Standard constructor - creates panel with the specified button labels.
label1 - the label for button 1.label2 - the label for button 2.label3 - the label for button 3.label4 - the label for button 4.
getLeftButton
public JButton getLeftButton()
Returns a reference to button 1, allowing the caller to set labels, action-listeners etc.
getRightButton1
public JButton getRightButton1()
Returns a reference to button 2, allowing the caller to set labels, action-listeners etc.
getRightButton2
public JButton getRightButton2()
Returns a reference to button 3, allowing the caller to set labels, action-listeners etc.
getRightButton3
public JButton getRightButton3()
Returns a reference to button 4, allowing the caller to set labels, action-listeners etc.