|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--org.zaval.misc.event.PosEvent
This class is used to notify when a position has been changed.
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
PosEvent(java.lang.Object src,
int po,
int pl,
int pc)
Constructs the event object with the specified source object, the previous position, the previous line and column. |
|
| Method Summary | |
int |
getPrevCol()
Gets the previous column. |
int |
getPrevLine()
Gets the previous line number. |
int |
getPrevOffset()
Gets the previous position. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PosEvent(java.lang.Object src,
int po,
int pl,
int pc)
src - the object where the event originated.po - the specified previous position.pl - the specified previous line.pc - the specified previous column.| Method Detail |
public int getPrevOffset()
public int getPrevLine()
public int getPrevCol()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||