public class P2DMarkerControl extends P2DComponentControl implements P2DMarkerControlInterface
Modifier and Type | Field and Description |
---|---|
protected P2DMarkerGroupInterface |
armedGroup |
static java.lang.String |
version |
image, moving, startingPoint
commands, fwkCommandTemplate, groups
Constructor and Description |
---|
P2DMarkerControl() |
Modifier and Type | Method and Description |
---|---|
void |
mouseDragged(P2DComponentInterface component,
java.awt.geom.Point2D p,
java.awt.event.MouseEvent e)
The callback that is called if the mouse was pressed.
|
void |
mousePressed(P2DComponentInterface component,
java.awt.geom.Point2D p,
java.awt.event.MouseEvent e)
The callback that is called if the mouse was pressed.
|
void |
mouseReleased(P2DComponentInterface component,
java.awt.geom.Point2D p,
java.awt.event.MouseEvent e)
The callback that is called if the mouse was pressed.
|
boolean |
openPopupMenu(P2DComponentInterface component,
java.awt.event.MouseEvent ev)
Open the popup menu for the marker.
|
askForName, focusGained, focusLost, getVersion, initialize, install, mouseClicked, mouseEntered, mouseExited, mouseMoved, processFocusEvent, processMouseEvent, release, release, revalidate, uninstall
addCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommands
getPresentationString, getPresentationString
getNiceVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
askForName, focusGained, focusLost, initialize, install, mouseClicked, mouseEntered, mouseExited, mouseMoved, processFocusEvent, processMouseEvent, revalidate, uninstall
getPresentationString, getPresentationString
public static final java.lang.String version
protected P2DMarkerGroupInterface armedGroup
public boolean openPopupMenu(P2DComponentInterface component, java.awt.event.MouseEvent ev)
openPopupMenu
in interface P2DControlInterface
openPopupMenu
in class P2DComponentControl
component
- the componentev
- The mouse event.public void mouseReleased(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.MouseEvent e)
mouseReleased
in interface P2DControlInterface
mouseReleased
in class P2DComponentControl
component
- The componentp
- The coordinates in the component coordinate system.e
- The mouse event.public void mousePressed(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.MouseEvent e)
mousePressed
in interface P2DControlInterface
mousePressed
in class P2DComponentControl
component
- The componentp
- The coordinates in the component coordinate system.e
- The mouse event.public void mouseDragged(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.MouseEvent e)
mouseDragged
in interface P2DControlInterface
mouseDragged
in class P2DComponentControl
component
- The componentp
- The coordinates in the component coordinate system.e
- The mouse event.