setAlpha(float alpha) Sets the alpha transparency that should be used when drawing the
marker, and sends a
MarkerChangeEvent to all registered
listeners.
public void
setLabel(String label) Sets the label (if null no label is displayed) and sends a
MarkerChangeEvent to all registered listeners.
Constructs a new marker.
Parameters: paint - the paint (null not permitted). Parameters: stroke - the stroke (null not permitted). Parameters: outlinePaint - the outline paint (null permitted). Parameters: outlineStroke - the outline stroke (null permitted). Parameters: alpha - the alpha transparency (must be in the range 0.0f to 1.0f). throws: IllegalArgumentException - if paint or stroke is null, or alpha is not in the specified range.
Returns the label anchor. This defines the position of the label
anchor, relative to the bounds of the marker.
The label anchor (never null). See Also:Marker.setLabelAnchor(RectangleAnchor)
Returns an array containing all the listeners of the specified type.
Parameters: listenerType - the listener type. The array of listeners. since: 1.0.3
Sets the alpha transparency that should be used when drawing the
marker, and sends a
MarkerChangeEvent to all registered
listeners. The alpha transparency is a value in the range 0.0f
(completely transparent) to 1.0f (completely opaque).
Parameters: alpha - the alpha transparency (must be in the range 0.0f to 1.0f). throws: IllegalArgumentException - if alpha is not in thespecified range. See Also:Marker.getAlpha()
Sets the label (if null no label is displayed) and sends a
MarkerChangeEvent to all registered listeners.
Parameters: label - the label (null permitted). See Also:Marker.getLabel()
setLabelAnchor
public void setLabelAnchor(RectangleAnchor anchor)(Code)
Sets the label anchor and sends a
MarkerChangeEvent to all
registered listeners. The anchor defines the position of the label
anchor, relative to the bounds of the marker.
Parameters: anchor - the anchor (null not permitted). See Also:Marker.getLabelAnchor()
Sets the label font and sends a
MarkerChangeEvent to all
registered listeners.
Parameters: font - the font (null not permitted). See Also:Marker.getLabelFont()
setLabelOffset
public void setLabelOffset(RectangleInsets offset)(Code)
Sets the label offset and sends a
MarkerChangeEvent to all
registered listeners.
Parameters: offset - the label offset (null not permitted). See Also:Marker.getLabelOffset()
setLabelOffsetType
public void setLabelOffsetType(LengthAdjustmentType adj)(Code)
Sets the label paint and sends a
MarkerChangeEvent to all
registered listeners.
Parameters: paint - the paint (null not permitted). See Also:Marker.getLabelPaint()
setLabelTextAnchor
public void setLabelTextAnchor(TextAnchor anchor)(Code)
Sets the label text anchor and sends a
MarkerChangeEvent to
all registered listeners.
Parameters: anchor - the label text anchor (null not permitted). See Also:Marker.getLabelTextAnchor()
Sets the paint and sends a
MarkerChangeEvent to all registered
listeners.
Parameters: paint - the paint (null not permitted). See Also:Marker.getPaint()
Sets the stroke and sends a
MarkerChangeEvent to all registered
listeners.
Parameters: stroke - the stroke (null not permitted). See Also:Marker.getStroke()