245246247248249250251
public void setOuterGap(Spacer outerGap) { if (outerGap == null) { throw new NullPointerException("Null 'outerGap' argument."); } this.outerGap = outerGap; notifyListeners(new LegendChangeEvent(this)); }
270271272273274275276
public void setInnerGap(Spacer innerGap) { if (innerGap == null) { throw new NullPointerException("Null 'innerGap' argument."); } this.innerGap = innerGap; notifyListeners(new LegendChangeEvent(this)); }
293294295296297298299
public void setBackgroundPaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument."); } this.backgroundPaint = paint; notifyListeners(new LegendChangeEvent(this)); }
316317318319320321322
public void setOutlineStroke(Stroke stroke) { if (stroke == null) { throw new NullPointerException("Null 'stroke' argument."); } this.outlineStroke = stroke; notifyListeners(new LegendChangeEvent(this)); }
338339340341342343344
public void setOutlinePaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument."); } this.outlinePaint = paint; notifyListeners(new LegendChangeEvent(this)); }
358359360361362363364
* * @param title the title (<code>null</code> permitted). */ public void setTitle(String title) { this.title = title; notifyListeners(new LegendChangeEvent(this)); }
380381382383384385386
public void setTitleFont(Font font) { if (font == null) { throw new IllegalArgumentException("Null 'font' argument."); } this.titleFont = font; notifyListeners(new LegendChangeEvent(this)); }
403404405406407408409
public void setItemFont(Font font) { if (font == null) { throw new IllegalArgumentException("Null 'font' argument."); } this.itemFont = font; notifyListeners(new LegendChangeEvent(this)); }
426427428429430431432
public void setItemPaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null 'paint' argument."); } this.itemPaint = paint; notifyListeners(new LegendChangeEvent(this)); }
446447448449450451452
* * @param flag the flag. */ public void setOutlineShapes(boolean flag) { this.outlineShapes = flag; notifyListeners(new LegendChangeEvent(this)); }