edu.umd.cfar.lamp.viper.gui.data.point
Class PointCreator

java.lang.Object
  extended byedu.umd.cs.piccolo.event.PBasicInputEventHandler
      extended byedu.umd.cs.piccolo.PInputManager
          extended byedu.umd.cfar.lamp.viper.gui.canvas.CanvasCreator
              extended byedu.umd.cfar.lamp.viper.gui.data.point.PointCreator
All Implemented Interfaces:
java.util.EventListener, edu.umd.cs.piccolo.event.PInputEventListener, edu.umd.cs.piccolo.PRoot.InputSource

public class PointCreator
extends CanvasCreator

Author:
clin To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
static int WIDTH
           
 
Constructor Summary
PointCreator(CreatorAssistant a, Attribute attr)
           
 
Method Summary
 void displaySelected()
           
 java.lang.String getName()
           
 void mouseDragged(edu.umd.cs.piccolo.event.PInputEvent e)
           
 void mousePressed(edu.umd.cs.piccolo.event.PInputEvent e)
           
 void mouseReleased(edu.umd.cs.piccolo.event.PInputEvent e)
           
 void setCrosshair(java.awt.geom.Point2D center)
           
 
Methods inherited from class edu.umd.cfar.lamp.viper.gui.canvas.CanvasCreator
getAssistant, getAttribute, getColorTable, setAttribute, setAttrValueInMediator, stop
 
Methods inherited from class edu.umd.cs.piccolo.PInputManager
checkForMouseEnteredAndExited, getCurrentCanvasPosition, getKeyboardFocus, getLastCanvasPosition, getMouseFocus, getMouseOver, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseWheelRotated, mouseWheelRotatedByBlock, processEventFromCamera, processInput, setKeyboardFocus, setMouseFocus, setMouseOver
 
Methods inherited from class edu.umd.cs.piccolo.event.PBasicInputEventHandler
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, paramString, processEvent, setEventFilter, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WIDTH

public static final int WIDTH
See Also:
Constant Field Values
Constructor Detail

PointCreator

public PointCreator(CreatorAssistant a,
                    Attribute attr)
Method Detail

mousePressed

public void mousePressed(edu.umd.cs.piccolo.event.PInputEvent e)

displaySelected

public void displaySelected()
Specified by:
displaySelected in class CanvasCreator

setCrosshair

public void setCrosshair(java.awt.geom.Point2D center)

mouseDragged

public void mouseDragged(edu.umd.cs.piccolo.event.PInputEvent e)

mouseReleased

public void mouseReleased(edu.umd.cs.piccolo.event.PInputEvent e)

getName

public java.lang.String getName()
Specified by:
getName in class CanvasCreator