|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.biojava.bio.gui.sequence.SequenceViewerEvent
public class SequenceViewerEvent
An event indicating that a mouse gesture was recognised within a widget that renders sequences.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
SequenceViewerEvent(Object source,
Object target,
int pos,
MouseEvent mouseEvent,
List path)
Construct a SequenceViewerEvent with the given source, target, mouseEvent and path. |
Method Summary | |
---|---|
MouseEvent |
getMouseEvent()
Get the mouse event that caused this. |
List |
getPath()
Get the list of SequenceRenderer instances that were passed through to produce this event |
int |
getPos()
Get the offset within the sequence - the symbol index. |
Object |
getTarget()
Get the Object that was the target of the mouse gesture or null if the mouse is not gesturing over any recognizable rendered object. |
String |
toString()
|
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SequenceViewerEvent(Object source, Object target, int pos, MouseEvent mouseEvent, List path)
source
- the event source, presumably a GUI componenttarget
- an Object that is the target of the gesture - a feature, or
{alignment, label, index} or some other structure, or null
if there is no obvious targetpos
- the position (offset) within the sequencemouseEvent
- the MouseEvent that caused this event to be producedpath
- a List of SequenceRenderer instances passed through to reach
this event sourceMethod Detail |
---|
public List getPath()
public Object getTarget()
public int getPos()
public MouseEvent getMouseEvent()
public String toString()
toString
in class EventObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |