com.ontimize.util.gis.client.viewer.actions
Class OnMouseOverShowImage
java.lang.Object
com.ontimize.util.gis.client.viewer.actions.OnMouseOverShowImage
- All Implemented Interfaces:
- IGisViewerOnMouseOverAction
public class OnMouseOverShowImage
- extends java.lang.Object
- implements IGisViewerOnMouseOverAction
|
Method Summary |
boolean |
doAction(java.lang.Object data,
IGisViewer gisViewer,
java.awt.event.MouseEvent ev)
Action enabling method. |
java.util.Hashtable<java.lang.String,java.lang.Object> |
getInitParams()
Get the configuration parameters for the current gis viewer listener |
protected void |
init(java.util.Hashtable<java.lang.String,java.lang.Object> parameters)
|
void |
undoAction(IGisViewer gisViewer)
Action disabling method This method is called when the mouse is
not more over an element of the current layer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initParams
protected java.util.Hashtable<java.lang.String,java.lang.Object> initParams
photoFrame
protected ImageFrame photoFrame
pathText
protected java.lang.String pathText
titleText
protected java.lang.String titleText
panelAdded
protected boolean panelAdded
index
protected int index
OnMouseOverShowImage
public OnMouseOverShowImage()
OnMouseOverShowImage
public OnMouseOverShowImage(java.util.Hashtable<java.lang.String,java.lang.Object> parameters)
init
protected void init(java.util.Hashtable<java.lang.String,java.lang.Object> parameters)
doAction
public boolean doAction(java.lang.Object data,
IGisViewer gisViewer,
java.awt.event.MouseEvent ev)
- Description copied from interface:
IGisViewerOnMouseOverAction
- Action enabling method. The class must validate the data in order to
run the implemented action.
This method is called when the mouse is
over an element of the current layer
- Specified by:
doAction in interface IGisViewerOnMouseOverAction
- Parameters:
data - Highlighted element datagisViewer - Gis viewer referenceev - event with the actual cursor state and position
- Returns:
- action performed
undoAction
public void undoAction(IGisViewer gisViewer)
- Description copied from interface:
IGisViewerOnMouseOverAction
- Action disabling method
This method is called when the mouse is
not more over an element of the current layer
- Specified by:
undoAction in interface IGisViewerOnMouseOverAction
- Parameters:
gisViewer - Gis viewer reference
getInitParams
public java.util.Hashtable<java.lang.String,java.lang.Object> getInitParams()
- Description copied from interface:
IGisViewerOnMouseOverAction
- Get the configuration parameters for the current gis viewer listener
- Specified by:
getInitParams in interface IGisViewerOnMouseOverAction
- Returns:
- Configuration parameters