DESY ACOP Beans Home

com.cosylab.gui.components
Class NumberField.NumberDocumentAdapter

java.lang.Object
  extended by com.cosylab.gui.components.NumberField.NumberDocumentAdapter
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.DocumentListener
Enclosing class:
NumberField

protected class NumberField.NumberDocumentAdapter
extends java.lang.Object
implements javax.swing.event.DocumentListener

Listens for document events and handles the value property change.

Version:
$id$
Author:
Jernej Kamenik

Constructor Summary
protected NumberField.NumberDocumentAdapter()
           
 
Method Summary
 void changedUpdate(javax.swing.event.DocumentEvent e)
          Updates the Numberfield while the text is typed.
 void insertUpdate(javax.swing.event.DocumentEvent e)
          Updates the Numberfield while the text is typed.
 void removeUpdate(javax.swing.event.DocumentEvent e)
          Updates the Numberfield while the text is typed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberField.NumberDocumentAdapter

protected NumberField.NumberDocumentAdapter()
Method Detail

changedUpdate

public void changedUpdate(javax.swing.event.DocumentEvent e)
Updates the Numberfield while the text is typed.

Specified by:
changedUpdate in interface javax.swing.event.DocumentListener
Parameters:
e - DocumentEvent
See Also:
DocumentListener.changedUpdate(javax.swing.event.DocumentEvent)

insertUpdate

public void insertUpdate(javax.swing.event.DocumentEvent e)
Updates the Numberfield while the text is typed.

Specified by:
insertUpdate in interface javax.swing.event.DocumentListener
Parameters:
e - DocumentEvent
See Also:
DocumentListener.insertUpdate(javax.swing.event.DocumentEvent)

removeUpdate

public void removeUpdate(javax.swing.event.DocumentEvent e)
Updates the Numberfield while the text is typed.

Specified by:
removeUpdate in interface javax.swing.event.DocumentListener
Parameters:
e - DocumentEvent
See Also:
DocumentListener.removeUpdate(javax.swing.event.DocumentEvent)


Copyright © 2010. All Rights Reserved.