Package org.gvsig.app.gui.styling
Class EditorTool
java.lang.Object
org.gvsig.app.gui.styling.EditorTool
- All Implemented Interfaces:
MouseListener,MouseMotionListener,EventListener
Abstract class that specifies the methods that are useful for the edition.
Most of them are methods in relation with mouse events in order to control its
position, what button is pressed and so on.
- Author:
- jaume dominguez faus - jaume.dominguez@iver.es
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AbstractButtonabstract CursorReturns the cursorabstract StringgetID()abstract booleanisSuitableFor(Object obj) voidvoidvoidvoidabstract voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.awt.event.MouseListener
mousePressed, mouseReleasedMethods inherited from interface java.awt.event.MouseMotionListener
mouseDragged
-
Field Details
-
SMALL_BTN_SIZE
-
owner
-
-
Constructor Details
-
EditorTool
Constructor method- Parameters:
targetEditor-
-
-
Method Details
-
getCursor
Returns the cursor -
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener
-
getButton
-
isSuitableFor
-
getID
-
setModel
-