org.openstreetmap.josm.gui.layer
Class CustomizeColor

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.openstreetmap.josm.gui.layer.CustomizeColor
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Layer.LayerAction, Layer.MultiLayerAction

public class CustomizeColor
extends javax.swing.AbstractAction
implements Layer.LayerAction, Layer.MultiLayerAction

See Also:
Serialized Form

Field Summary
(package private)  java.util.List<Layer> layers
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
private CustomizeColor()
           
  CustomizeColor(Layer l)
           
  CustomizeColor(java.util.List<Layer> l)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 java.awt.Component createMenuComponent()
           
 javax.swing.Action getMultiLayerAction(java.util.List<Layer> layers)
           
 boolean supportLayers(java.util.List<Layer> layers)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

layers

java.util.List<Layer> layers
Constructor Detail

CustomizeColor

public CustomizeColor(java.util.List<Layer> l)

CustomizeColor

public CustomizeColor(Layer l)

CustomizeColor

private CustomizeColor()
Method Detail

supportLayers

public boolean supportLayers(java.util.List<Layer> layers)
Specified by:
supportLayers in interface Layer.LayerAction

createMenuComponent

public java.awt.Component createMenuComponent()
Specified by:
createMenuComponent in interface Layer.LayerAction

getMultiLayerAction

public javax.swing.Action getMultiLayerAction(java.util.List<Layer> layers)
Specified by:
getMultiLayerAction in interface Layer.MultiLayerAction

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener


JOSM