com.ontimize.util.gis.client.gui.panels.actions
Class SelectByDistanceAction
java.lang.Object
com.ontimize.util.gis.client.gui.panels.actions.SelectByDistanceAction
- All Implemented Interfaces:
- SelectionChangeListener, IPopupMenuAction, java.awt.event.ActionListener, java.util.EventListener
public class SelectByDistanceAction
- extends java.lang.Object
- implements IPopupMenuAction, SelectionChangeListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
distanceLabelText
protected static java.lang.String distanceLabelText
viewer
protected IGisViewer viewer
distance
protected double distance
posX
protected int posX
posY
protected int posY
coordDialog
protected javax.swing.JDialog coordDialog
outerPanel
protected javax.swing.JPanel outerPanel
panel
protected javax.swing.JPanel panel
distanceLabel
protected javax.swing.JLabel distanceLabel
distanceTextField
protected com.ontimize.gui.field.RealDataField distanceTextField
okButton
protected javax.swing.JButton okButton
cancelButton
protected javax.swing.JButton cancelButton
okButtonText
protected java.lang.String okButtonText
cancelButtonText
protected java.lang.String cancelButtonText
popupItem
protected PopupMenuItem popupItem
SelectByDistanceAction
public SelectByDistanceAction()
SelectByDistanceAction
public SelectByDistanceAction(IGisViewer viewer)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
buildDialog
protected void buildDialog()
okButton_actionPerformed
protected void okButton_actionPerformed(java.awt.event.ActionEvent e)
cancelButton_actionPerformed
protected void cancelButton_actionPerformed(java.awt.event.ActionEvent e)
setResourceBundle
public void setResourceBundle(java.util.ResourceBundle res)
- Specified by:
setResourceBundle in interface IPopupMenuAction
setParameter
public void setParameter(java.lang.String paramName,
java.lang.Object paramValue)
- Description copied from interface:
IPopupMenuAction
- Set a parameter value for this action. The definition
of this parameter in the xml code is using the
FormAttribute
element
- Specified by:
setParameter in interface IPopupMenuAction
- Parameters:
paramName - Parameter nameparamValue - Parameter value
setParameters
public void setParameters(java.util.Hashtable<java.lang.String,java.lang.Object> params)
- Description copied from interface:
IPopupMenuAction
- Set a group of parameters stored in a hashtable in [name, value] pairs.
- Specified by:
setParameters in interface IPopupMenuAction
- Parameters:
params - Hashtable containing the popup menu action configuration parameters
setParentItem
public void setParentItem(PopupMenuItem popupItem)
- Description copied from interface:
IPopupMenuAction
- Set action parent item
- Specified by:
setParentItem in interface IPopupMenuAction
- Parameters:
popupItem - Parent item
selectionChanged
public void selectionChanged(SelectionChangeEvent event)
- Description copied from interface:
SelectionChangeListener
- Invoked when the actual selection changes
- Specified by:
selectionChanged in interface SelectionChangeListener
- Parameters:
event - Gis viewer selection change event containing the selected
data values and the selection layer identifiers