Class sunsoft.jws.visual.rt.awt.PanelFrame
All Packages Class Hierarchy This Package Previous Next Index
Class sunsoft.jws.visual.rt.awt.PanelFrame
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----sunsoft.jws.visual.rt.awt.PanelFrame
- public class PanelFrame
- extends Panel
A Java AWT Panel that implements some Tk Frame features, and Windows 95/NT
borders.
A PanelFrame can be used just like a panel, but it lets you draw a frame
at the edge. It supports the relief and borderWidth features of a Tk
frame.
The default is RELIEF_FLAT with a borderwith of 1.
PanelFrame also supports an inset so that the contents of it can be inset
properly from the borders.
-
RELIEF_FLAT
-
-
RELIEF_GROOVE
-
-
RELIEF_RAISED
-
-
RELIEF_RIDGE
-
-
RELIEF_SUNKEN
-
-
titleAscent
-
-
titleHeight
-
-
titleRightEdge
-
-
WIN95_FIELD_BORDER
-
-
PanelFrame()
-
-
PanelFrame(int, int)
-
-
PanelFrame(int, int, int)
-
-
PanelFrame(String, int, int, int)
-
-
getBorderWidth()
-
-
getInset()
-
-
getRelief()
-
-
getTitle()
-
-
insets()
-
-
paint(Graphics)
-
-
setBorderWidth(int)
-
-
setInset(int)
-
-
setRelief(int)
-
-
setTitle(String)
-
RELIEF_FLAT
public final static int RELIEF_FLAT
RELIEF_SUNKEN
public final static int RELIEF_SUNKEN
RELIEF_RAISED
public final static int RELIEF_RAISED
RELIEF_GROOVE
public final static int RELIEF_GROOVE
RELIEF_RIDGE
public final static int RELIEF_RIDGE
WIN95_FIELD_BORDER
public final static int WIN95_FIELD_BORDER
titleHeight
public int titleHeight
titleAscent
public int titleAscent
titleRightEdge
public int titleRightEdge
PanelFrame
public PanelFrame()
PanelFrame
public PanelFrame(int relief,
int borderWidth)
PanelFrame
public PanelFrame(int relief,
int borderWidth,
int inset)
PanelFrame
public PanelFrame(String title,
int relief,
int borderWidth,
int inset)
setTitle
public void setTitle(String title)
getTitle
public String getTitle()
setBorderWidth
public void setBorderWidth(int borderWidth)
getBorderWidth
public int getBorderWidth()
setInset
public void setInset(int inset)
getInset
public int getInset()
setRelief
public void setRelief(int relief)
getRelief
public int getRelief()
paint
public void paint(Graphics g)
- Overrides:
- paint in class Component
insets
public Insets insets()
- Overrides:
- insets in class Container
All Packages Class Hierarchy This Package Previous Next Index