Class symantec.itools.awt.shape.Square
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.awt.shape.Square

Object
   |
   +----Component
           |
           +----Shape
                   |
                   +----Rect
                           |
                           +----symantec.itools.awt.shape.Square

public class Square
extends Rect
This is a square shape component.

Version:
1.1, August 13, 1997
Author:
Symantec

Constructor Index

 o symantec.itools.awt.shape.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