371372373374375376377
* * @param paint the paint (<code>null</code> permitted). */ public void setBackgroundPaint(Paint paint) { this.backgroundPaint = paint; notifyListeners(new TitleChangeEvent(this)); }
398399400401402403404
public void setSubdivisionCount(int count) { if (count <= 0) { throw new IllegalArgumentException("Requires 'count' > 0."); } this.subdivisions = count; notifyListeners(new TitleChangeEvent(this)); }
411412413414415416417418
* * @since 1.0.13 */ public void axisChanged(AxisChangeEvent event) { if (this.axis == event.getAxis()) { notifyListeners(new TitleChangeEvent(this)); } }
121122123124125126127
* * @since 1.0.11 */ public void setBackgroundPaint(Paint paint) { this.backgroundPaint = paint; notifyListeners(new TitleChangeEvent(this)); }
229230231232233234235
* * @since 1.0.11 */ public void setVisible(boolean visible) { this.visible = visible; notifyListeners(new TitleChangeEvent(this)); }
253254255256257258259260
if (position == null) { throw new IllegalArgumentException("Null 'position' argument."); } if (this.position != position) { this.position = position; notifyListeners(new TitleChangeEvent(this)); } }
279280281282283284285286
if (alignment == null) { throw new IllegalArgumentException("Null 'alignment' argument."); } if (this.horizontalAlignment != alignment) { this.horizontalAlignment = alignment; notifyListeners(new TitleChangeEvent(this)); } }
305306307308309310311312
if (alignment == null) { throw new IllegalArgumentException("Null 'alignment' argument."); } if (this.verticalAlignment != alignment) { this.verticalAlignment = alignment; notifyListeners(new TitleChangeEvent(this)); } }
329330331332333334335336
* @param flag the new value of the flag. */ public void setNotify(boolean flag) { this.notify = flag; if (flag) { notifyListeners(new TitleChangeEvent(this)); } }
267268269270271272273274
if (text == null) { throw new IllegalArgumentException("Null 'text' argument."); } if (!this.text.equals(text)) { this.text = text; notifyListeners(new TitleChangeEvent(this)); } }