/* @(#) DrawShapesController.java 1.1 99/21/11
 * Copyright (c) 1999 Lawrence Rodrigues
 */
package com.vistech.graphics;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import java.awt.geom.*;

/** Specifies methods for a controller object to
  * accept the shape and the operation types.
  * @version 1.0  21  Nov 1999
  * @author Larry Rodrigues
  **/
public interface DrawShapesController {
   public final static int DRAW =  0;
   public final static int MOVE =  1;
   public final static int ERASE = 2;
   public final static int FILL = 4;
   public final static int COPY = 8;
   public final static int PASTE = 16;
   public final static int ERASE_ALL = 32;
   public final static int LOAD = 64;
   public final static int SAVE = 128;

   /** Sets the operation type, which are defined as constants in this interface.
     * @param command the operation type.
     */
   public void setCommand(int command);
   public int getCommand();

   /** Sets the shape type
     * @param shapeType the shape type.
     */
   public void setShapeType(int shapeType);

   public int getShapeType();
}
