All Packages Class Hierarchy This Package Previous Next Index
Class Acme.Widgets.BorderPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----Acme.Widgets.BorderPanel
- public class BorderPanel
- extends Panel
A panel that adds a border around the contents.
Sample usage:
BorderPanel p = new BorderPanel( BorderPanel.IN );
Fetch the software.
Fetch the entire Acme package.
-
IN
-
-
LOWERED
-
-
OUT
-
-
RAISED
-
-
SOLID
-
-
BorderPanel(int)
- Constructor, default thickness for this type.
-
BorderPanel(int, int)
- Constructor.
-
add(Component)
-
-
add(Component, int)
-
-
add(String, Component)
-
-
countComponents()
-
-
getComponent(int)
-
-
getLayout()
-
-
insets(int)
-
-
paint(Graphics)
- Paint the border.
-
remove(Component)
-
-
removeAll()
-
-
setLayout(LayoutManager)
-
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
BorderPanel
public BorderPanel(int type,
int thickness)
- Constructor.
BorderPanel
public BorderPanel(int type)
- Constructor, default thickness for this type.
paint
public void paint(Graphics graphics)
- Paint the border.
- Overrides:
- paint in class Container
countComponents
public int countComponents()
- Overrides:
- countComponents in class Container
getComponent
public Component getComponent(int n)
- Overrides:
- getComponent in class Container
insets
public Insets insets(int n)
add
public Component add(Component comp)
- Overrides:
- add in class Container
add
public Component add(Component comp,
int pos)
- Overrides:
- add in class Container
add
public Component add(String name,
Component comp)
- Overrides:
- add in class Container
remove
public void remove(Component comp)
- Overrides:
- remove in class Container
removeAll
public void removeAll()
- Overrides:
- removeAll in class Container
getLayout
public LayoutManager getLayout()
- Overrides:
- getLayout in class Container
setLayout
public void setLayout(LayoutManager mgr)
- Overrides:
- setLayout in class Container
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs