All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class element.Move

java.lang.Object
   |
   +----java.awt.Component
           |
           +----element.GenericShape
                   |
                   +----element.NotBoundedShape
                           |
                           +----element.Move

public class Move
extends NotBoundedShape

Constructor Index

 o Move()

Method Index

 o draw(Graphics)
Draws the shape on the screen
 o getDragPoints()
Returns the array of shape's drag points
 o getResizeText()
Returns the pic text for this shape after resizing
 o getShapeAsInt()
Returns the shape's type
 o moveTo(Point)
Moves the shape to the given point
 o shapeText()
Returns the pic text assotiated with this shape
 o showParameters(StatusBar, StatusBar, StatusBar, StatusBar)
Shows the shape's parameters in the given windows

Constructors

 o Move
 public Move()

Methods

 o draw
 public void draw(Graphics g)
Draws the shape on the screen

Overrides:
draw in class GenericShape
 o showParameters
 public void showParameters(StatusBar heightField,
                            StatusBar widthField,
                            StatusBar radius,
                            StatusBar text)
Shows the shape's parameters in the given windows

Overrides:
showParameters in class GenericShape
 o getResizeText
 public String getResizeText()
Returns the pic text for this shape after resizing

Overrides:
getResizeText in class GenericShape
 o getDragPoints
 public Point[] getDragPoints()
Returns the array of shape's drag points

Overrides:
getDragPoints in class GenericShape
 o shapeText
 public String shapeText()
Returns the pic text assotiated with this shape

Overrides:
shapeText in class GenericShape
 o getShapeAsInt
 public int getShapeAsInt()
Returns the shape's type

Overrides:
getShapeAsInt in class GenericShape
 o moveTo
 public void moveTo(Point newLocation)
Moves the shape to the given point

Overrides:
moveTo in class GenericShape

All Packages  Class Hierarchy  This Package  Previous  Next  Index