Java Code Examples for org.jfree.chart.util.RectangleInsets#equals()

The following examples show how to use org.jfree.chart.util.RectangleInsets#equals() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JGenProg2017_006_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 2
Source File: Axis.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 3
Source File: jMutRepair_0038_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 4
Source File: jMutRepair_0046_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 5
Source File: jMutRepair_0046_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 6
Source File: jKali_0032_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 7
Source File: jKali_0032_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 8
Source File: jKali_0041_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 9
Source File: Chart_26_Axis_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 10
Source File: JGenProg2017_006_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 11
Source File: Cardumen_0080_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 12
Source File: JGenProg2017_0082_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 13
Source File: JGenProg2017_0082_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 14
Source File: Cardumen_007_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 15
Source File: Cardumen_007_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 16
Source File: Chart_26_Axis_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 17
Source File: Cardumen_00195_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 18
Source File: Cardumen_00144_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}
 
Example 19
Source File: Axis.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * @param notify  notify listeners?
 *
 * @since 1.0.10
 */
public void setLabelInsets(RectangleInsets insets, boolean notify) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        if (notify) {
            fireChangeEvent();
        }
    }
}
 
Example 20
Source File: Cardumen_0080_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sets the insets for the axis label, and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param insets  the insets (<code>null</code> not permitted).
 * 
 * @see #getLabelInsets()
 */
public void setLabelInsets(RectangleInsets insets) {
    if (insets == null) {
        throw new IllegalArgumentException("Null 'insets' argument.");   
    }
    if (!insets.equals(this.labelInsets)) {
        this.labelInsets = insets;
        notifyListeners(new AxisChangeEvent(this));
    }
}