| textValueChanged |
(TextEvent event) |
yoix.event |
| |
The
textValueChanged
event handler is a special user-defined
Function
that can be added to a
JComboBox,
JTextArea,
JTextField,
JTextPane,
TextArea
or
TextField
component when it is created
and that will be called automatically with a single
TextEvent
argument when text value maintained by the component changes.
For a
JComboBox
this event handler only makes sense when the combobox is editable.
A
textValueChanged
event handler can only be added via
addEventHandler
after a component is created,
but an existing
textValueChanged
event handler can be assigned new values.
Assigning
NULL
to
textValueChanged
disables its functionality until a
non-NULL
value is assigned to it.
For the AWT components
TextArea
and
TextField,
the event received by the handler provides no useful information other
than its arrival.
For the Swing components
JTextArea,
JTextField
and
JTextPane,
the
length,
offset
and
type
fields in the
TextEvent
provide useful information.
| |
| Return: |
none
| | |
| See Also: |
actionPerformed,
addEventHandler,
adjustmentValueChanged,
caretUpdate,
componentHidden,
componentMoved,
componentResized,
componentShown,
dragDropEnd,
dragEnter,
dragExit,
dragGestureRecognized,
dragMouseMoved,
dragOver,
drop,
dropActionChanged,
Event,
focusGained,
focusLost,
hyperlinkActivated,
hyperlinkEntered,
hyperlinkExited,
invocationAction,
invocationBrowse,
invocationChange,
invocationEdit,
invocationEditKey,
invocationRun,
invocationSelection,
itemStateChanged,
keyPressed,
keyReleased,
keyTyped,
mouseClicked,
mouseDragged,
mouseEntered,
mouseExited,
mouseMoved,
mousePressed,
mouseReleased,
mouseWheelMoved,
removeEventHandler,
stateChanged,
TextEvent,
valueChanged,
windowActivated,
windowClosed,
windowClosing,
windowDeactivated,
windowDeiconified,
windowIconified,
windowOpened
|
|
Yoix is a registered trademark of AT&T Inc.
|
|