com.ontimize.util.gis.client.interfaces
Interface IPopupMenuAction

All Superinterfaces:
java.awt.event.ActionListener, java.util.EventListener
All Known Implementing Classes:
BBoxAction, DeleteCachesAction, DistanceMeasureAction, EditGisConf, ForceRefreshAction, GoToAction, GoToGoogleAction, LoggerPanelAction, SelectByDistanceAction, ShowGridAction, ShowLegendAction, ShowScaleAction

public interface IPopupMenuAction
extends java.awt.event.ActionListener

Interface used for the poppup menu action classes. This classes must also have a constructor like If the popup item is inside the layers panel the constructor will be like PopupMenuClass(IGisViewer gisviewer, IGisLayer layer)

See Also:
FormAttribute

Method Summary
 void setParameter(java.lang.String name, java.lang.Object value)
          Set a parameter value for this action.
 void setParameters(java.util.Hashtable<java.lang.String,java.lang.Object> params)
          Set a group of parameters stored in a hashtable in [name, value] pairs.
 void setParentItem(PopupMenuItem popupItem)
          Set action parent item
 void setResourceBundle(java.util.ResourceBundle res)
           
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Method Detail

setParameter

void setParameter(java.lang.String name,
                  java.lang.Object value)
Set a parameter value for this action. The definition of this parameter in the xml code is using the FormAttribute element

Parameters:
name - Parameter name
value - Parameter value

setParameters

void setParameters(java.util.Hashtable<java.lang.String,java.lang.Object> params)
Set a group of parameters stored in a hashtable in [name, value] pairs.

Parameters:
params - Hashtable containing the popup menu action configuration parameters

setParentItem

void setParentItem(PopupMenuItem popupItem)
Set action parent item

Parameters:
popupItem - Parent item

setResourceBundle

void setResourceBundle(java.util.ResourceBundle res)