Class LayoutPointBehavior
java.lang.Object
org.gvsig.app.project.documents.layout.tools.behavior.LayoutBehavior
org.gvsig.app.project.documents.layout.tools.behavior.LayoutPointBehavior
- All Implemented Interfaces:
ILayoutBehavior
LayoutBehaviour que espera un listener de tipo LayoutPointListener.
- Author:
- Vicente Caballero Navarro
-
Constructor Summary
ConstructorsConstructorDescriptionCrea un nuevo LayoutPointBehavior. -
Method Summary
Modifier and TypeMethodDescriptionDevuelve el ToolListener que está seleccionado.booleanvoidCalls the right method from LayoutPointListener (point and pointDoubleClick)voidvoidReimplementación del método mousePressed de Behavior.voidvoidsetListener(org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener listener) Methods inherited from class org.gvsig.app.project.documents.layout.tools.behavior.LayoutBehavior
getImageCursor, getLayoutControl, mouseDragged, mouseEntered, mouseExited, mouseReleased, mouseWheelMoved, setLayoutControl
-
Constructor Details
-
LayoutPointBehavior
Crea un nuevo LayoutPointBehavior.- Parameters:
l- listener.
-
-
Method Details
-
mousePressed
Reimplementación del método mousePressed de Behavior.- Specified by:
mousePressedin interfaceILayoutBehavior- Overrides:
mousePressedin classLayoutBehavior- Parameters:
e- MouseEvent- Throws:
org.gvsig.fmap.mapcontrol.tools.BehaviorException- See Also:
-
paintComponent
- Specified by:
paintComponentin interfaceILayoutBehavior- Overrides:
paintComponentin classLayoutBehavior- See Also:
-
mouseClicked
Calls the right method from LayoutPointListener (point and pointDoubleClick)- Specified by:
mouseClickedin interfaceILayoutBehavior- Overrides:
mouseClickedin classLayoutBehavior- Parameters:
e- MouseEvent- Throws:
org.gvsig.fmap.mapcontrol.tools.BehaviorException- See Also:
-
setListener
public void setListener(org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener listener) - See Also:
-
getListener
Description copied from interface:ILayoutBehaviorDevuelve el ToolListener que está seleccionado.- Specified by:
getListenerin interfaceILayoutBehavior- Specified by:
getListenerin classLayoutBehavior- Returns:
- ToolListener seleccionado.
- See Also:
-
mouseMoved
- Specified by:
mouseMovedin interfaceILayoutBehavior- Overrides:
mouseMovedin classLayoutBehavior- Throws:
org.gvsig.fmap.mapcontrol.tools.BehaviorException- See Also:
-
isAdjustable
public boolean isAdjustable()- Specified by:
isAdjustablein interfaceILayoutBehavior- Overrides:
isAdjustablein classLayoutBehavior
-