|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
java.awt.AWTEvent
edu.neu.ccs.gui.AlertEvent
edu.neu.ccs.gui.MalformedDataEvent
Class of s
encapsulating the designation that a graphical input object
has just been verified to have a malformed view state,
or has just had its previously malformed view state
restored to a well-formed state.AWTEvent
Fragile,
Serialized Form| Field Summary | |
private ParseException |
ex
The ParseException that was generated
by an input component in response to malformed data. |
private String |
s
The malformed data, or the well-formed data that replaced previously malformed data. |
| Fields inherited from class edu.neu.ccs.gui.AlertEvent |
ALERT_OFF, ALERT_ON |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
MalformedDataEvent(Object source,
String data)
Constructs a malformed data event generated by the given source object because the given String data
has successfully replaced previously malformed data. |
|
MalformedDataEvent(Object source,
String data,
ParseException exception)
Constructs a malformed data event generated by the given source object because the given String data
caused the given exception to be thrown. |
|
| Method Summary | |
String |
getData()
Returns the String data representing
either the malformed view state
that caused an exception to be thrown,
or the well-formed view state
that replaced a previously malformed view state. |
ParseException |
getParseException()
Returns the exception that was thrown in response to the stored malformed view state. |
| Methods inherited from class edu.neu.ccs.gui.AlertEvent |
isAlertOn |
| Methods inherited from class java.awt.AWTEvent |
consume, getID, isConsumed, paramString, setSource, 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 |
| Field Detail |
private String s
private ParseException ex
ParseException that was generated
by an input component in response to malformed data.
| Constructor Detail |
public MalformedDataEvent(Object source,
String data,
ParseException exception)
String data
caused the given exception to be thrown.
source - the object generating the eventdata - the malformed data Stringexception - the exception thrown in response
to the malformed dataMalformedDataEvent(Object, String)
public MalformedDataEvent(Object source,
String data)
String data
has successfully replaced previously malformed data.
source - the object generating the eventdata - the well-formed
replacement data StringMalformedDataEvent(Object, String, ParseException)| Method Detail |
public String getData()
String data representing
either the malformed view state
that caused an exception to be thrown,
or the well-formed view state
that replaced a previously malformed view state.
public ParseException getParseException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||