public class NFEManipulateTool extends NFETool
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG_PULLABLE_LAYER |
PROPERTY_NAME, PROPERTY_PROVIDERID, PROPERTY_SRID, PROPERTY_VISIBLE
Constructor and Description |
---|
NFEManipulateTool(MapCanvas canvas, NFEModel model, NFESelectionTool selectTool)
Allocates a new manipulate tool
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears all contents of this layer.
|
boolean |
handleEvent(java.util.EventObject evt)
The main method that performs event handling for this tool.
|
long |
render(java.awt.Graphics2D g)
Renders the layer contents to the given Graphics.
|
getModel, getTolerance, isEnabled, setEnabled
isInAction
added, addPropertyChangeListener, addPropertyChangeListener, fromXMLElement, getCanvas, getDataMBR, getFullExtent, getIcon, getName, getProperties, getProperty, getProperty, getPropertyChangeListeners, getPropertyChangeListeners, getProviderID, getSRID, hitTest, hitTest, isVisible, mapRegionChanged, removed, removePropertyChangeListener, removePropertyChangeListener, repaint, setCanvas, setName, setProperty, setProviderID, setSRID, setVisible, toXMLElement, update
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
added, fromXMLElement, getCanvas, getDataMBR, getFullExtent, getIcon, getName, getProviderID, getSRID, hitTest, hitTest, isVisible, mapRegionChanged, removed, repaint, setCanvas, setName, setProviderID, setSRID, setVisible, toXMLElement, update
public static final java.lang.String TAG_PULLABLE_LAYER
public NFEManipulateTool(MapCanvas canvas, NFEModel model, NFESelectionTool selectTool)
canvas
- the current MapCanvasmodel
- the current NFE modelselectTool
- the underlying selection tool used to select the target GeoObjectspublic boolean handleEvent(java.util.EventObject evt)
Layer
handleEvent
in interface Layer
handleEvent
in class NFETool
public void clear()
Layer
clear
in interface Layer
clear
in class BasicLayer
public long render(java.awt.Graphics2D g)
Layer
render
in interface Layer
render
in class BasicLayer
g
- the graphics object