Class 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  
      • Fields inherited from class javax.swing.DefaultButtonModel

        actionCommand, ARMED, changeEvent, ENABLED, group, listenerList, mnemonic, PRESSED, ROLLOVER, SELECTED, stateMask
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface java.awt.event.ActionListener