public class RobotWindow extends ControlWindow implements java.awt.event.ActionListener
| Constructor and Description |
|---|
RobotWindow(Robot robot)
construct the robot control panel window
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
action listener for the buttons
|
protected void |
addButtonsToPanel(javax.swing.JPanel panel)
add the robot control panel buttons to the panel
|
void |
close()
close the robot window
|
void |
moving(boolean b)
allow performing the move now
|
addMessagepublic RobotWindow(Robot robot)
protected void addButtonsToPanel(javax.swing.JPanel panel)
addButtonsToPanel in class ControlWindowpublic void moving(boolean b)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void close()
close in class ControlWindow