String tooltip = getCategoryLabelToolTip( tick.getCategory()); entities.add(new CategoryLabelEntity(tick.getCategory(), bounds, tooltip, null));
/** * Returns a clone of the entity. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning the * entity. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
protected Dataset getEntityDataset(ChartEntity entity) { Dataset dataset = null; if (entity instanceof CategoryItemEntity) { dataset = ((CategoryItemEntity) entity).getDataset(); } else if (entity instanceof XYItemEntity) { dataset = ((XYItemEntity) entity).getDataset(); } return dataset; }
/** * Returns a string representation of this instance, useful for debugging * purposes. * * @return A string. */ @Override public String toString() { return "XYItemEntity: series = " + getSeriesIndex() + ", item = " + getItem() + ", dataset = " + getDataset(); }
/** * Constructs a new ChartRenderingInfo structure that can be used to * collect information about the dimensions of a rendered chart. */ public ChartRenderingInfo() { this(new StandardEntityCollection()); }
/** * Returns the shape coordinates as a string. * * @return The shape coordinates (never {@code null}). */ public String getShapeCoords() { if (this.area instanceof Rectangle2D) { return getRectCoords((Rectangle2D) this.area); } else { return getPolyCoords(this.area); } }
/** * Returns a hash code for this instance. * * @return A hash code. */ public int hashCode() { int result = 39; result = HashUtilities.hashCode(result, getToolTipText()); result = HashUtilities.hashCode(result, getURLText()); return result; }
/** * Returns a string representation of this instance, useful for debugging * purposes. * * @return A string. */ public String toString() { return "XYItemEntity: series = " + getSeriesIndex() + ", item = " + getItem() + ", dataset = " + getDataset(); }
/** * Constructs a new ChartRenderingInfo structure that can be used to * collect information about the dimensions of a rendered chart. */ public ChartRenderingInfo() { this(new StandardEntityCollection()); }
/** * Returns a clone of the entity. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning the * entity. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Returns the shape coordinates as a string. * * @return The shape coordinates (never <code>null</code>). */ public String getShapeCoords() { if (this.area instanceof Rectangle2D) { return getRectCoords((Rectangle2D) this.area); } else { return getPolyCoords(this.area); } }
/** * Returns a clone of the entity. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning the * object. */ public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Returns a clone of the entity. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning the * object. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Returns a clone of the entity. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning the * entity. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Returns a clone of the entity. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning the * entity. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Returns a clone of the entity. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning the * entity. */ public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Returns a clone of the entity. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning the * entity. */ public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Returns a clone of the entity. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning the * entity. */ public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Returns a clone of the entity. * * @return A clone. * * @throws CloneNotSupportedException if cloning is not supported. */ public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Returns a clone of the entity. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning the * entity. */ public Object clone() throws CloneNotSupportedException { return super.clone(); }