edu.umd.cfar.lamp.viper.gui.data.bbox
Class BboxCreator

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.bbox.BboxCreator
All Implemented Interfaces:
java.util.EventListener, edu.umd.cs.piccolo.event.PInputEventListener, edu.umd.cs.piccolo.PRoot.InputSource

public class BboxCreator
extends CanvasCreator

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

Constructor Summary
BboxCreator(CreatorAssistant a, Attribute attr)
           
 
Method Summary
 void displaySelected()
           
 java.lang.String getName()
           
 boolean isControlPressed()
           
 void keyPressed(edu.umd.cs.piccolo.event.PInputEvent e)
           
 void keyReleased(edu.umd.cs.piccolo.event.PInputEvent e)
           
 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 setControlPressed(boolean b)
           
 void updateRectangle()
           
 
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, 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
 

Constructor Detail

BboxCreator

public BboxCreator(CreatorAssistant a,
                   Attribute attr)
Method Detail

isControlPressed

public boolean isControlPressed()
Returns:

setControlPressed

public void setControlPressed(boolean b)
Parameters:
b -

keyPressed

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

keyReleased

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

displaySelected

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

mousePressed

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

mouseDragged

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

mouseReleased

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

updateRectangle

public void updateRectangle()

getName

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