|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.renderer.j2d.MarkIterator org.geotools.renderer.j2d.RenderedGridMarks.Iterator
Iterates through all marks in a RenderedGridMarks
.
Constructor Summary | |
RenderedGridMarks.Iterator()
Construct a mark iterator. |
Method Summary | |
double |
amplitude()
Retourne l'amplitude ? la position d'une marque. |
double |
direction()
Retourne la direction de la valeur d'une marque. |
int |
getIteratorPosition()
Returns the current iterator position. |
protected java.lang.String |
getToolTipText(GeoMouseEvent event)
Returns a tooltip text for the current mark. |
java.lang.String |
label()
Returns the label for the current mark, or null if none. |
java.awt.Paint |
markPaint()
Returns the paint for current mark. |
java.awt.Shape |
markShape()
Retourne la forme g?om?trique servant de mod?le au tra?age des marques. |
boolean |
next()
Moves the iterator to the next mark. |
java.awt.geom.Point2D |
position()
Retourne les coordonn?es (x,y) d'un point de la grille. |
void |
setIteratorPosition(int n)
Moves the iterator to the specified index. |
Methods inherited from class org.geotools.renderer.j2d.MarkIterator |
font, geographicArea, getAction, labelPosition, markIcon, paint, visible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RenderedGridMarks.Iterator()
Method Detail |
public int getIteratorPosition()
MarkIterator
MarkIterator
will
returns -1, since new iterators are initially positioned before the first mark.
getIteratorPosition
in class MarkIterator
public void setIteratorPosition(int n)
setIteratorPosition
in class MarkIterator
n
- The new position (0 for the first mark, 1 for the second one, etc.).public boolean next()
next
in class MarkIterator
true
if the new current mark is valid;
false
if there are no more marks.public java.awt.geom.Point2D position() throws org.opengis.referencing.operation.TransformException
RenderedGridMarks.setDecimation(int, int)
,
alors la position retourn?e sera situ?e au milieu des points ? moyenner.
position
in class MarkIterator
org.opengis.referencing.operation.TransformException
- if a transform was required and failed.MarkIterator.geographicArea()
public double amplitude()
RenderedGridMarks.setDecimation(int, int)
, alors cette m?thode calcule la moyenne vectorielle
(la moyenne des composantes x et y) aux positions des marques ?
d?cimer, et retourne l'amplitude du vecteur moyen.
amplitude
in class MarkIterator
public double direction()
RenderedGridMarks.setDecimation(int, int)
, alors cette m?thode calcule la moyenne vectorielle
(la moyenne des composantes x et y) aux positions des marques ?
d?cimer, et retourne la direction du vecteur moyen.
direction
in class MarkIterator
public java.awt.Shape markShape()
markShape
in class MarkIterator
RenderedGridMarks.getMarkShape()
,
RenderedGridMarks.setMarkShape(java.awt.Shape)
public java.awt.Paint markPaint()
markPaint
in class MarkIterator
RenderedGridMarks.getMarkPaint()
,
RenderedGridMarks.setMarkPaint(java.awt.Paint)
public java.lang.String label()
null
if none.
label
in class MarkIterator
protected java.lang.String getToolTipText(GeoMouseEvent event)
getToolTipText
in class MarkIterator
event
- The mouse event.
null
if none.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |