public interface TextListener extends EventListener
addTextListener
方法向组件addTextListener
。
当组件的文本更改时,调用侦听器对象的textValueChanged
方法。
TextEvent
Modifier and Type | Method and Description |
---|---|
void |
textValueChanged(TextEvent e)
当文本的值已更改时调用。
|
void textValueChanged(TextEvent e)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.