Class LayoutAddLineListenerImpl
java.lang.Object
org.gvsig.app.project.documents.layout.tools.AbstractLayoutToolListener
org.gvsig.app.project.documents.layout.tools.AbstractLayoutGraphicListener
org.gvsig.app.project.documents.layout.tools.LayoutAddLineListenerImpl
- All Implemented Interfaces:
ILayoutGraphicListener,LayoutPointListener,LayoutToolListener
public class LayoutAddLineListenerImpl
extends AbstractLayoutGraphicListener
implements LayoutPointListener
Implementaci�n de la interfaz LayoutPointListener como herramienta para
realizar
una l�nea.
- Author:
- Vicente Caballero Navarro
-
Field Summary
FieldsFields inherited from class org.gvsig.app.project.documents.layout.tools.AbstractLayoutToolListener
layoutManager, layoutPanel -
Constructor Summary
ConstructorsConstructorDescriptionLayoutAddLineListenerImpl(LayoutPanel layoutPanel) Crea un nuevo LayoutAddLineListenerImpl. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCondición para que se cancele el dibujado.intDevuelve la imagen del cursor de la herramienta.voidpoint(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) Invocado cuando se hace un pressed sobre la vista.voidpointDoubleClick(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) Methods inherited from class org.gvsig.app.project.documents.layout.tools.AbstractLayoutGraphicListener
endGraphic
-
Field Details
-
iLine
-
-
Constructor Details
-
LayoutAddLineListenerImpl
Crea un nuevo LayoutAddLineListenerImpl.- Parameters:
l- Layout.
-
-
Method Details
-
point
public void point(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) Description copied from interface:LayoutPointListenerInvocado cuando se hace un pressed sobre la vista.- Specified by:
pointin interfaceLayoutPointListener- Parameters:
event- PointEvent.- See Also:
-
getImageCursor
Description copied from interface:LayoutToolListenerDevuelve la imagen del cursor de la herramienta.- Specified by:
getImageCursorin interfaceLayoutToolListener- Returns:
- ImageCursor.
- See Also:
-
cancelDrawing
public boolean cancelDrawing()Description copied from interface:LayoutToolListenerCondición para que se cancele el dibujado.- Specified by:
cancelDrawingin interfaceLayoutToolListener- Returns:
- True si se cancela el dibujado.
- See Also:
-
pointDoubleClick
public void pointDoubleClick(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) - Specified by:
pointDoubleClickin interfaceLayoutPointListener
-
createGeometryAdapter
- Specified by:
createGeometryAdapterin interfaceILayoutGraphicListener- Specified by:
createGeometryAdapterin classAbstractLayoutGraphicListener
-
getFFrameGraphicsType
public int getFFrameGraphicsType()- Specified by:
getFFrameGraphicsTypein classAbstractLayoutGraphicListener
-