322323324325326327328
if (alpha < 0.0f || alpha > 1.0f) { throw new IllegalArgumentException( "The 'alpha' value must be in the range 0.0f to 1.0f"); } this.alpha = alpha; notifyListeners(new MarkerChangeEvent(this)); }
346347348349350351352
* * @see #getLabel() */ public void setLabel(String label) { this.label = label; notifyListeners(new MarkerChangeEvent(this)); }
371372373374375376377
* @see #getLabelFont() */ public void setLabelFont(Font font) { ParamChecks.nullNotPermitted(font, "font"); this.labelFont = font; notifyListeners(new MarkerChangeEvent(this)); }
396397398399400401402
* @see #getLabelPaint() */ public void setLabelPaint(Paint paint) { ParamChecks.nullNotPermitted(paint, "paint"); this.labelPaint = paint; notifyListeners(new MarkerChangeEvent(this)); }
423424425426427428429
* @see #getLabelAnchor() */ public void setLabelAnchor(RectangleAnchor anchor) { ParamChecks.nullNotPermitted(anchor, "anchor"); this.labelAnchor = anchor; notifyListeners(new MarkerChangeEvent(this)); }
448449450451452453454
* @see #getLabelOffset() */ public void setLabelOffset(RectangleInsets offset) { ParamChecks.nullNotPermitted(offset, "offset"); this.labelOffset = offset; notifyListeners(new MarkerChangeEvent(this)); }
473474475476477478479
* @see #getLabelOffsetType() */ public void setLabelOffsetType(LengthAdjustmentType adj) { ParamChecks.nullNotPermitted(adj, "adj"); this.labelOffsetType = adj; notifyListeners(new MarkerChangeEvent(this)); }
498499500501502503504
* @see #getLabelTextAnchor() */ public void setLabelTextAnchor(TextAnchor anchor) { ParamChecks.nullNotPermitted(anchor, "anchor"); this.labelTextAnchor = anchor; notifyListeners(new MarkerChangeEvent(this)); }
128129130131132133134
* @since 1.0.3 */ public void setKey(Comparable key) { ParamChecks.nullNotPermitted(key, "key"); this.key = key; notifyListeners(new MarkerChangeEvent(this)); }
150151152153154155156
* * @param drawAsLine the flag. */ public void setDrawAsLine(boolean drawAsLine) { this.drawAsLine = drawAsLine; notifyListeners(new MarkerChangeEvent(this)); }