nl.cloudfarming.client.area.field
Class SelectFieldInMapAction

java.lang.Object
  extended by nl.cloudfarming.client.area.field.SelectFieldInMapAction
All Implemented Interfaces:
ActionListener, EventListener, Action, org.openide.util.ContextAwareAction

public class SelectFieldInMapAction
extends Object
implements org.openide.util.ContextAwareAction

Action to select a field on the map

Author:
Timon Veenstra

Field Summary
 
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
SelectFieldInMapAction()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 Action createContextAwareInstance(org.openide.util.Lookup actionContext)
           
 Object getValue(String key)
           
 boolean isEnabled()
           
 void putValue(String key, Object value)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void setEnabled(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectFieldInMapAction

public SelectFieldInMapAction()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener
Parameters:
e -

getValue

public Object getValue(String key)
Specified by:
getValue in interface Action

putValue

public void putValue(String key,
                     Object value)
Specified by:
putValue in interface Action

setEnabled

public void setEnabled(boolean b)
Specified by:
setEnabled in interface Action

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface Action

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface Action

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface Action

createContextAwareInstance

public Action createContextAwareInstance(org.openide.util.Lookup actionContext)
Specified by:
createContextAwareInstance in interface org.openide.util.ContextAwareAction


Copyright © 2011. All Rights Reserved.