public class DragListener extends Object implements EventPlotListener, GlimpseMouseAllListener
Constructor and Description |
---|
DragListener(EventPlotInfo info) |
Modifier and Type | Method and Description |
---|---|
void |
eventsClicked(GlimpseMouseEvent e,
Set<EventSelection> events,
TimeStamp time)
Indicates the mouse clicked on the Events contained in the EventSelection Set.
|
void |
eventsEntered(GlimpseMouseEvent e,
Set<EventSelection> events,
TimeStamp time)
Indicates the mouse moved into of the Events contained in the EventSelection Set.
|
void |
eventsExited(GlimpseMouseEvent e,
Set<EventSelection> events,
TimeStamp time)
Indicates the mouse moved outside of the events contained in the EventSelection Set.
|
void |
eventsHovered(GlimpseMouseEvent e,
Set<EventSelection> events,
TimeStamp time)
Indicates that the mouse moved while inside the Events contained in the EventSelection Set.
|
void |
eventUpdated(Event event)
Indicates that the provided Event was updated by the user.
|
boolean |
isEnabled() |
void |
mouseEntered(GlimpseMouseEvent event) |
void |
mouseExited(GlimpseMouseEvent event) |
void |
mouseMoved(GlimpseMouseEvent e) |
void |
mousePressed(GlimpseMouseEvent event) |
void |
mouseReleased(GlimpseMouseEvent event) |
void |
mouseWheelMoved(GlimpseMouseEvent e) |
void |
reset() |
void |
setEnabled(boolean enabled) |
public DragListener(EventPlotInfo info)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public void reset()
public void mouseMoved(GlimpseMouseEvent e)
mouseMoved
in interface GlimpseMouseMotionListener
public void eventsClicked(GlimpseMouseEvent e, Set<EventSelection> events, TimeStamp time)
EventPlotListener
eventsClicked
in interface EventPlotListener
EventPlotListener.eventsExited(GlimpseMouseEvent, Set, TimeStamp)
public void mouseReleased(GlimpseMouseEvent event)
mouseReleased
in interface GlimpseMouseListener
public void eventsHovered(GlimpseMouseEvent e, Set<EventSelection> events, TimeStamp time)
EventPlotListener
eventsHovered
in interface EventPlotListener
EventPlotListener.eventsExited(GlimpseMouseEvent, Set, TimeStamp)
public void eventsExited(GlimpseMouseEvent e, Set<EventSelection> events, TimeStamp time)
EventPlotListener
eventsExited
in interface EventPlotListener
e
- the original MouseEvent which caused this eventsExited callevents
- the events which the mouse moved outside oftime
- the time corresponding to the mouse's current positionpublic void eventsEntered(GlimpseMouseEvent e, Set<EventSelection> events, TimeStamp time)
EventPlotListener
eventsEntered
in interface EventPlotListener
EventPlotListener.eventsExited(GlimpseMouseEvent, Set, TimeStamp)
public void eventUpdated(Event event)
EventPlotListener
eventUpdated
in interface EventPlotListener
public void mouseEntered(GlimpseMouseEvent event)
mouseEntered
in interface GlimpseMouseListener
public void mouseExited(GlimpseMouseEvent event)
mouseExited
in interface GlimpseMouseListener
public void mousePressed(GlimpseMouseEvent event)
mousePressed
in interface GlimpseMouseListener
public void mouseWheelMoved(GlimpseMouseEvent e)
mouseWheelMoved
in interface GlimpseMouseWheelListener
Copyright © 2013 Metron, Inc.. All rights reserved.