com.vistech.graphics
Interface DrawShapesController
- All Known Implementing Classes:
- DrawShapes
- public interface DrawShapesController
Specifies methods for a controller object to
accept the shape and the operation types.
- Version:
- 1.0 21 Nov 1999
- Author:
- Larry Rodrigues
DRAW
public static final int DRAW
MOVE
public static final int MOVE
ERASE
public static final int ERASE
FILL
public static final int FILL
COPY
public static final int COPY
PASTE
public static final int PASTE
ERASE_ALL
public static final int ERASE_ALL
LOAD
public static final int LOAD
SAVE
public static final int SAVE
setCommand
public void setCommand(int command)
- Sets the operation type, which are defined as constants in this interface.
- Parameters:
command
- the operation type.
getCommand
public int getCommand()
setShapeType
public void setShapeType(int shapeType)
- Sets the shape type
- Parameters:
shapeType
- the shape type.
getShapeType
public int getShapeType()