edu.umd.cfar.lamp.viper.gui.data.bbox
Class BboxCreator
java.lang.Object
edu.umd.cs.piccolo.event.PBasicInputEventHandler
edu.umd.cs.piccolo.PInputManager
edu.umd.cfar.lamp.viper.gui.canvas.CanvasCreator
edu.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
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 |
BboxCreator
public BboxCreator(CreatorAssistant a,
Attribute attr)
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