|
||||||||||
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.gml.Feature org.cresques.px.gml.FeatureCollection
FeatureCollection de .gml y .shp
Nested Class Summary |
Nested classes inherited from class org.cresques.px.IObjList |
IObjList.vector |
Field Summary | |
java.util.Vector |
data
|
Fields inherited from class org.cresques.px.PxObj |
extent, stroke |
Constructor Summary | |
FeatureCollection(IProjection proj)
Constructor de FeatureCollection. |
Method Summary | |
void |
add(Extent.Has feature)
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 Features que conforman la FeatureCollection. |
Extent.Has |
get(int i)
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. |
Extent |
getExtent()
Permite obtener el extent de la FeatureCollection. |
IProjection |
getProjection()
Devuelve la proyección cartográfica en la que se encuentra la FeatureCollection. |
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 FeatureCollection 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 FeatureCollection. |
int |
size()
Devuelve la cantidad de elementos que contiene la lista de objetos gráficos. |
Methods inherited from class org.cresques.px.gml.Feature |
getGeometry, getProp, setGeometry, setProp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.util.Vector data
Constructor Detail |
public FeatureCollection(IProjection proj)
Method Detail |
public void add(Extent.Has feature)
add
in interface IObjList
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 Extent.Has get(int i)
get
in interface IObjList.vector
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
draw
in class Feature
public Extent getExtent()
getExtent
in interface Extent.Has
getExtent
in class Feature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |