607608609610611612613
public void setSources(final LegendItemSource[] sources) { if (sources == null) { throw new IllegalArgumentException("Null 'sources' argument."); } this.sources = sources; this.notifyListeners(new TitleChangeEvent(this)); }
390391392393394395396397
if (alignment == null) { throw new IllegalArgumentException("Null 'alignment' argument."); } if (this.horizontalAlignment != alignment) { this.horizontalAlignment = alignment; this.notifyListeners(new TitleChangeEvent(this)); } }
405406407408409410411412
* the new value of the flag. */ public void setNotify(final boolean flag) { this.notify = flag; if (flag) { this.notifyListeners(new TitleChangeEvent(this)); } }
422423424425426427428429
if (position == null) { throw new IllegalArgumentException("Null 'position' argument."); } if (this.position != position) { this.position = position; this.notifyListeners(new TitleChangeEvent(this)); } }
440441442443444445446447
if (alignment == null) { throw new IllegalArgumentException("Null 'alignment' argument."); } if (this.verticalAlignment != alignment) { this.verticalAlignment = alignment; this.notifyListeners(new TitleChangeEvent(this)); } }
497498499500501502503
* @param paint * the paint (<code>null</code> permitted). */ public void setBackgroundPaint(final Color paint) { this.backgroundPaint = paint; this.notifyListeners(new TitleChangeEvent(this)); }
512513514515516517518
public void setItemFont(final Font font) { if (font == null) { throw new IllegalArgumentException("Null 'font' argument."); } this.itemFont = font; this.notifyListeners(new TitleChangeEvent(this)); }
526527528529530531532
public void setItemLabelPadding(final RectangleInsets padding) { if (padding == null) { throw new IllegalArgumentException("Null 'padding' argument."); } this.itemLabelPadding = padding; this.notifyListeners(new TitleChangeEvent(this)); }
540541542543544545546
public void setItemPaint(final Color paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument."); } this.itemPaint = paint; this.notifyListeners(new TitleChangeEvent(this)); }
567568569570571572573
public void setLegendItemGraphicEdge(final RectangleEdge edge) { if (edge == null) { throw new IllegalArgumentException("Null 'edge' argument."); } this.legendItemGraphicEdge = edge; this.notifyListeners(new TitleChangeEvent(this)); }