All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.awt.Rectangle | +----gjt.DrawnRectangle | +----gjt.ThreeDRectangle
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 rectangle may be obtained by calling isRaised().
protected static ThreeDBorderStyle _defaultState
public ThreeDRectangle(Component drawInto)
public ThreeDRectangle(Component drawInto, int thickness)
public ThreeDRectangle(Component drawInto, int x, int y, int w, int h)
public ThreeDRectangle(Component drawInto, int thickness, int x, int y, int w, int h)
public ThreeDRectangle(Component drawInto, ThreeDBorderStyle state, int thickness, int x, int y, int w, int h)
public void paint()
public void raise()
public void inset()
public boolean isRaised()
public String paramString()
public void paintRaised()
public void paintInset()
All Packages Class Hierarchy This Package Previous Next Index