All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.EtchedBorder

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----gjt.Border
                                   |
                                   +----gjt.EtchedBorder

public class EtchedBorder
extends Border
An extension of Border that draws an etched border. Drawn etchedIn by default, drawing style used by paint() is controlled by etchedIn() and etchedOut(). Note that etchedIn() and etchedOut() do not result in anything being painted, but only set the state for the next call to paint(). To set the state and paint in one operation, use paintEtchedIn() and paintEtchedOut().

The current state of the border may be obtained by calling isEtchedIn().

See Also:
Border, ThreeDRectangle, BorderTest

Constructor Index

 o EtchedBorder(Component)
 o EtchedBorder(Component, int)
 o EtchedBorder(Component, int, int)

Method Index

 o border()
 o etchedIn()
 o etchedOut()
 o isEtchedIn()
 o paintEtchedIn()
 o paintEtchedOut()
 o paramString()

Constructors

 o EtchedBorder
 public EtchedBorder(Component borderMe)
 o EtchedBorder
 public EtchedBorder(Component borderMe,
                     int borderThickness)
 o EtchedBorder
 public EtchedBorder(Component borderMe,
                     int borderThickness,
                     int gap)

Methods

 o etchedIn
 public void etchedIn()
 o etchedOut
 public void etchedOut()
 o paintEtchedIn
 public void paintEtchedIn()
 o paintEtchedOut
 public void paintEtchedOut()
 o isEtchedIn
 public boolean isEtchedIn()
 o paramString
 protected String paramString()
Overrides:
paramString in class Border
 o border
 protected DrawnRectangle border()
Overrides:
border in class Border

All Packages  Class Hierarchy  This Package  Previous  Next  Index