org.mdanderson.biostat.util
public interface Validator extends DocumentListener
Modifier and Type | Method and Description |
---|---|
void |
addStatusListener(StatusListener listener)
Adds a status listener for notification of state of data changes
|
void |
changedUpdate(DocumentEvent event)
Gives notification that an attribute or set of attributes changed
|
void |
insertUpdate(DocumentEvent event)
Gives notification that there was an insert into the document
|
boolean |
isValid(Object value)
Determines the validity of data
|
void |
removeStatusListener(StatusListener listener)
Removes a status listener
|
void |
removeUpdate(DocumentEvent event)
Gives notification that a portion of the document has been removed
|
boolean |
validate(Object value)
Determines the validity of data and fires an event if state has changed
|
boolean isValid(Object value)
value
- data to be checkedboolean validate(Object value)
value
- data to be checkedisValid(java.lang.Object)
void changedUpdate(DocumentEvent event)
changedUpdate
in interface DocumentListener
event
- document change notification eventvoid insertUpdate(DocumentEvent event)
insertUpdate
in interface DocumentListener
event
- document change notification eventvoid removeUpdate(DocumentEvent event)
removeUpdate
in interface DocumentListener
event
- document change notification eventvoid addStatusListener(StatusListener listener)
listener
- status listenervoid removeStatusListener(StatusListener listener)
listener
- status listenerCopyright © 2002 M.D. Anderson Cancer Center. All Rights Reserved.