/** * Returns a clone of the annotation. * * @return A clone. * * @throws CloneNotSupportedException if the annotation can't be cloned. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Sets the base radius and sends an * {@link AnnotationChangeEvent} to all registered listeners. * * @param radius the radius (in Java2D units). * * @see #getBaseRadius() */ public void setBaseRadius(double radius) { this.baseRadius = radius; fireAnnotationChanged(); }
/** * Sets the arrow width and sends an * {@link AnnotationChangeEvent} to all registered listeners. * * @param width the width (in Java2D units). * * @see #getArrowWidth() */ public void setArrowWidth(double width) { this.arrowWidth = width; fireAnnotationChanged(); }
/** * Sets the maximum width and sends an * {@link AnnotationChangeEvent} to all registered listeners. * * @param max the maximum width (0.0 or less means no maximum). */ public void setMaxWidth(double max) { this.maxWidth = max; fireAnnotationChanged(); }
/** * Sets the rotation angle and sends an {@link AnnotationChangeEvent} to * all registered listeners. The angle is measured clockwise in radians. * * @param angle the angle (in radians). * * @see #getRotationAngle() */ public void setRotationAngle(double angle) { this.rotationAngle = angle; fireAnnotationChanged(); }
/** * Returns a clone of the annotation. * * @return A clone. * * @throws CloneNotSupportedException if the annotation can't be cloned. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Sets the rotation angle and sends an {@link AnnotationChangeEvent} to * all registered listeners. The angle is measured clockwise in radians. * * @param angle the angle (in radians). * * @see #getRotationAngle() */ public void setRotationAngle(double angle) { this.rotationAngle = angle; fireAnnotationChanged(); }
/** * Returns a clone of the annotation. * * @return A clone. * * @throws CloneNotSupportedException this class will not throw this * exception, but subclasses (if any) might. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Sets the value and sends an * {@link AnnotationChangeEvent} to all registered listeners. * * @param value the value. * * @see #getValue() */ public void setValue(double value) { this.value = value; fireAnnotationChanged(); }
/** * Sets the y-value for the start of the line and sends an * {@link AnnotationChangeEvent} to all registered listeners. * * @param value the value. * * @see #getValue1() */ public void setValue1(double value) { this.value1 = value; fireAnnotationChanged(); }
/** * Returns a clone of the annotation. * * @return A clone. * * @throws CloneNotSupportedException if the annotation can't be cloned. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Sets the angle of the arrow and sends an * {@link AnnotationChangeEvent} to all registered listeners. * * @param angle the angle (in radians). * * @see #getAngle() */ public void setAngle(double angle) { this.angle = angle; fireAnnotationChanged(); }
/** * Sets the tip radius and sends an * {@link AnnotationChangeEvent} to all registered listeners. * * @param radius the radius (in Java2D units). * * @see #getTipRadius() */ public void setTipRadius(double radius) { this.tipRadius = radius; fireAnnotationChanged(); }
/** * Sets the maximum height and sends an * {@link AnnotationChangeEvent} to all registered listeners. * * @param max the maximum height. */ public void setMaxHeight(double max) { this.maxHeight = max; fireAnnotationChanged(); }
/** * Returns a clone. * * @return A clone. * * @throws CloneNotSupportedException not thrown by this class, but may be * by subclasses. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Sets the tip radius and sends an * {@link AnnotationChangeEvent} to all registered listeners. * * @param radius the radius (in Java2D units). * * @see #getTipRadius() */ public void setTipRadius(double radius) { this.tipRadius = radius; fireAnnotationChanged(); }
/** * Returns a clone of the annotation. * * @return A clone. * * @throws CloneNotSupportedException if the annotation can't be cloned. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Sets the arrow width and sends an * {@link AnnotationChangeEvent} to all registered listeners. * * @param width the width (in Java2D units). * * @see #getArrowWidth() */ public void setArrowWidth(double width) { this.arrowWidth = width; fireAnnotationChanged(); }
/** * Returns a clone of the annotation. * * @return A clone. * * @throws CloneNotSupportedException if the annotation can't be cloned. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }
/** * Returns a clone. * * @return A clone. * * @throws CloneNotSupportedException ???. */ @Override public Object clone() throws CloneNotSupportedException { return super.clone(); }