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

Constructor Index

 o Panel()
Creates a new panel using the default layout manager.
 o Panel(Insets)
Creates a new panel with the specified insets.
 o Panel(LayoutManager)
Creates a new panel with the specified layout manager.
 o Panel(LayoutManager, Insets)
Creates a new panel with the specified layout manager and insets.

Method Index

 o getInsets()
Returns the insets of this panel.
 o setInsets(Insets)
Sets the insets of this panel.

Constructors

 o Panel
 public Panel()
Creates a new panel using the default layout manager.

 o Panel
 public Panel(Insets insets)
Creates a new panel with the specified insets.

Parameters:
insets - the insets of the panel.
 o Panel
 public Panel(LayoutManager layout)
Creates a new panel with the specified layout manager.

Parameters:
layout - the layout manager for the panel.
 o 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.

Methods

 o getInsets
 public Insets getInsets()
Returns the insets of this panel.

Overrides:
getInsets in class KContainer
 o setInsets
 public void setInsets(Insets insets)
Sets the insets of this panel.


All Packages  Class Hierarchy  This Package  Previous  Next  Index