es.prodevelop.gvsig.mobile.fmap.core
Interface FShape

All Superinterfaces:
java.io.Serializable, java.awt.Shape
All Known Subinterfaces:
FShape3D
All Known Implementing Classes:
FPoint2D, FPoint3D, FPolygon3D, FPolyline2D, FPolyline3D

public interface FShape
extends java.awt.Shape, java.io.Serializable

Añade el tipo de la shape a la interfaz java.awt.Shape


Field Summary
static int ARC
           
static int CIRCLE
           
static int ELLIPSE
           
static int LINE
           
static int MULTI
           
static int MULTIPOINT
           
static int NULL
           
static int POINT
           
static int POLYGON
           
static int TEXT
           
static int Z
           
 
Method Summary
 FShape cloneFShape()
          Clona FShape.
 Handler[] getSelectHandlers()
          Returns the hanlers they utilized to select the geometries.
 int getShapeType()
          Obtiene el tipo de shape que contiene.
 Handler[] getStretchingHandlers()
          Returns the handlers they utilized to stretch the geometries.
 boolean intersects(java.awt.geom.Rectangle2D r)
           
 void reProject(ICoordTrans ct)
          Reprojecta el FShape.
 void transform(java.awt.geom.AffineTransform at)
           
 
Methods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, getBounds2D, getPathIterator, getPathIterator, intersects
 

Field Detail

NULL

public static final int NULL
See Also:
Constant Field Values

POINT

public static final int POINT
See Also:
Constant Field Values

LINE

public static final int LINE
See Also:
Constant Field Values

POLYGON

public static final int POLYGON
See Also:
Constant Field Values

TEXT

public static final int TEXT
See Also:
Constant Field Values

MULTI

public static final int MULTI
See Also:
Constant Field Values

MULTIPOINT

public static final int MULTIPOINT
See Also:
Constant Field Values

CIRCLE

public static final int CIRCLE
See Also:
Constant Field Values

ARC

public static final int ARC
See Also:
Constant Field Values

ELLIPSE

public static final int ELLIPSE
See Also:
Constant Field Values

Z

public static final int Z
See Also:
Constant Field Values
Method Detail

getShapeType

public int getShapeType()
Obtiene el tipo de shape que contiene. Puede ser una de las constantes POINT, LINE o POLYGON

Returns:
int

cloneFShape

public FShape cloneFShape()
Clona FShape.

Returns:
FShape clonado.

reProject

public void reProject(ICoordTrans ct)
Reprojecta el FShape.

Parameters:
ct - Coordenadas de transformación.

getStretchingHandlers

public Handler[] getStretchingHandlers()
Returns the handlers they utilized to stretch the geometries.

Returns:
Handlers

getSelectHandlers

public Handler[] getSelectHandlers()
Returns the hanlers they utilized to select the geometries.

Returns:
Handlers

transform

public void transform(java.awt.geom.AffineTransform at)

intersects

public boolean intersects(java.awt.geom.Rectangle2D r)
Specified by:
intersects in interface java.awt.Shape