org.cresques.ui.cmd
Class CmdPLine

java.lang.Object
  extended byorg.cresques.ui.cmd.Cmd
      extended byorg.cresques.ui.cmd.CmdPLine

public class CmdPLine
extends Cmd

Comando pline. Añade al canvas la capacidad de crear polilineas.

Author:
"Luis W. Sevilla"

Field Summary
 
Fields inherited from class org.cresques.ui.cmd.Cmd
cursor, DRAG, LEFT, MIDDLE, PRESS, RELEASE, RIGHT, type
 
Constructor Summary
CmdPLine(CQMapCanvas canvas)
          Construye un nuevo CmdPLine para el Canvas.
 
Method Summary
 void cmd(java.awt.geom.Point2D pt, int bt, int mouseEvent)
          Recibe los eventos del ratón.
 
Methods inherited from class org.cresques.ui.cmd.Cmd
get, getCursor, getEventsWanted, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmdPLine

public CmdPLine(CQMapCanvas canvas)
Construye un nuevo CmdPLine para el Canvas.

Parameters:
canvas -
Method Detail

cmd

public void cmd(java.awt.geom.Point2D pt,
                int bt,
                int mouseEvent)
Recibe los eventos del ratón.

Specified by:
cmd in class Cmd