IteratorGraphicCollection3Dpublic class GraphicCollection extends Graphic implements Iterator
| 构造器 | 说明 |
|---|---|
GraphicCollection() |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
add(int index,
Graphic aGraphic) |
Inset a graphic
|
boolean |
add(Graphic aGraphic) |
Add a graphic
|
void |
addAll(List<Graphic> gs) |
Add all
|
void |
addLabel(Graphic aLP) |
Add label point
|
void |
addLabels() |
Add labels
|
void |
addLabelsContourDynamic(Extent sExtent) |
Add labels of contour layer dynamicly
|
void |
clear() |
Clear graphics
|
GraphicCollection |
clip(List<PolygonShape> clipPolys) |
Clip
|
boolean |
contains(Graphic g) |
Contains or not
|
Graphic |
get(int idx) |
Get a graphic by index
|
float |
getArrowZoom() |
Get arrow zoom
|
Extent |
getExtent() |
Get extent
|
Graphic |
getGraphicN(int idx) |
Get Graphic by index
|
List<Graphic> |
getGraphics() |
Get graphic list
|
List<Graphic> |
getLabelPoints() |
Get label points
|
LabelSet |
getLabelSet() |
Get label set
|
ColorBreak |
getLegend() |
Get legend
|
ColorBreak |
getLegendBreak() |
Get legend break
|
LegendScheme |
getLegendScheme() |
Get legend scheme
|
int |
getNumGraphics() |
Get graphics number
|
List<Shape> |
getShapes() |
Get shapes
|
ShapeTypes |
getShapeType() |
Get shape type
|
boolean |
hasNext() |
|
int |
indexOf(Graphic g) |
Index of
|
boolean |
is3D() |
Get is 3D or not
|
boolean |
isCollection() |
Get if is GraphicCollection
|
boolean |
isEmpty() |
Get is empty or not
|
boolean |
isSingleLegend() |
Get is single legend or not
|
void |
join(Graphic graphic) |
Join this graphics with other graphics
|
Object |
next() |
|
Graphic |
remove(int index) |
Remove a graphic by index
|
boolean |
remove(Graphic aGraphic) |
Remove a graphic
|
void |
removeAll(List<Graphic> gs) |
Remove all
|
GraphicCollection |
selectGraphics(Extent aExtent) |
Select graphics by an extent
|
void |
setExtent(Extent value) |
Set extent
|
void |
setGraphics(List<Graphic> value) |
Set graphic list
|
void |
setLabelPoints(List<Graphic> lps) |
Set label points
|
void |
setLabelSet(LabelSet ls) |
Set label set
|
void |
setLegendBreak(ColorBreak value) |
Set legend break
|
void |
setLegendScheme(LegendScheme value) |
Set legend scheme
|
void |
setSingleLegend(boolean value) |
Set is single legend or not
|
int |
size() |
Get graphic list size
|
void |
updateExtent() |
Update extent
|
addLegend, addShape, exportToXML, getResizeAbility, getShape, importFromXML, loadLegend, loadShape, setLegend, setShape, verticeAddUpdate, verticeMoveUpdate, verticeRemoveUpdateforEachRemaining, removepublic List<Graphic> getGraphics()
getGraphics 在类中 Graphicpublic void setExtent(Extent value)
public boolean isSingleLegend()
isSingleLegend 在类中 Graphicpublic void setSingleLegend(boolean value)
value - Booleanpublic LabelSet getLabelSet()
public void setLabelSet(LabelSet ls)
ls - Label setpublic void setLabelPoints(List<Graphic> lps)
lps - The lable pointspublic LegendScheme getLegendScheme()
public void setLegendScheme(LegendScheme value)
value - Legend schemepublic ColorBreak getLegendBreak()
public void setLegendBreak(ColorBreak value)
value - Legend breakpublic boolean is3D()
public boolean isCollection()
isCollection 在类中 Graphicpublic void updateExtent()
public boolean add(Graphic aGraphic)
aGraphic - The graphicpublic void add(int index,
Graphic aGraphic)
index - IndexaGraphic - The graphicpublic Graphic get(int idx)
idx - Indexpublic int indexOf(Graphic g)
g - Graphicpublic boolean contains(Graphic g)
g - Graphicpublic int size()
public boolean isEmpty()
public int getNumGraphics()
getNumGraphics 在类中 Graphicpublic Graphic getGraphicN(int idx)
getGraphicN 在类中 Graphicidx - Indexpublic boolean remove(Graphic aGraphic)
aGraphic - The graphicpublic Graphic remove(int index)
index - The indexpublic void clear()
public void join(Graphic graphic)
graphic - Other graphicspublic ColorBreak getLegend()
public GraphicCollection selectGraphics(Extent aExtent)
aExtent - The extentpublic void addLabels()
public ShapeTypes getShapeType()
public void addLabel(Graphic aLP)
aLP - Label pointpublic void addLabelsContourDynamic(Extent sExtent)
sExtent - View extent of MapViewpublic float getArrowZoom()
public GraphicCollection clip(List<PolygonShape> clipPolys)
clipPolys - Clipping polygonsCopyright © 2019. All rights reserved.