All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jp.kyasu.awt.BorderedPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----jp.kyasu.awt.KContainer
                           |
                           +----jp.kyasu.awt.BorderedPanel

public class BorderedPanel
extends KContainer
The BorderedPanel is the bordered lightweight container class. The default layout manager for a bordered panel is BorderLayout.

Version:
10 Aug 1997
Author:
Kazuki YASUMATSU
See Also:
VBorder

Constructor Index

 o BorderedPanel()
Creates a new panel using the default layout manager and border.
 o BorderedPanel(LayoutManager)
Creates a new panel with the specified layout manager.
 o BorderedPanel(LayoutManager, VBorder)
Creates a new panel with the specified layout manager and border.
 o BorderedPanel(VBorder)
Creates a new panel with the specified border.

Method Index

 o getBorder()
Returns the visual border of this panel.
 o getInsets()
Returns the insets of this panel.
 o paint(Graphics)
Paints this panel.

Constructors

 o BorderedPanel
 public BorderedPanel()
Creates a new panel using the default layout manager and border.

 o BorderedPanel
 public BorderedPanel(VBorder border)
Creates a new panel with the specified border.

Parameters:
border - the visual border of the panel.
 o BorderedPanel
 public BorderedPanel(LayoutManager layout)
Creates a new panel with the specified layout manager.

Parameters:
layout - the layout manager for the panel.
 o BorderedPanel
 public BorderedPanel(LayoutManager layout,
                      VBorder border)
Creates a new panel with the specified layout manager and border.

Parameters:
layout - the layout manager for the panel.
border - the visual border of the panel.

Methods

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

Overrides:
getInsets in class KContainer
 o getBorder
 public VBorder getBorder()
Returns the visual border of this panel.

 o paint
 public void paint(Graphics g)
Paints this panel.

Overrides:
paint in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index