|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cresques.px.PxObj org.cresques.px.dxf.DxfEntityList
La clase DxfEntityList almacena un conjunto de objetos gráficos. Esta basada en FeatureCollection de .gml y .shp
Nested Class Summary |
Nested classes inherited from class org.cresques.px.IObjList |
IObjList.vector |
Field Summary |
Fields inherited from class org.cresques.px.PxObj |
extent, stroke |
Constructor Summary | |
DxfEntityList(IProjection proj)
Constructor de DxfEntityList. |
Method Summary | |
void |
add(Extent.Has obj)
Permite añadir un objeto gráfico a la lista. |
void |
clear()
Permite vacíar la lista de objetos gráficos. |
void |
draw(java.awt.Graphics2D g,
ViewPortData vp)
Permite dibujar las entidades que conforman la DxfEntityList. |
Extent.Has |
get(int cnt)
Devuelve uno de los elementos de la lista de objetos gráficos. |
IObjList |
getAt(java.awt.geom.Point2D pt)
Devuelve los obhjetos gráficos de la lista cuyos extents contengan al punto que se le pasa como argumento. |
IProjection |
getProjection()
Devuelve la proyección cartográfica en la que se encuentra la DxfEntityList. |
java.util.Iterator |
iterator()
Devuelve un iterador para recorrer los elementos de la lista de objetos gráficos. |
void |
remove(java.lang.Object obj)
Permite eliminar un elemento de la lista de objetos gráficos. |
void |
reProject(ICoordTrans rp)
Permite cambiar la proyección en la que se encuentra la DxfEntityList a través de un conjunto de coordenadas de transformación. |
void |
setProjection(IProjection p)
Establece la proyección cartográfica en la que se encuentra la DxfEntityList. |
int |
size()
Devuelve la cantidad de elementos que contiene la lista de objetos gráficos. |
java.lang.String |
toDxfString()
Permite la escritura de entidades en un fichero DXF2000. |
Methods inherited from class org.cresques.px.PxObj |
getExtent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.cresques.px.Extent.Has |
getExtent |
Constructor Detail |
public DxfEntityList(IProjection proj)
Method Detail |
public void add(Extent.Has obj)
add
in interface IObjList
public Extent.Has get(int cnt)
get
in interface IObjList.vector
public IObjList getAt(java.awt.geom.Point2D pt)
getAt
in interface IObjList
public java.util.Iterator iterator()
iterator
in interface IObjList
public int size()
size
in interface IObjList
public void remove(java.lang.Object obj)
remove
in interface IObjList
public void clear()
clear
in interface IObjList
public IProjection getProjection()
getProjection
in interface Projected
public void setProjection(IProjection p)
public void reProject(ICoordTrans rp)
reProject
in interface Projected
public void draw(java.awt.Graphics2D g, ViewPortData vp)
draw
in interface Drawable
public java.lang.String toDxfString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |