All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.awt.shape.Rect
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----symantec.itools.awt.shape.Shape
|
+----symantec.itools.awt.shape.Rect
- public class Rect
- extends Shape
This class forms the Rectangle shape component.
- See Also:
- HorizontalLine, Square, VerticalLine
-
Rect()
- Constructs a default Rectangle.
-
paint(Graphics)
- Paints the rectangle using the given graphics context.
Rect
public Rect()
- Constructs a default Rectangle.
paint
public void paint(Graphics g)
- Paints the rectangle using the given graphics context.
This is a standard Java AWT method which typically gets called
by the AWT to handle painting this component. It paints this component
using the given graphics context. The graphics context clipping region
is set to the bounding rectangle of this component and its <0,0>
coordinate is this component's top-left corner.
- Parameters:
- g - the graphics context used for painting
- Overrides:
- paint in class Canvas
- See Also:
- repaint, update
All Packages Class Hierarchy This Package Previous Next Index