|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.man.bioinf.gui.viewer.DefaultSequenceCursor
DefaultSequenceCursor.java Created: Tue Apr 4 12:49:30 2000
Constructor Summary | |
DefaultSequenceCursor()
|
Method Summary | |
void |
addChangeListener(ChangeListener listener)
Add a listener to this cursor |
SequenceAlignmentPoint |
getMark()
Returns the position of mark |
SequenceAlignmentPoint |
getPoint()
Returns the position of point |
void |
removeChangeListener(ChangeListener listener)
Remove the listener from this cursor |
void |
setMark()
Set the mark to the current position of point |
void |
setPoint(SequenceAlignmentPoint position)
Set the point to the new position |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultSequenceCursor()
Method Detail |
public void addChangeListener(ChangeListener listener)
SequenceCursor
addChangeListener
in interface SequenceCursor
listener
- the listener to addpublic void removeChangeListener(ChangeListener listener)
SequenceCursor
removeChangeListener
in interface SequenceCursor
listener
- the listener to removepublic void setPoint(SequenceAlignmentPoint position)
SequenceCursor
setPoint
in interface SequenceCursor
position
- the position to setpublic void setMark()
SequenceCursor
setMark
in interface SequenceCursor
public SequenceAlignmentPoint getPoint()
SequenceCursor
getPoint
in interface SequenceCursor
public SequenceAlignmentPoint getMark()
SequenceCursor
getMark
in interface SequenceCursor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |