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) boolean
isSearchMore
(package private) java.lang.String
lastSearchExpression
-
Constructor Summary
Constructors Constructor Description SearchAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
void
changedUpdate(javax.swing.event.DocumentEvent e)
void
insertUpdate(javax.swing.event.DocumentEvent e)
void
removeUpdate(javax.swing.event.DocumentEvent e)
protected void
updateState()
-
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:
actionPerformed
in interfacejava.awt.event.ActionListener
-
updateState
protected final void updateState()
-
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
changedUpdate
in interfacejavax.swing.event.DocumentListener
-
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
insertUpdate
in interfacejavax.swing.event.DocumentListener
-
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
removeUpdate
in interfacejavax.swing.event.DocumentListener
-
-