public class OverlayPlugin1.SimpleCrossOverlay extends Overlay
Overlay.OverlayPriority
ID_CANBEREMOVED, ID_CLASSNAME, ID_ID, ID_NAME, ID_OVERLAY, ID_PRIORITY, ID_READONLY, ID_RECEIVEKEYEVENTONHIDDEN, ID_RECEIVEMOUSEEVENTONHIDDEN, LOD_SMALL, LOD_TINY, PROPERTY_CANBEREMOVED, PROPERTY_NAME, PROPERTY_PERSISTENT, PROPERTY_PRIORITY, PROPERTY_READONLY, PROPERTY_RECEIVEKEYEVENTONHIDDEN, PROPERTY_RECEIVEMOUSEEVENTONHIDDEN
Constructor and Description |
---|
OverlayPlugin1.SimpleCrossOverlay() |
Modifier and Type | Method and Description |
---|---|
void |
mouseClick(java.awt.event.MouseEvent e,
Point5D.Double point,
IcyCanvas canvas)
Mouse click event forwarded to the overlay.
|
void |
paint(java.awt.Graphics2D g,
Sequence sequence,
IcyCanvas canvas)
Paint method called to draw the overlay.
|
addOverlayListener, attachTo, beginUpdate, changed, compareTo, createFromXML, detachFrom, endUpdate, getAttachedCanvas, getCanBeRemoved, getName, getOptionsPanel, getOverlayCount, getPriority, getReceiveKeyEventOnHidden, getReceiveMouseEventOnHidden, getSequences, isAttached, isFixed, isPersistent, isReadOnly, isUpdating, keyPressed, keyPressed, keyReleased, keyReleased, loadFromXML, loadFromXML, loadOverlaysFromXML, mouseClick, mouseDrag, mouseDrag, mouseEntered, mouseEntered, mouseExited, mouseExited, mouseMove, mouseMove, mousePressed, mousePressed, mouseReleased, mouseReleased, mouseWheelMoved, mouseWheelMoved, onChanged, painterChanged, propertyChanged, remove, removeOverlayListener, saveOverlaysToXML, saveToXML, setCanBeRemoved, setFixed, setName, setPersistent, setPriority, setReadOnly, setReceiveKeyEventOnHidden, setReceiveMouseEventOnHidden
public OverlayPlugin1.SimpleCrossOverlay()
public void paint(java.awt.Graphics2D g, Sequence sequence, IcyCanvas canvas)
Overlay
public void mouseClick(java.awt.event.MouseEvent e, Point5D.Double point, IcyCanvas canvas)
Overlay
mouseClick
in class Overlay
e
- mouse eventpoint
- mouse position (image coordinates)canvas
- icy canvas