com.partnersoft.modules.inspection.listener
Class TextFieldScriptListener
java.lang.Object
com.partnersoft.modules.inspection.listener.BaseListener
com.partnersoft.modules.inspection.listener.TextFieldScriptListener
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.DocumentListener
public class TextFieldScriptListener
- extends BaseListener
- implements javax.swing.event.DocumentListener
Inspection field listener for JTextFields. Fires script when a
InputMethodEvent is fired. Note this is fired for changedUpdate(), insertUpdate(),
and removeUpdate().
Copyright 2008 Partner Software, Inc.
- Version:
- $Id$
- Author:
- Rich Stepanski
|
Method Summary |
void |
changedUpdate(javax.swing.event.DocumentEvent event)
|
void |
insertUpdate(javax.swing.event.DocumentEvent event)
|
void |
removeUpdate(javax.swing.event.DocumentEvent event)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextFieldScriptListener
public TextFieldScriptListener(InspectionKit kit,
com.partnersoft.gui.GUIForm parent,
java.lang.String scriptName)
- Creates a TextFieldScriptListener. Fires a script the module kit.getModule() in
the resources/FieldListeners/ directory that matches the passed script name when
a Document event is fired. Which is done for insertions, removals, and changes.
- Parameters:
kit - parent - scriptName -
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent event)
- Specified by:
changedUpdate in interface javax.swing.event.DocumentListener
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent event)
- Specified by:
insertUpdate in interface javax.swing.event.DocumentListener
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent event)
- Specified by:
removeUpdate in interface javax.swing.event.DocumentListener