public class ToolZoomOutBox extends ToolDrawBox
styledLabel, styledPoly
state, STATE_FIRST_CLICK, STATE_NONE, STATE_SECOND_CLICK
altKeyEventManager, altLastPressed, createStyledElement, cursorCrosshair, cursorWait, df, displayLabel, drawLayer, drawLayerId, eventDispatcher, firstPointWc, ID_DISTANCE_LINE, ID_LABEL, ID_LINE_TMP, ID_SNAP_POINT, isPersistant, lastMousePositionDc, secPointWc, showAttributesEditor, snapLayers, styleContainer, t, toRedrawDc, useHighlightHandles, useUndoManager
Constructor and Description |
---|
ToolZoomOutBox()
Creates a new ToolZoomOutBox tool that will NOT display the size of the box
in a KLabelPanel
|
ToolZoomOutBox(int nbDecimals)
Creates a new ToolZoomInBox tool that will display the size of the box in a
KLabelPanel.
|
ToolZoomOutBox(int nbDecimals,
boolean displayLabel,
boolean isPersistant,
int drawLayerId,
StyleContainer styleContainer) |
Modifier and Type | Method and Description |
---|---|
java.awt.Cursor |
getCursor()
This method gets a new crosshair cursor
|
void |
onToolReleased(java.awt.event.MouseEvent e)
Usually called by the View object on which the tool was used when the user
releases the mouse button.
|
keyPressed, onToolClicked, onToolDragged, onToolMoved, onToolPressed, terminate, viewRepaintOccurred
init
addEditionEventListener, altIsPressed, altLastPressed, ctrlIsPressed, dispatchEvent, fireEditionEvent, genTrnsprntFillContainer, getDrawLayer, getLabelAlignment, getLabelStyle, getLineStyle, getStyleContainer, initEventDispatcher, isCreateStyledElement, isPersistant, isPersistent, isUseUndoManager, keyReleased, keyTyped, offsetGeometry, removeEditionEventListener, setCreateStyledElement, setDrawLayer, setPersistant, setPersistent, setShowAttributesEditor, setStyleContainer, setUseUndoManager, shiftIsPressed, unoffsetGeometry, updatePtMouseVars, updatePtMouseVars, viewActivated, viewAdded, viewChangedOccurred, viewDeactivated, viewPopupMenuShowing, viewReadyOccurred, viewRedrawOccurred, viewRemoved, viewStaticElementChanged, viewToolChangedOccurred
getView, isAutoPan, setAutoPan, toWCPoint
public ToolZoomOutBox()
public ToolZoomOutBox(int nbDecimals)
nbDecimals
- The maximum number of decimals.public ToolZoomOutBox(int nbDecimals, boolean displayLabel, boolean isPersistant, int drawLayerId, StyleContainer styleContainer)
public void onToolReleased(java.awt.event.MouseEvent e)
onToolReleased
in class ToolDrawBox
e
- the corresponding MouveEvent