Class PointLabelHighPrecedenceTool
java.lang.Object
org.gvsig.app.gui.styling.EditorTool
org.gvsig.labeling.gui.styling.editortools.PointLabelHighPrecedenceTool
- All Implemented Interfaces:
MouseListener,MouseMotionListener,EventListener
- Direct Known Subclasses:
PointLabelForbiddenPrecedenceTool,PointLabelLowPrecedenceTool,PointLabelNormalPrecedenceTool
public class PointLabelHighPrecedenceTool
extends org.gvsig.app.gui.styling.EditorTool
Implements an editor tool which can be used to select the position for the
label when the user is performing a layer of points. There will be 4 different
precedence levels for the 8 different places where the text for the specified point
will be placed (see PointLabelPositioneer.java). This class implements the highest one,
but the user can select a normal, a low or a forbidden one.
- Author:
- Pepe Vidal Salvador - jose.vidal.salvador@iver.es
-
Field Summary
FieldsFields inherited from class org.gvsig.app.gui.styling.EditorTool
owner, SMALL_BTN_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ImageIconObtains the image for the button of the toolgetID()booleanisSuitableFor(Object obj) voidvoidvoidvoidMethods inherited from class org.gvsig.app.gui.styling.EditorTool
mouseClicked, mouseEntered, mouseExited, mouseMoved
-
Field Details
-
buttonIcon
-
precedenceValue
protected byte precedenceValue
-
-
Constructor Details
-
PointLabelHighPrecedenceTool
Constructor- Parameters:
targetEditor-
-
-
Method Details
-
getIconButton
Obtains the image for the button of the tool- Returns:
-
getButton
- Specified by:
getButtonin classorg.gvsig.app.gui.styling.EditorTool
-
getCursor
- Specified by:
getCursorin classorg.gvsig.app.gui.styling.EditorTool
-
getID
- Specified by:
getIDin classorg.gvsig.app.gui.styling.EditorTool
-
isSuitableFor
- Specified by:
isSuitableForin classorg.gvsig.app.gui.styling.EditorTool
-
setModel
- Specified by:
setModelin classorg.gvsig.app.gui.styling.EditorTool
-
mousePressed
-
mouseReleased
-
mouseDragged
-