All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.Separator

java.lang.Object
   |
   +----java.awt.Component
           |
           +----gjt.Separator

public class Separator
extends Component
A separator is a lightweight component that is drawn either vertically or horizontally depending upon how it is laid out. * Separators can be drawn either etched-in or etched-out, with varying thicknesses. Both thickness and etching are settable at construction time only.

Default thickness is 2 pixels and default etching is Etching.IN. Note that thicknesses greater than 4 tend to loose the etching effect.

See Also:
Etching, SeparatorTest

Constructor Index

 o Separator()
 o Separator(Etching)
 o Separator(int)
 o Separator(int, Etching)

Method Index

 o getMinimumSize()
 o getPreferredSize()
 o minimumSize()
Deprecated.
 o paint(Graphics)
 o paramString()
 o preferredSize()
Deprecated.

Constructors

 o Separator
 public Separator()
 o Separator
 public Separator(int thickness)
 o Separator
 public Separator(Etching etching)
 o Separator
 public Separator(int thickness,
                  Etching etching)

Methods

 o minimumSize
 public Dimension minimumSize()
Note: minimumSize() is deprecated. as of JDK1.1

Overrides:
minimumSize in class Component
 o getMinimumSize
 public Dimension getMinimumSize()
Overrides:
getMinimumSize in class Component
 o preferredSize
 public Dimension preferredSize()
Note: preferredSize() is deprecated. as of JDK1.1

Overrides:
preferredSize in class Component
 o getPreferredSize
 public Dimension getPreferredSize()
Overrides:
getPreferredSize in class Component
 o paint
 public void paint(Graphics g)
Overrides:
paint in class Component
 o paramString
 public String paramString()
Overrides:
paramString in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index