Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.awt.event |
Provides interfaces and classes for dealing with different
types of events fired by AWT components.
|
Modifier and Type | Class and Description |
---|---|
class |
Checkbox
A check box is a graphical component that can be in either an
"on" (
true ) or "off" (false ) state. |
class |
CheckboxMenuItem
This class represents a check box that can be included in a menu.
|
class |
Choice
The
Choice class presents a pop-up menu of choices. |
class |
List
The
List component presents the user with a
scrolling list of text items. |
Modifier and Type | Method and Description |
---|---|
ItemSelectable |
ItemEvent.getItemSelectable()
Returns the originator of the event.
|
Constructor and Description |
---|
ItemEvent(ItemSelectable source,
int id,
java.lang.Object item,
int stateChange)
Constructs an
ItemEvent object. |