public class P2DMarkerControl extends P2DComponentControl implements P2DMarkerControlInterface
| Modifier and Type | Field and Description |
|---|---|
protected P2DMarkerGroupInterface |
armedGroup |
static java.lang.String |
version |
image, moving, startingPointcommands, 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, uninstalladdCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommandsgetPresentationString, getPresentationStringgetNiceVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaskForName, focusGained, focusLost, initialize, install, mouseClicked, mouseEntered, mouseExited, mouseMoved, processFocusEvent, processMouseEvent, revalidate, uninstallgetPresentationString, getPresentationStringpublic static final java.lang.String version
protected P2DMarkerGroupInterface armedGroup
public boolean openPopupMenu(P2DComponentInterface component, java.awt.event.MouseEvent ev)
openPopupMenu in interface P2DControlInterfaceopenPopupMenu in class P2DComponentControlcomponent - the componentev - The mouse event.public void mouseReleased(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.MouseEvent e)
mouseReleased in interface P2DControlInterfacemouseReleased in class P2DComponentControlcomponent - 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 P2DControlInterfacemousePressed in class P2DComponentControlcomponent - 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 P2DControlInterfacemouseDragged in class P2DComponentControlcomponent - The componentp - The coordinates in the component coordinate system.e - The mouse event.