Modifier and Type | Class | Description |
---|---|---|
class |
Button |
Button class encapsulates a JButton and allows the student to create a
button, install it on a
Window , change the title of the
button, and perform actions when the button is clicked. |
class |
CircleShape |
CircleShape draws a circle for you on your Window.
|
class |
Shape |
Shape Class provides a definition for objects which can be displayed on a
Window . |
class |
SquareShape |
SquareShape draws a Square on your Window for you.
|
class |
TextShape |
TextShape allows the display of text inside a
Shape . |
Modifier and Type | Method | Description |
---|---|---|
boolean |
Widget.collidesWith(Widget w) |
|
void |
Command.execute(Widget trigger) |