/** * Returns a clone of this {@code LabelBlock} instance. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Returns a clone of the block. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Returns a clone of the container. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning. */ public Object clone() throws CloneNotSupportedException { BlockContainer clone = (BlockContainer) super.clone(); // TODO : complete this return clone; }
/** * Returns a clone of the block. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning. */ public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Returns a clone of this <code>LabelBlock</code> instance. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning. */ public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Returns a clone of the container. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning. */ @Override public Object clone() throws CloneNotSupportedException { BlockContainer clone = (BlockContainer) super.clone(); // TODO : complete this return clone; }
/** * Returns a clone of the title. * <P> * One situation when this is useful is when editing the title properties - * you can edit a clone, and then it is easier to cancel the changes if * necessary. * * @return A clone of the title. * * @throws CloneNotSupportedException not thrown by this class, but it may * be thrown by subclasses. */ public Object clone() throws CloneNotSupportedException { Title duplicate = (Title) super.clone(); duplicate.listenerList = new EventListenerList(); // RectangleInsets is immutable => same reference in clone OK return duplicate; }
/** * Returns a clone of the title. * <P> * One situation when this is useful is when editing the title properties - * you can edit a clone, and then it is easier to cancel the changes if * necessary. * * @return A clone of the title. * * @throws CloneNotSupportedException not thrown by this class, but it may * be thrown by subclasses. */ @Override public Object clone() throws CloneNotSupportedException { Title duplicate = (Title) super.clone(); duplicate.listenerList = new EventListenerList(); // RectangleInsets is immutable => same reference in clone OK return duplicate; }
/** * Returns a clone of this <code>LegendGraphic</code> instance. * * @return A clone of this <code>LegendGraphic</code> instance. * * @throws CloneNotSupportedException if there is a problem cloning. */ public Object clone() throws CloneNotSupportedException { LegendGraphic clone = (LegendGraphic) super.clone(); clone.shape = ShapeUtilities.clone(this.shape); clone.line = ShapeUtilities.clone(this.line); return clone; }
/** * Returns a clone of this {@code LegendGraphic} instance. * * @return A clone of this {@code LegendGraphic} instance. * * @throws CloneNotSupportedException if there is a problem cloning. */ @Override public Object clone() throws CloneNotSupportedException { LegendGraphic clone = (LegendGraphic) super.clone(); clone.shape = ShapeUtils.clone(this.shape); clone.line = ShapeUtils.clone(this.line); return clone; }