294295296297298299300
public void setTextAlignment(HorizontalAlignment alignment) { if (alignment == null) { throw new IllegalArgumentException("Null 'alignment' argument."); } this.textAlignment = alignment; notifyListeners(new TitleChangeEvent(this)); }
322323324325326327328329
if (font == null) { throw new IllegalArgumentException("Null 'font' argument."); } if (!this.font.equals(font)) { this.font = font; notifyListeners(new TitleChangeEvent(this)); } }
351352353354355356357358
if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument."); } if (!this.paint.equals(paint)) { this.paint = paint; notifyListeners(new TitleChangeEvent(this)); } }
373374375376377378379
* * @param paint the background paint (<code>null</code> permitted). */ public void setBackgroundPaint(Paint paint) { this.backgroundPaint = paint; notifyListeners(new TitleChangeEvent(this)); }
393394395396397398399
* * @param text the text (<code>null</code> permitted). */ public void setToolTipText(String text) { this.toolTipText = text; notifyListeners(new TitleChangeEvent(this)); }
413414415416417418419
* * @param text the text (<code>null</code> permitted). */ public void setURLText(String text) { this.urlText = text; notifyListeners(new TitleChangeEvent(this)); }
435436437438439440441
* * @param expand the flag. */ public void setExpandToFitSpace(boolean expand) { this.expandToFitSpace = expand; notifyListeners(new TitleChangeEvent(this)); }
463464465466467468469
* * @see #getMaximumLinesToDisplay() */ public void setMaximumLinesToDisplay(int max) { this.maximumLinesToDisplay = max; notifyListeners(new TitleChangeEvent(this)); }
215216217218219220221
if (sources == null) { throw new IllegalArgumentException("Null 'sources' argument."); } this.sources = sources; notifyListeners(new TitleChangeEvent(this)); }
237238239240241242243
* @param paint the paint (<code>null</code> permitted). */ public void setBackgroundPaint(Paint paint) { this.backgroundPaint = paint; notifyListeners(new TitleChangeEvent(this)); }