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.


Constructor Index

 o Square()
Constructs a default Square.

Method Index

 o reshape(int, int, int, int)
Moves and/or resizes this component.

Constructors

 o Square
  public Square()
Constructs a default Square.

Methods

 o 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