Class PlaceSelection.SearchAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.download.PlaceSelection.SearchAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action,javax.swing.event.DocumentListener
- Enclosing class:
- PlaceSelection
class PlaceSelection.SearchAction extends javax.swing.AbstractAction implements javax.swing.event.DocumentListener
Action to perform initial search, and (if query is unchanged) load more results.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) booleanisSearchMore(package private) java.lang.StringlastSearchExpression
-
Constructor Summary
Constructors Constructor Description SearchAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)voidchangedUpdate(javax.swing.event.DocumentEvent e)voidinsertUpdate(javax.swing.event.DocumentEvent e)voidremoveUpdate(javax.swing.event.DocumentEvent e)protected voidupdateState()-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
lastSearchExpression
java.lang.String lastSearchExpression
-
isSearchMore
boolean isSearchMore
-
-
Constructor Detail
-
SearchAction
SearchAction()
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
-
updateState
protected final void updateState()
-
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
changedUpdatein interfacejavax.swing.event.DocumentListener
-
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
insertUpdatein interfacejavax.swing.event.DocumentListener
-
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
removeUpdatein interfacejavax.swing.event.DocumentListener
-
-