All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.awt.shape.Square
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----symantec.itools.awt.shape.Shape
|
+----symantec.itools.awt.shape.Rect
|
+----symantec.itools.awt.shape.Square
- public class Square
- extends Rect
This is a square shape component.
-
Square()
- Constructs a default Square.
-
reshape(int, int, int, int)
- Moves and/or resizes this component.
Square
public Square()
- Constructs a default Square.
reshape
public void reshape(int x,
int y,
int width,
int height)
- Moves and/or resizes this component.
This is a standard Java AWT method which gets called to move and/or
resize this component. Components that are in containers with layout
managers should not call this method, but rely on the layout manager
instead.
- Parameters:
- x - horizontal position in the parent's coordinate space
- y - vertical position in the parent's coordinate space
- width - the new width
- height - the new height
- Overrides:
- reshape in class Shape
All Packages Class Hierarchy This Package Previous Next Index