ccd
Class JCameraCanvas.CameraCursor
java.lang.Object
java.awt.Cursor
jview.CanvasCursor
jview.CrossCursor
jview.DragCursor
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
| 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 |
|
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.CanvasCursor |
disableCanvas, enableCanvas, getActions, getComposedProperties, getCursorName, getCursorShape, getCustomized, getNormalizedAction, getScreenAction, getUserAction, init, isConsider, isMe, isWithin, repaintCanvas, setCursorName, setCursorShape |
JCameraCanvas.CameraCursor
public JCameraCanvas.CameraCursor(ResourceSupplying root)
- Internal cursor, thus we only need this constructor.
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.