/** * Returns an independent copy of the generator. * * @return A clone. * * @throws CloneNotSupportedException if cloning is not supported. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Tests this object for equality with an arbitrary object. * * @param obj the other object ({@code null} permitted). * * @return A boolean. */ @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof IntervalXYToolTipGenerator)) { return false; } return super.equals(obj); }
/** * Returns a hash code for this instance. * * @return A hash code. */ @Override public int hashCode() { int h = super.hashCode(); h = HashUtils.hashCode(h, this.zFormat); h = HashUtils.hashCode(h, this.zDateFormat); return h; }
/** * Generates a label string for an item in the dataset. * * @param dataset the dataset ({@code null} not permitted). * @param series the series (zero-based index). * @param item the item (zero-based index). * * @return The label (possibly {@code null}). */ public String generateLabelString(XYDataset dataset, int series, int item) { String result; Object[] items = createItemArray(dataset, series, item); result = MessageFormat.format(this.formatString, items); return result; }
/** * Returns a hash code for this instance. * * @return A hash code. */ public int hashCode() { int h = super.hashCode(); h = HashUtilities.hashCode(h, this.zFormat); h = HashUtilities.hashCode(h, this.zDateFormat); return h; }
/** * Generates a label string for an item in the dataset. * * @param dataset the dataset (<code>null</code> not permitted). * @param series the series (zero-based index). * @param item the item (zero-based index). * * @return The label (possibly <code>null</code>). */ public String generateLabelString(XYDataset dataset, int series, int item) { String result = null; Object[] items = createItemArray(dataset, series, item); result = MessageFormat.format(this.formatString, items); return result; }
/** * Tests this object for equality with an arbitrary object. * * @param obj the other object (<code>null</code> permitted). * * @return A boolean. */ public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof StandardXYItemLabelGenerator)) { return false; } return super.equals(obj); }
/** * Returns an independent copy of the generator. * * @return A clone. * * @throws CloneNotSupportedException if cloning is not supported. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Tests this object for equality with an arbitrary object. * * @param obj the other object (<code>null</code> permitted). * * @return A boolean. */ public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof IntervalXYItemLabelGenerator)) { return false; } return super.equals(obj); }
/** * Returns an independent copy of the generator. * * @return A clone. * * @throws CloneNotSupportedException if cloning is not supported. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Tests this object for equality with an arbitrary object. * * @param obj the other object (<code>null</code> permitted). * * @return A boolean. */ public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof StandardXYToolTipGenerator)) { return false; } return super.equals(obj); }
/** * Returns an independent copy of the generator. * * @return A clone. * * @throws CloneNotSupportedException if cloning is not supported. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Tests this object for equality with an arbitrary object. * * @param obj the other object ({@code null} permitted). * * @return A boolean. */ @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof StandardXYItemLabelGenerator)) { return false; } return super.equals(obj); }
/** * Returns an independent copy of the generator. * * @return A clone. * * @throws CloneNotSupportedException if cloning is not supported. */ public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Tests this object for equality with an arbitrary object. * * @param obj the other object ({@code null} permitted). * * @return A boolean. */ @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof IntervalXYItemLabelGenerator)) { return false; } return super.equals(obj); }
/** * Returns an independent copy of the generator. * * @return A clone. * * @throws CloneNotSupportedException if cloning is not supported. */ public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Tests this object for equality with an arbitrary object. * * @param obj the other object ({@code null} permitted). * * @return A boolean. */ @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof StandardXYToolTipGenerator)) { return false; } return super.equals(obj); }
/** * Returns an independent copy of the generator. * * @return A clone. * * @throws CloneNotSupportedException if cloning is not supported. */ public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Tests this object for equality with an arbitrary object. * * @param obj the other object (<code>null</code> permitted). * * @return A boolean. */ public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof BubbleXYItemLabelGenerator)) { return false; } if (!super.equals(obj)) { return false; } BubbleXYItemLabelGenerator that = (BubbleXYItemLabelGenerator) obj; if (!ObjectUtilities.equal(this.zFormat, that.zFormat)) { return false; } if (!ObjectUtilities.equal(this.zDateFormat, that.zDateFormat)) { return false; } return true; }
/** * Tests this object for equality with an arbitrary object. * * @param obj the other object ({@code null} permitted). * * @return A boolean. */ @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof BubbleXYItemLabelGenerator)) { return false; } if (!super.equals(obj)) { return false; } BubbleXYItemLabelGenerator that = (BubbleXYItemLabelGenerator) obj; if (!ObjectUtils.equal(this.zFormat, that.zFormat)) { return false; } if (!ObjectUtils.equal(this.zDateFormat, that.zDateFormat)) { return false; } return true; }