Class CorrelateGpxWithImages.StatusBarUpdater
- java.lang.Object
-
- org.openstreetmap.josm.gui.layer.geoimage.CorrelateGpxWithImages.StatusBarUpdater
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.awt.event.ItemListener
,java.util.EventListener
,javax.swing.event.ChangeListener
,javax.swing.event.DocumentListener
,GpxData.GpxDataChangeListener
- Enclosing class:
- CorrelateGpxWithImages
private class CorrelateGpxWithImages.StatusBarUpdater extends java.lang.Object implements javax.swing.event.DocumentListener, java.awt.event.ItemListener, javax.swing.event.ChangeListener, java.awt.event.ActionListener, GpxData.GpxDataChangeListener
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
doRepaint
-
Constructor Summary
Constructors Constructor Description StatusBarUpdater(boolean doRepaint)
-
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
gpxDataChanged(GpxData.GpxDataChangeEvent e)
Called when the gpx data changed.void
insertUpdate(javax.swing.event.DocumentEvent e)
void
itemStateChanged(java.awt.event.ItemEvent e)
private java.lang.String
matchAndGetStatusText()
void
matchAndUpdateStatusBar()
void
removeUpdate(javax.swing.event.DocumentEvent e)
void
stateChanged(javax.swing.event.ChangeEvent e)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openstreetmap.josm.data.gpx.GpxData.GpxDataChangeListener
modifiedStateChanged
-
-
-
-
Field Detail
-
doRepaint
private final boolean doRepaint
-
-
Constructor Detail
-
StatusBarUpdater
StatusBarUpdater(boolean doRepaint)
-
-
Method Detail
-
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
-
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
changedUpdate
in interfacejavax.swing.event.DocumentListener
-
itemStateChanged
public void itemStateChanged(java.awt.event.ItemEvent e)
- Specified by:
itemStateChanged
in interfacejava.awt.event.ItemListener
-
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent e)
- Specified by:
stateChanged
in interfacejavax.swing.event.ChangeListener
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
gpxDataChanged
public void gpxDataChanged(GpxData.GpxDataChangeEvent e)
Description copied from interface:GpxData.GpxDataChangeListener
Called when the gpx data changed.- Specified by:
gpxDataChanged
in interfaceGpxData.GpxDataChangeListener
- Parameters:
e
- The event
-
matchAndUpdateStatusBar
public void matchAndUpdateStatusBar()
-
matchAndGetStatusText
private java.lang.String matchAndGetStatusText()
-
-