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
-
Separator()
-
-
Separator(Etching)
-
-
Separator(int)
-
-
Separator(int, Etching)
-
-
getMinimumSize()
-
-
getPreferredSize()
-
-
minimumSize()
-
Deprecated.
-
paint(Graphics)
-
-
paramString()
-
-
preferredSize()
-
Deprecated.
Separator
public Separator()
Separator
public Separator(int thickness)
Separator
public Separator(Etching etching)
Separator
public Separator(int thickness,
Etching etching)
minimumSize
public Dimension minimumSize()
- Note: minimumSize() is deprecated.
as of JDK1.1
- Overrides:
- minimumSize in class Component
getMinimumSize
public Dimension getMinimumSize()
- Overrides:
- getMinimumSize in class Component
preferredSize
public Dimension preferredSize()
- Note: preferredSize() is deprecated.
as of JDK1.1
- Overrides:
- preferredSize in class Component
getPreferredSize
public Dimension getPreferredSize()
- Overrides:
- getPreferredSize in class Component
paint
public void paint(Graphics g)
- Overrides:
- paint in class Component
paramString
public String paramString()
- Overrides:
- paramString in class Component
All Packages Class Hierarchy This Package Previous Next Index