/** * Sets the crosshair label generator and sends a property change event * (with the name 'labelGenerator') to all registered listeners. * * @param generator the new generator (<code>null</code> not permitted). */ public void setLabelGenerator(CrosshairLabelGenerator generator) { if (generator == null) { throw new IllegalArgumentException("Null 'generator' argument."); } CrosshairLabelGenerator old = this.labelGenerator; this.labelGenerator = generator; this.pcs.firePropertyChange("labelGenerator", old, generator); }
/** * Sets the crosshair label generator and sends a property change event * (with the name 'labelGenerator') to all registered listeners. * * @param generator the new generator (<code>null</code> not permitted). * * @see #getLabelGenerator() */ public void setLabelGenerator(CrosshairLabelGenerator generator) { if (generator == null) { throw new IllegalArgumentException("Null 'generator' argument."); } CrosshairLabelGenerator old = this.labelGenerator; this.labelGenerator = generator; this.pcs.firePropertyChange("labelGenerator", old, generator); }
/** * Sets the crosshair label generator and sends a property change event * (with the name 'labelGenerator') to all registered listeners. * * @param generator the new generator (<code>null</code> not permitted). * * @see #getLabelGenerator() */ public void setLabelGenerator(CrosshairLabelGenerator generator) { ParamChecks.nullNotPermitted(generator, "generator"); CrosshairLabelGenerator old = this.labelGenerator; this.labelGenerator = generator; this.pcs.firePropertyChange("labelGenerator", old, generator); }
/** * Sets the crosshair label generator and sends a property change event * (with the name 'labelGenerator') to all registered listeners. * * @param generator the new generator ({@code null} not permitted). * * @see #getLabelGenerator() */ public void setLabelGenerator(CrosshairLabelGenerator generator) { Args.nullNotPermitted(generator, "generator"); CrosshairLabelGenerator old = this.labelGenerator; this.labelGenerator = generator; this.pcs.firePropertyChange("labelGenerator", old, generator); }
/** * Returns the crosshair label generator. * * @return The label crosshair generator (never <code>null</code>). * * @see #setLabelGenerator(org.jfree.chart.labels.CrosshairLabelGenerator) */ public CrosshairLabelGenerator getLabelGenerator() { return this.labelGenerator; }
/** * Returns the crosshair label generator. * * @return The label crosshair generator (never {@code null}). * * @see #setLabelGenerator(org.jfree.chart.labels.CrosshairLabelGenerator) */ public CrosshairLabelGenerator getLabelGenerator() { return this.labelGenerator; }
/** * Returns the crosshair label generator. * * @return The label crosshair generator (never <code>null</code>). */ public CrosshairLabelGenerator getLabelGenerator() { return this.labelGenerator; }