Package org.openstreetmap.josm.gui.bbox
Class SourceButton.TileSourceButtonModel
- java.lang.Object
-
- javax.swing.DefaultButtonModel
-
- javax.swing.JToggleButton.ToggleButtonModel
-
- org.openstreetmap.josm.gui.bbox.SourceButton.TileSourceButtonModel
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.awt.ItemSelectable
,java.io.Serializable
,java.util.EventListener
,javax.swing.ButtonModel
- Enclosing class:
- SourceButton
protected class SourceButton.TileSourceButtonModel extends javax.swing.JToggleButton.ToggleButtonModel implements java.awt.event.ActionListener
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.openstreetmap.gui.jmapviewer.interfaces.TileSource
tileSource
-
Constructor Summary
Constructors Constructor Description TileSourceButtonModel(org.openstreetmap.gui.jmapviewer.interfaces.TileSource tileSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
-
Methods inherited from class javax.swing.JToggleButton.ToggleButtonModel
isSelected, setPressed, setSelected
-
Methods inherited from class javax.swing.DefaultButtonModel
addActionListener, addChangeListener, addItemListener, fireActionPerformed, fireItemStateChanged, fireStateChanged, getActionCommand, getActionListeners, getChangeListeners, getGroup, getItemListeners, getListeners, getMnemonic, getSelectedObjects, isArmed, isEnabled, isPressed, isRollover, removeActionListener, removeChangeListener, removeItemListener, setActionCommand, setArmed, setEnabled, setGroup, setMnemonic, setRollover
-
-
-
-
Field Detail
-
tileSource
protected final org.openstreetmap.gui.jmapviewer.interfaces.TileSource tileSource
-
-
Constructor Detail
-
TileSourceButtonModel
public TileSourceButtonModel(org.openstreetmap.gui.jmapviewer.interfaces.TileSource tileSource)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
-