Package org.openstreetmap.josm.gui.io
Class SaveLayersDialog.SaveAndProceedAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.io.SaveLayersDialog.SaveAndProceedAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.beans.PropertyChangeListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Enclosing class:
- SaveLayersDialog
final class SaveLayersDialog.SaveAndProceedAction extends javax.swing.AbstractAction implements java.beans.PropertyChangeListener
-
-
Field Summary
Fields Modifier and Type Field Description private ImageResource
actionImg
-
Constructor Summary
Constructors Constructor Description SaveAndProceedAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
private void
attachImageIcon(java.lang.String key, ImageProvider.ImageSizes size, ImageResource uploadImg, ImageResource saveImg, ImageResource actionImg)
private void
drawImageIcon(java.awt.Graphics2D g, int index, java.awt.Dimension dim, ImageResource img)
(package private) ImageResource
getImage(java.lang.String name, boolean disabled)
void
initForReason(SaveLayersDialog.Reason reason)
void
propertyChange(java.beans.PropertyChangeEvent evt)
void
redrawIcon()
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
actionImg
private ImageResource actionImg
-
-
Constructor Detail
-
SaveAndProceedAction
SaveAndProceedAction()
-
-
Method Detail
-
getImage
ImageResource getImage(java.lang.String name, boolean disabled)
-
initForReason
public void initForReason(SaveLayersDialog.Reason reason)
-
redrawIcon
public void redrawIcon()
-
attachImageIcon
private void attachImageIcon(java.lang.String key, ImageProvider.ImageSizes size, ImageResource uploadImg, ImageResource saveImg, ImageResource actionImg)
-
drawImageIcon
private void drawImageIcon(java.awt.Graphics2D g, int index, java.awt.Dimension dim, ImageResource img)
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
-