Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
Modifier and Type | Class and Description |
---|---|
class |
Button
This class creates a labeled button.
|
class |
Canvas
A
Canvas component represents a blank rectangular
area of the screen onto which the application can draw or from
which the application can trap input events from the user. |
class |
Checkbox
A check box is a graphical component that can be in either an
"on" (
true ) or "off" (false ) state. |
class |
Choice
The
Choice class presents a pop-up menu of choices. |
class |
Component
A component is an object having a graphical representation
that can be displayed on the screen and that can interact with the
user.
|
class |
Container
A generic Abstract Window Toolkit(AWT) container object is a component
that can contain other AWT components.
|
class |
Dialog
A Dialog is a top-level window with a title and a border
that is typically used to take some form of input from the user.
|
class |
FileDialog
The
FileDialog class displays a dialog window
from which the user can select a file. |
class |
Frame
A
Frame is a top-level window with a title and a border. |
class |
Label
A
Label object is a component for placing text in a
container. |
class |
List
The
List component presents the user with a
scrolling list of text items. |
class |
Menu
A
Menu object is a pull-down menu component
that is deployed from a menu bar. |
class |
MenuBar
The
MenuBar class encapsulates the platform's
concept of a menu bar bound to a frame. |
class |
Panel
Panel is the simplest container class. |
class |
PopupMenu
A class that implements a menu which can be dynamically popped up
at a specified position within a component.
|
class |
Scrollbar
The
Scrollbar class embodies a scroll bar, a
familiar user-interface object. |
class |
ScrollPane
A container class which implements automatic horizontal and/or
vertical scrolling for a single child component.
|
class |
TextArea
A
TextArea object is a multi-line region
that displays text. |
class |
TextComponent
The
TextComponent class is the superclass of
any component that allows the editing of some text. |
class |
TextField
A
TextField object is a text component
that allows for the editing of a single line of text. |
class |
Window
A
Window object is a top-level window with no borders and no
menubar. |
Modifier and Type | Method and Description |
---|---|
MenuContainer |
PopupMenu.getParent()
Returns the parent container for this menu component.
|
MenuContainer |
MenuComponent.getParent()
Returns the parent container for this menu component.
|