|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface to be implemented by classes of graphical interface components whose view state may be malformed.
This is most appropriate for user editable fields or dropdown views but also may be appropriate for other interface controls that may not be malformed but might have a view state outside of a valid range.
This interface only specifies that the component must be able to register and de-register objects from receiving notification when the component is found to have a malformed view state and when the view state is returned to a well-formed value. Usually, an interface component that contains the component will register as the listener and will signal some form of alert if the view of this component becomes malformed.
MalformedDataListener,
GeneralView| Method Summary | |
void |
addMalformedDataListener(MalformedDataListener l)
Registers the given MalformedDataListener
to receive MalformedDataEvents
when the view state data is found to be malformed and
when the view state data is returned to a well-formed
value. |
void |
removeMalformedDataListener(MalformedDataListener l)
De-registers the given MalformedDataListener
from receiving MalformedDataEvents
when the view state data is found to be malformed and
when the view state data is returned to a well-formed
value. |
| Method Detail |
public void addMalformedDataListener(MalformedDataListener l)
MalformedDataListener
to receive MalformedDataEvents
when the view state data is found to be malformed and
when the view state data is returned to a well-formed
value.
l - the listener to registerremoveMalformedDataListener(MalformedDataListener)public void removeMalformedDataListener(MalformedDataListener l)
MalformedDataListener
from receiving MalformedDataEvents
when the view state data is found to be malformed and
when the view state data is returned to a well-formed
value.
l - the listener to de-registeraddMalformedDataListener(MalformedDataListener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||