All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.wizards.awt.InsetsPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----com.sun.wizards.awt.InsetsPanel

public class InsetsPanel
extends Panel
The InsetsPanel is a panel that allows the insets to be set through a public method at runtime. This panel is a useful superclass to panels or components.


Variable Index

 o insets
The insets for this panel.

Constructor Index

 o InsetsPanel()
Creates a new InsetsPanel using the default layout manager.
 o InsetsPanel(Insets)
Creates a new InsetsPanel with the specified Insets.
 o InsetsPanel(LayoutManager)
Creates a new InsetsPanel with the specified layout manager.

Method Index

 o getInsets()
Determines the insets of this container, which indicate the size of the container's border.
 o setInsets(Insets)
Sets the insets of this container, which indicate the size of the container's border.

Variables

 o insets
 protected Insets insets
The insets for this panel.

Constructors

 o InsetsPanel
 public InsetsPanel()
Creates a new InsetsPanel using the default layout manager. The default layout manager for all panels is the FlowLayout class.

 o InsetsPanel
 public InsetsPanel(LayoutManager layout)
Creates a new InsetsPanel with the specified layout manager.

Parameters:
layout - The layout manager for this InsetsPanel.
 o InsetsPanel
 public InsetsPanel(Insets insets)
Creates a new InsetsPanel with the specified Insets.

Parameters:
insets - The insets for this InsetsPanel.

Methods

 o getInsets
 public Insets getInsets()
Determines the insets of this container, which indicate the size of the container's border.

Returns:
The insets of this container.
Overrides:
getInsets in class Container
 o setInsets
 public void setInsets(Insets insets)
Sets the insets of this container, which indicate the size of the container's border.

Parameters:
insets - The insets of this container.

All Packages  Class Hierarchy  This Package  Previous  Next  Index