Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary
`static int` | `COPY`
`static int` | `DRAW`
`static int` | `ERASE`
`static int` | `ERASE_ALL`
`static int` | `FILL`
`static int` | `LOAD`
`static int` | `MOVE`
`static int` | `PASTE`
`static int` | `SAVE`

Method Summary
`int` | `getCommand()`
`int` | `getShapeType()`
`void` | `setCommand(int command)` Sets the operation type, which are defined as constants in this interface.
`void` | `setShapeType(int shapeType)` Sets the shape type

Field Detail

### 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

Method Detail

### 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()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD