com.hp.hpl.guess.piccolo
Class DrawZoomHandler
java.lang.Object
edu.umd.cs.piccolo.event.PBasicInputEventHandler
com.hp.hpl.guess.piccolo.DrawZoomHandler
- All Implemented Interfaces:
- EventListener, PInputEventListener
- public class DrawZoomHandler
- extends PBasicInputEventHandler
| Methods inherited from class edu.umd.cs.piccolo.event.PBasicInputEventHandler |
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseWheelRotated, mouseWheelRotatedByBlock, processEvent, setEventFilter, toString |
transparent
public static final Color transparent
RECT
public static final int RECT
- See Also:
- Constant Field Values
LINE
public static final int LINE
- See Also:
- Constant Field Values
ELL
public static final int ELL
- See Also:
- Constant Field Values
RRECT
public static final int RRECT
- See Also:
- Constant Field Values
TEXT
public static final int TEXT
- See Also:
- Constant Field Values
DrawZoomHandler
public DrawZoomHandler(PLayer layer,
PCamera cam)
mousePressed
public void mousePressed(PInputEvent e)
mouseDragged
public void mouseDragged(PInputEvent e)
mouseReleased
public void mouseReleased(PInputEvent e)
updateRectangle
public void updateRectangle()
updateLine
public void updateLine()
saveState
public void saveState(ObjectOutputStream oos)
loadState
public void loadState(ObjectInputStream ois)