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.

Variable Index

 o RELIEF_FLAT
 o RELIEF_GROOVE
 o RELIEF_RAISED
 o RELIEF_RIDGE
 o RELIEF_SUNKEN
 o titleAscent
 o titleHeight
 o titleRightEdge
 o WIN95_FIELD_BORDER

Constructor Index

 o PanelFrame()
 o PanelFrame(int, int)
 o PanelFrame(int, int, int)
 o PanelFrame(String, int, int, int)

Method Index

 o getBorderWidth()
 o getInset()
 o getRelief()
 o getTitle()
 o insets()
 o paint(Graphics)
 o setBorderWidth(int)
 o setInset(int)
 o setRelief(int)
 o setTitle(String)

Variables

 o RELIEF_FLAT
  public final static int RELIEF_FLAT
 o RELIEF_SUNKEN
  public final static int RELIEF_SUNKEN
 o RELIEF_RAISED
  public final static int RELIEF_RAISED
 o RELIEF_GROOVE
  public final static int RELIEF_GROOVE
 o RELIEF_RIDGE
  public final static int RELIEF_RIDGE
 o WIN95_FIELD_BORDER
  public final static int WIN95_FIELD_BORDER
 o titleHeight
  public int titleHeight
 o titleAscent
  public int titleAscent
 o titleRightEdge
  public int titleRightEdge

Constructors

 o PanelFrame
  public PanelFrame()
 o PanelFrame
  public PanelFrame(int relief,
                    int borderWidth)
 o PanelFrame
  public PanelFrame(int relief,
                    int borderWidth,
                    int inset)
 o PanelFrame
  public PanelFrame(String title,
                    int relief,
                    int borderWidth,
                    int inset)

Methods

 o setTitle
  public void setTitle(String title)
 o getTitle
  public String getTitle()
 o setBorderWidth
  public void setBorderWidth(int borderWidth)
 o getBorderWidth
  public int getBorderWidth()
 o setInset
  public void setInset(int inset)
 o getInset
  public int getInset()
 o setRelief
  public void setRelief(int relief)
 o getRelief
  public int getRelief()
 o paint
  public void paint(Graphics g)
Overrides:
paint in class Component
 o insets
  public Insets insets()
Overrides:
insets in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index