|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--uk.ac.man.bioinf.sequence.event.SequenceEvent
SequenceEvent.java Instances of this class represent an event to a sequence. It includes reference to the location of the event, as well as its type. Created: Tue Feb 15 19:12:00 2000
| Field Summary |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
SequenceEvent(Object src,
int start,
int length,
SequenceEventType type)
Constructor to set the event source, location and type, which allows the definition of the start and end of an event. |
|
SequenceEvent(Object src,
int location,
SequenceEventType type)
Constructor to set the event source, location and type. |
|
| Method Summary | |
int |
getLength()
Returns the end location of the event. |
int |
getStart()
Returns the start location of the event. |
SequenceEventType |
getType()
Returns the seqyence event type. |
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 SequenceEvent(Object src,
int location,
SequenceEventType type)
src - the source of the event (i.e: the sequence)location - the location of the eventtype - the sequence event type
public SequenceEvent(Object src,
int start,
int length,
SequenceEventType type)
src - the source of the event (i.e: the sequence)start - the start location of the eventtype - the sequence event type| Method Detail |
public int getStart()
public int getLength()
public SequenceEventType getType()
public String toString()
toString in class EventObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||