|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel
Unsafe: Panel
is the simplest container class. A panel
provides space in which an application can attach any other
component, including other panels.
The default layout manager for a panel is the
FlowLayout
layout manager.
java.awt.FlowLayout
,
Serialized FormField Summary | |
private static String |
base
|
private static int |
nameCounter
|
private static long |
serialVersionUID
|
Fields inherited from class java.awt.Container |
component, containerListener, descendantsCount, INCLUDE_SELF, layoutMgr, listeningBoundsChildren, listeningChildren, ncomponents, SEARCH_HEAVYWEIGHTS |
Constructor Summary | |
Panel()
Suppressed: Creates a new panel using the default layout manager. |
|
Panel(LayoutManager layout)
Suppressed: Creates a new panel with the specified layout manager. |
Method Summary | |
void |
addNotify()
Suppressed: Creates the Panel's peer. |
(package private) String |
constructComponentName()
Construct a name for this component. |
AccessibleContext |
getAccessibleContext()
Suppressed: Gets the AccessibleContext associated with this Panel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String base
private static int nameCounter
private static final long serialVersionUID
Constructor Detail |
public Panel()
FlowLayout
class.
public Panel(LayoutManager layout)
layout
- the layout manager for this panel.Method Detail |
String constructComponentName()
constructComponentName
in class Component
public void addNotify()
addNotify
in class Container
Component.isDisplayable()
,
Container.removeNotify()
public AccessibleContext getAccessibleContext()
getAccessibleContext
in interface Accessible
getAccessibleContext
in class Component
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |