oracle.jdeveloper.builder
Class EmptyFieldWatcher
java.lang.Object
oracle.jdeveloper.builder.EmptyFieldWatcher
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.DocumentListener
public class EmptyFieldWatcher
- extends java.lang.Object
- implements javax.swing.event.DocumentListener
DocumentListener that handles enabling and disabling a JEWTDialog's
OK button based on whether or not the attached document has text.
Field Summary |
protected oracle.bali.ewt.dialog.JEWTDialog |
_dlg
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_dlg
protected final oracle.bali.ewt.dialog.JEWTDialog _dlg
EmptyFieldWatcher
public EmptyFieldWatcher(oracle.bali.ewt.dialog.JEWTDialog dialog)
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
insertUpdate
in interface javax.swing.event.DocumentListener
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
removeUpdate
in interface javax.swing.event.DocumentListener
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
changedUpdate
in interface javax.swing.event.DocumentListener
Copyright © 1997, 2010, Oracle. All rights reserved.