at.ofai.music.beatroot
class ControlPanel.ButtonPanel extends JPanel
Field Summary | |
---|---|
static long | serialVersionUID |
Constructor Summary | |
---|---|
ButtonPanel(int r, int c) Constructor: |
Method Summary | |
---|---|
void | addButton(String s, ActionListener al) Adds a button to this panel. |
Parameters: r Number of rows of buttons c NUmber of columns of buttons
Parameters: s The text on the button al The event handler for when the button is pressed