|
ElegantJ Data Entry Masks Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
com.elegantj.util.editmask.EditMaskEvent
EditMaskEvent occured while the text has been changed of the editmask
| Field Summary | |
int |
eventID
holds the event id |
static int |
TEXT_CHANGED
Represents the event that text has been changed |
static int |
TEXT_WAS_GOING_TO_CHANGE
Represents the event that text was going to change |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
EditMaskEvent(java.lang.Object source,
int eventID,
java.lang.String previousText,
java.lang.String currentText,
java.lang.String textWasGoingToChange)
Constructs the EditMaskEvent |
|
| Method Summary | |
java.lang.String |
getCurrentText()
Returns the current text of the EditMask |
int |
getID()
Returns the event id, the possbile values are TEXT_CHANGED, TEXT_WAS_GOING_TO_CHANGE |
java.lang.String |
getPreviousText()
Returns the previous text of the EditMask |
java.lang.String |
getTextWasGoingToChange()
Returns the text which was going to change, but due to restriction it could not change the EditMask's text |
| 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 |
| Field Detail |
public static int TEXT_WAS_GOING_TO_CHANGE
public static int TEXT_CHANGED
public int eventID
| Constructor Detail |
public EditMaskEvent(java.lang.Object source,
int eventID,
java.lang.String previousText,
java.lang.String currentText,
java.lang.String textWasGoingToChange)
source - The specified sourcepreviousText - The specified previous textcurrentText - The specified current texttextWasGoingToChange - The text which was going to change but due to some
restriction it could not change| Method Detail |
public java.lang.String getCurrentText()
public java.lang.String getPreviousText()
public java.lang.String getTextWasGoingToChange()
public int getID()
|
ElegantJ Data Entry Masks Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||