All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.tools.widgets.BorderPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----org.w3c.tools.widgets.BorderPanel
- public class BorderPanel
- extends Panel
A Panel with a border (SOLID, RAISED, LOWERED, IN or OUT)
-
IN
-
-
insets
-
-
LOWERED
-
-
OUT
-
-
RAISED
-
-
SOLID
-
-
BorderPanel(int)
- Constructor.
-
BorderPanel(int, int)
- Constructor.
-
getInsets()
-
-
paint(Graphics)
- Paint the border (if any), and then, paint the components.
-
setInsets(Insets)
-
SOLID
public static final int SOLID
RAISED
public static final int RAISED
LOWERED
public static final int LOWERED
IN
public static final int IN
OUT
public static final int OUT
insets
protected Insets insets
BorderPanel
public BorderPanel(int type,
int thickness)
- Constructor.
- Parameters:
- type - The border type (SOLID, RAISED, LOWERED, IN or OUT)
- thickness - The border thickness.
BorderPanel
public BorderPanel(int type)
- Constructor.
- Parameters:
- type - The border type (SOLID, RAISED, LOWERED, IN or OUT)
paint
public void paint(Graphics graphics)
- Paint the border (if any), and then, paint the components.
- Parameters:
- graphics - the specified Graphics window
- Overrides:
- paint in class Container
getInsets
public Insets getInsets()
- Overrides:
- getInsets in class Container
setInsets
public void setInsets(Insets insets)
All Packages Class Hierarchy This Package Previous Next Index