All Packages Class Hierarchy This Package Previous Next Index
Class jp.kyasu.awt.Panel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----jp.kyasu.awt.KContainer
|
+----jp.kyasu.awt.Panel
- public class Panel
- extends KContainer
The Panel
is the simplest lightweight container class.
The default layout manager for a panel is FlowLayout
.
- Version:
- 30 Nov 1997
- Author:
- Kazuki YASUMATSU
-
Panel()
- Creates a new panel using the default layout manager.
-
Panel(Insets)
- Creates a new panel with the specified insets.
-
Panel(LayoutManager)
- Creates a new panel with the specified layout manager.
-
Panel(LayoutManager, Insets)
- Creates a new panel with the specified layout manager and insets.
-
getInsets()
- Returns the insets of this panel.
-
setInsets(Insets)
- Sets the insets of this panel.
Panel
public Panel()
- Creates a new panel using the default layout manager.
Panel
public Panel(Insets insets)
- Creates a new panel with the specified insets.
- Parameters:
- insets - the insets of the panel.
Panel
public Panel(LayoutManager layout)
- Creates a new panel with the specified layout manager.
- Parameters:
- layout - the layout manager for the panel.
Panel
public Panel(LayoutManager layout,
Insets insets)
- Creates a new panel with the specified layout manager and insets.
- Parameters:
- layout - the layout manager for the panel.
- insets - the insets of the panel.
getInsets
public Insets getInsets()
- Returns the insets of this panel.
- Overrides:
- getInsets in class KContainer
setInsets
public void setInsets(Insets insets)
- Sets the insets of this panel.
All Packages Class Hierarchy This Package Previous Next Index