public class WaypointsMouseModule extends MouseModule
MouseModule.Pos
dragRenderer, logger, parent
Constructor and Description |
---|
WaypointsMouseModule(DasCanvasComponent parent,
java.lang.String label) |
Modifier and Type | Method and Description |
---|---|
void |
addBoxSelectionListener(BoxSelectionListener listener)
Registers BoxSelectionListener to receive events.
|
protected void |
fireBoxSelectionListenerBoxSelected(BoxSelectionEvent event)
Notifies all registered listeners about the event.
|
java.lang.String |
getDirections()
allow one-line directions to be added to the mouse module.
|
void |
keyTyped(java.awt.event.KeyEvent keyEvent) |
void |
mouseRangeSelected(MouseDragEvent e)
Action to take when a mouse range (click, drag, release) has been
selected.
|
void |
removeBoxSelectionListener(BoxSelectionListener listener)
Removes BoxSelectionListener from the list of listeners.
|
QDataSet |
whereWithin(QDataSet xx,
QDataSet yy)
returns a list of indices where the rank 1 yy is within the pathway, or null if none are found.
|
axisIsAdjustable, drawListIcon, getCursor, getDragRenderer, getLabel, getListIcon, getListLabel, getParent, keyPressed, keyReleased, maybeRound, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePointSelected, mousePressed, mouseReleased, mouseWheelMoved, position, setDirections, setDragRenderer, setLabel
public WaypointsMouseModule(DasCanvasComponent parent, java.lang.String label)
public java.lang.String getDirections()
MouseModule
getDirections
in class MouseModule
public void keyTyped(java.awt.event.KeyEvent keyEvent)
keyTyped
in interface java.awt.event.KeyListener
keyTyped
in class MouseModule
public void addBoxSelectionListener(BoxSelectionListener listener)
listener
- The listener to register.public void removeBoxSelectionListener(BoxSelectionListener listener)
listener
- The listener to remove.protected void fireBoxSelectionListenerBoxSelected(BoxSelectionEvent event)
event
- The event to be firedpublic void mouseRangeSelected(MouseDragEvent e)
MouseModule
mouseRangeSelected
in class MouseModule
e
- the drag event.