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
-
Move()
-
-
draw(Graphics)
- Draws the shape on the screen
-
getDragPoints()
- Returns the array of shape's drag points
-
getResizeText()
- Returns the pic text for this shape after resizing
-
getShapeAsInt()
- Returns the shape's type
-
moveTo(Point)
- Moves the shape to the given point
-
shapeText()
- Returns the pic text assotiated with this shape
-
showParameters(StatusBar, StatusBar, StatusBar, StatusBar)
- Shows the shape's parameters in the given windows
Move
public Move()
draw
public void draw(Graphics g)
- Draws the shape on the screen
- Overrides:
- draw in class GenericShape
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
getResizeText
public String getResizeText()
- Returns the pic text for this shape after resizing
- Overrides:
- getResizeText in class GenericShape
getDragPoints
public Point[] getDragPoints()
- Returns the array of shape's drag points
- Overrides:
- getDragPoints in class GenericShape
shapeText
public String shapeText()
- Returns the pic text assotiated with this shape
- Overrides:
- shapeText in class GenericShape
getShapeAsInt
public int getShapeAsInt()
- Returns the shape's type
- Overrides:
- getShapeAsInt in class GenericShape
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