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.
-
insets
- The insets for this panel.
-
InsetsPanel()
- Creates a new InsetsPanel using the default layout manager.
-
InsetsPanel(Insets)
- Creates a new InsetsPanel with the specified Insets.
-
InsetsPanel(LayoutManager)
- Creates a new InsetsPanel with the specified layout manager.
-
getInsets()
- Determines the insets of this container, which indicate the size of the container's border.
-
setInsets(Insets)
- Sets the insets of this container, which indicate the size of the container's border.
insets
protected Insets insets
- The insets for this panel.
InsetsPanel
public InsetsPanel()
- Creates a new InsetsPanel using the default layout manager. The default layout manager
for all panels is the FlowLayout class.
InsetsPanel
public InsetsPanel(LayoutManager layout)
- Creates a new InsetsPanel with the specified layout manager.
- Parameters:
- layout - The layout manager for this InsetsPanel.
InsetsPanel
public InsetsPanel(Insets insets)
- Creates a new InsetsPanel with the specified Insets.
- Parameters:
- insets - The insets for this InsetsPanel.
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
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