128129130131132133134
public void setKey(Comparable key) { if (key == null) { throw new IllegalArgumentException("Null 'key' argument."); } this.key = key; notifyListeners(new MarkerChangeEvent(this)); }
150151152153154155156
* * @param drawAsLine the flag. */ public void setDrawAsLine(boolean drawAsLine) { this.drawAsLine = drawAsLine; notifyListeners(new MarkerChangeEvent(this)); }
117118119120121122123
* * @since 1.0.3 */ public void setValue(double value) { this.value = value; notifyListeners(new MarkerChangeEvent(this)); }
219220221222223224225
public void setPaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument."); } this.paint = paint; notifyListeners(new MarkerChangeEvent(this)); }
246247248249250251252
public void setStroke(Stroke stroke) { if (stroke == null) { throw new IllegalArgumentException("Null 'stroke' argument."); } this.stroke = stroke; notifyListeners(new MarkerChangeEvent(this)); }
270271272273274275276
* * @see #getOutlinePaint() */ public void setOutlinePaint(Paint paint) { this.outlinePaint = paint; notifyListeners(new MarkerChangeEvent(this)); }
294295296297298299300
* * @see #getOutlineStroke() */ public void setOutlineStroke(Stroke stroke) { this.outlineStroke = stroke; notifyListeners(new MarkerChangeEvent(this)); }
327328329330331332333
public void setAlpha(float alpha) { 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)); }
351352353354355356357
* * @see #getLabel() */ public void setLabel(String label) { this.label = label; notifyListeners(new MarkerChangeEvent(this)); }
378379380381382383384
public void setLabelFont(Font font) { if (font == null) { throw new IllegalArgumentException("Null 'font' argument."); } this.labelFont = font; notifyListeners(new MarkerChangeEvent(this)); }