public abstract class SpecifyFeaturesTool extends DragTool
AbstractCursorTool.ListenerDEFAULT_VIEW_CLICK_BUFFER, modelDestination, modelSource| Constructor and Description |
|---|
SpecifyFeaturesTool() |
| Modifier and Type | Method and Description |
|---|---|
protected Iterator |
candidateLayersIterator() |
protected Map |
layerToSpecifiedFeaturesMap()
Returns the layers containing the specified features, and the specified
features themselves.
|
static Map |
layerToSpecifiedFeaturesMap(Iterator layerIterator,
com.vividsolutions.jts.geom.Envelope boxInModelCoordinates) |
void |
mouseClicked(MouseEvent e) |
protected Set |
specifiedFeatures() |
protected Collection |
specifiedFeatures(Collection layers) |
getBoxInModelCoordinates, getModelDestination, getModelSource, getShape, getShape, getViewDestination, getViewSource, modelClickBuffer, mouseDragged, mousePressed, mouseReleased, setModelDestination, setModelSource, setViewClickBuffer, setViewDestination, setViewSource, wasClickactivate, add, allowSnapping, cancelGesture, check, cleanup, clearShape, createCursor, createCursor, createStandardSnappingPolicies, deactivate, drawShapeXOR, drawShapeXOR, execute, fireGestureFinished, gestureFinished, getColor, getCursor, getName, getPanel, getSnapManager, getTaskFrame, getWorkbench, isGestureInProgress, isRightMouseButtonUsed, isRollingBackInvalidEdits, isShapeOnScreen, mouseEntered, mouseExited, mouseMoved, name, redrawShape, reportNothingToUndoYet, setColor, setFilling, setStroke, setStrokeWidth, setup, snap, snap, toString, wasControlPressed, wasShiftPressed, workbench, workbenchFrameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIconprotected Iterator candidateLayersIterator()
public void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenermouseClicked in class AbstractCursorToolprotected Set specifiedFeatures() throws NoninvertibleTransformException
NoninvertibleTransformExceptionprotected Map layerToSpecifiedFeaturesMap() throws NoninvertibleTransformException
NoninvertibleTransformExceptionpublic static Map layerToSpecifiedFeaturesMap(Iterator layerIterator, com.vividsolutions.jts.geom.Envelope boxInModelCoordinates) throws NoninvertibleTransformException
NoninvertibleTransformExceptionprotected Collection specifiedFeatures(Collection layers) throws NoninvertibleTransformException
layers - Layers to filter inNoninvertibleTransformExceptionCopyright © 2015. All rights reserved.