java.awt
public class Panel extends Container implements Accessible
FlowLayout
manager.
Since: 1.0
See Also: FlowLayout
UNKNOWN: updated to 1.4
Nested Class Summary | |
---|---|
protected class | Panel.AccessibleAWTPanel
This class provides accessibility support for Panels, and is the
runtime type returned by {@link #getAccessibleContext()}.
|
Constructor Summary | |
---|---|
Panel()
Initializes a new instance of Panel that has a default
layout manager of FlowLayout . | |
Panel(LayoutManager layoutManager)
Initializes a new instance of Panel with the specified
layout manager.
|
Method Summary | |
---|---|
void | addNotify()
Notifies this object to create its native peer.
|
AccessibleContext | getAccessibleContext()
Gets the AccessibleContext associated with this panel, creating one if
necessary. |
Panel
that has a default
layout manager of FlowLayout
.Panel
with the specified
layout manager.
Parameters: layoutManager the layout manager for this object
Since: 1.1
Returns: the accessibility context of this panel
Since: 1.3