ccd
Class JCameraCanvas.CameraCursor

java.lang.Object
  extended by java.awt.Cursor
      extended by jview.CanvasCursor
          extended by jview.CrossCursor
              extended by jview.DragCursor
                  extended by ccd.JCameraCanvas.CameraCursor
All Implemented Interfaces:
MouseListener, MouseMotionListener, Serializable, EventListener, MouseInputListener, Initializable, PropertyAware, PropertyComposed
Enclosing class:
JCameraCanvas

public static class JCameraCanvas.CameraCursor
extends DragCursor

A camera cursor does not zoom the underlying component, but prepares for a new exposure with a normally lesser frame (the one selected)

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class jview.CrossCursor
CrossCursor.Draw
 
Field Summary
 
Fields inherited from class jview.DragCursor
KEY_ANGLESIZE, KEY_SHOWANGLE, KEY_SHOWDELTAX, KEY_SHOWDELTAY, KEY_SHOWDISTANCE, KEY_SHOWSTART
 
Fields inherited from class jview.CrossCursor
cursorcolor, KEY_ALLOWDRAG, KEY_PERSISTENT, KEY_SHOWCOORDINATE, KEY_SINGLEPERSIST, KEY_XSHIFT, KEY_YSHIFT, lastcenter, lastposition, xformat, yformat
 
Fields inherited from class jview.CanvasCursor
canvas, DEFCURSORCOLOR, KEY_COORDINATES, KEY_CURSORCOLOR, KEY_CURSORNAME, KEY_CURSORSIZE, NORMALIZED, NORMALIZEDACTION, SCREEN, SCREENACTION, USER, USERACTION
 
Fields inherited from class java.awt.Cursor
CROSSHAIR_CURSOR, CUSTOM_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, MOVE_CURSOR, N_RESIZE_CURSOR, name, NE_RESIZE_CURSOR, NW_RESIZE_CURSOR, predefined, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Constructor Summary
JCameraCanvas.CameraCursor(ResourceSupplying root)
          Internal cursor, thus we only need this constructor.
 
Method Summary
protected  void dragSelect(Rectangle zoomselect, int ignore)
          This method now converts the selected screen rectangle into viewport coordinates and further into user coordintates.
 void mouseClicked(MouseEvent me)
          Clicking with the mouse does not do anything.
 
Methods inherited from class jview.DragCursor
clearOnRepaint, mouseDragged, mouseEntered, mousePressed, mouseReleased, setComposedProperties
 
Methods inherited from class jview.CrossCursor
drawCross, drawPosition, getCoordinateLabel, getCoordinates, getCoordinatesPair, mouseExited, mouseMoved, setCoordinateFormat, setCoordinateLabel
 
Methods inherited from class jview.CanvasCursor
disableCanvas, enableCanvas, getActions, getComposedProperties, getCursorName, getCursorShape, getCustomized, getNormalizedAction, getScreenAction, getUserAction, init, isConsider, isMe, isWithin, repaintCanvas, setCursorName, setCursorShape
 
Methods inherited from class java.awt.Cursor
getDefaultCursor, getName, getPredefinedCursor, getSystemCustomCursor, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JCameraCanvas.CameraCursor

public JCameraCanvas.CameraCursor(ResourceSupplying root)
Internal cursor, thus we only need this constructor.

Method Detail

mouseClicked

public void mouseClicked(MouseEvent me)
Clicking with the mouse does not do anything.


dragSelect

protected void dragSelect(Rectangle zoomselect,
                          int ignore)
This method now converts the selected screen rectangle into viewport coordinates and further into user coordintates.

Specified by:
dragSelect in class DragCursor
Parameters:
zoomselect - The on-screen Rectangle of the drag, not normalized.
ignore - The extended modifiers of the mouse event on drag end.