All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.ThreeDBorder

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

public class ThreeDBorder
extends Border
Extension of Border that draws a 3D border. Drawn raised by default, drawing style used by paint() is controlled by raise() and inset(). Note that raise() and inset() 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 paintRaised() and paintInset().

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

See Also:
Border, EtchedRectangle, BorderTest

Constructor Index

 o ThreeDBorder(Component)
 o ThreeDBorder(Component, int)
 o ThreeDBorder(Component, int, int)

Method Index

 o border()
 o inset()
 o isRaised()
 o paintInset()
 o paintRaised()
 o raise()

Constructors

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

Methods

 o inset
 public void inset()
 o raise
 public void raise()
 o paintRaised
 public void paintRaised()
 o paintInset
 public void paintInset()
 o isRaised
 public boolean isRaised()
 o border
 protected DrawnRectangle border()
Overrides:
border in class Border

All Packages  Class Hierarchy  This Package  Previous  Next  Index