public class ChangeObserver extends Object
A utility class for observing changes on TextAreas. API lends itself to expanding to other types of of components also. It subscribes to receive action events from the textareas, but only propagates the event to its listeners if the value of the text area has changed since the last event.
Note
|
This class isn’t used by CodeRAD for its property binding functionality. It is still a useful class for monitoring plain old text areas, though. |
Constructor and Description |
---|
ChangeObserver(Component... components) |
Modifier and Type | Method and Description |
---|---|
ChangeObserver |
add(Component cmp) |
ChangeObserver |
addActionListener(ActionListener l) |
ChangeObserver |
removeActionListener(ActionListener l) |
public ChangeObserver(Component... components)
public ChangeObserver add(Component cmp)
public ChangeObserver addActionListener(ActionListener l)
public ChangeObserver removeActionListener(ActionListener l)
Copyright © 2022. All Rights Reserved.