All Packages Class Hierarchy This Package Previous Next Index
Class vt.cs.widgets.BorderPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----vt.cs.widgets.BorderPanel
- public class BorderPanel
- extends Panel
BorderPanel - a 3D look panel.
-
border
-
-
col1
-
-
col2
-
-
perspective
-
-
RAISED
-
-
SUNKEN
-
-
BorderPanel()
- Constructs a BorderPanel with the default values
-
BorderPanel(Color, Color)
- Construcs a BorderPanel
-
BorderPanel(int)
- Construcs a BorderPanel
-
BorderPanel(int, Color, Color)
- Construcs a BorderPanel
-
BorderPanel(int, int)
- Construcs a BorderPanel
-
BorderPanel(int, int, Color, Color)
- Construcs a BorderPanel
-
insets()
-
-
paint(Graphics)
-
-
update(Graphics)
-
perspective
protected int perspective
border
protected int border
col1
protected Color col1
col2
protected Color col2
SUNKEN
public final static int SUNKEN
RAISED
public final static int RAISED
BorderPanel
public BorderPanel()
- Constructs a BorderPanel with the default values
BorderPanel
public BorderPanel(int borderWidth)
- Construcs a BorderPanel
- Parameters:
- borderWidth - width of border
BorderPanel
public BorderPanel(int borderWidth,
int perspective)
- Construcs a BorderPanel
- Parameters:
- borderWidth - width of border
- perspective - RAISED or SUNKEN
BorderPanel
public BorderPanel(int borderWidth,
Color topLeft,
Color bottomRight)
- Construcs a BorderPanel
- Parameters:
- borderWidth - width of border
- topLeft - Color of top-left border
- bottomRight - Color of bottom-right border
BorderPanel
public BorderPanel(Color topLeft,
Color bottomRight)
- Construcs a BorderPanel
- Parameters:
- topLeft - Color of top-left border
- bottomRight - Color of bottom-right border
BorderPanel
public BorderPanel(int borderWidth,
int perspective,
Color topLeft,
Color bottomRight)
- Construcs a BorderPanel
- Parameters:
- borderWidth - width of border
- perspective - RAISED or SUNKEN
- topLeft - Color of top-left border
- bottomRight - Color of bottom-right border
insets
public Insets insets()
- Overrides:
- insets in class Container
paint
public void paint(Graphics g)
- Overrides:
- paint in class Component
update
public void update(Graphics g)
- Overrides:
- update in class Component
All Packages Class Hierarchy This Package Previous Next Index