class JXSearchField.ClearAction extends AbstractAction
null
.changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
ClearAction() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Calls
clear() . |
void |
clear()
Sets the search field's text to
null and requests the
focus for the search field. |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public ClearAction()
public void actionPerformed(ActionEvent e)
clear()
.public void clear()
null
and requests the
focus for the search field.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses