gpt4 book ai didi

org.jfree.chart.annotations.XYTextAnnotation.fireAnnotationChanged()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-26 14:19:05 25 4
gpt4 key购买 nike

本文整理了Java中org.jfree.chart.annotations.XYTextAnnotation.fireAnnotationChanged()方法的一些代码示例,展示了XYTextAnnotation.fireAnnotationChanged()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XYTextAnnotation.fireAnnotationChanged()方法的具体详情如下:
包路径:org.jfree.chart.annotations.XYTextAnnotation
类名称:XYTextAnnotation
方法名:fireAnnotationChanged

XYTextAnnotation.fireAnnotationChanged介绍

暂无

代码示例

代码示例来源:origin: jfree/jfreechart

/**
 * 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();
}

代码示例来源:origin: jfree/jfreechart

/**
 * Sets the flag that controls whether or not the outline is drawn and
 * sends an {@link AnnotationChangeEvent} to all registered listeners.
 *
 * @param visible  the new flag value.
 *
 * @since 1.0.13
 */
public void setOutlineVisible(boolean visible) {
  this.outlineVisible = visible;
  fireAnnotationChanged();
}

代码示例来源:origin: jfree/jfreechart

/**
 * Sets the y coordinate for the text anchor point (measured against the
 * range axis) and sends an {@link AnnotationChangeEvent} to all registered
 * listeners.
 *
 * @param y  the y coordinate.
 *
 * @see #getY()
 */
public void setY(double y) {
  this.y = y;
  fireAnnotationChanged();
}

代码示例来源:origin: org.codehaus.jtstand/jtstand-chart

/**
 * 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();
}

代码示例来源:origin: org.codehaus.jtstand/jtstand-chart

/**
 * Sets the flag that controls whether or not the outline is drawn and
 * sends an {@link AnnotationChangeEvent} to all registered listeners.
 *
 * @param visible  the new flag value.
 *
 * @since 1.0.13
 */
public void setOutlineVisible(boolean visible) {
  this.outlineVisible = visible;
  fireAnnotationChanged();
}

代码示例来源:origin: org.codehaus.jtstand/jtstand-chart

/**
 * Sets the x coordinate for the text anchor point (measured against the
 * domain axis) and sends an {@link AnnotationChangeEvent} to all
 * registered listeners.
 *
 * @param x  the x coordinate (in data space).
 *
 * @see #getX()
 */
public void setX(double x) {
  this.x = x;
  fireAnnotationChanged();
}

代码示例来源:origin: jfree/jfreechart

/**
 * Sets the x coordinate for the text anchor point (measured against the
 * domain axis) and sends an {@link AnnotationChangeEvent} to all
 * registered listeners.
 *
 * @param x  the x coordinate (in data space).
 *
 * @see #getX()
 */
public void setX(double x) {
  this.x = x;
  fireAnnotationChanged();
}

代码示例来源:origin: jfree/jfreechart

/**
 * Sets the background paint for the annotation and sends an
 * {@link AnnotationChangeEvent} to all registered listeners.
 *
 * @param paint  the paint ({@code null} permitted).
 *
 * @see #getBackgroundPaint()
 *
 * @since 1.0.13
 */
public void setBackgroundPaint(Paint paint) {
  this.backgroundPaint = paint;
  fireAnnotationChanged();
}

代码示例来源:origin: org.codehaus.jtstand/jtstand-chart

/**
 * Sets the y coordinate for the text anchor point (measured against the
 * range axis) and sends an {@link AnnotationChangeEvent} to all registered
 * listeners.
 *
 * @param y  the y coordinate.
 *
 * @see #getY()
 */
public void setY(double y) {
  this.y = y;
  fireAnnotationChanged();
}

代码示例来源:origin: org.codehaus.jtstand/jtstand-chart

/**
 * Sets the background paint for the annotation and sends an
 * {@link AnnotationChangeEvent} to all registered listeners.
 *
 * @param paint  the paint (<code>null</code> permitted).
 *
 * @see #getBackgroundPaint()
 *
 * @since 1.0.13
 */
public void setBackgroundPaint(Paint paint) {
  this.backgroundPaint = paint;
  fireAnnotationChanged();
}

代码示例来源:origin: org.codehaus.jtstand/jtstand-chart

/**
 * Sets the rotation anchor point and sends an
 * {@link AnnotationChangeEvent} to all registered listeners.
 *
 * @param anchor  the anchor (<code>null</code> not permitted).
 *
 * @see #getRotationAnchor()
 */
public void setRotationAnchor(TextAnchor anchor) {
  if (anchor == null) {
    throw new IllegalArgumentException("Null 'anchor' argument.");
  }
  this.rotationAnchor = anchor;
  fireAnnotationChanged();
}

代码示例来源:origin: org.codehaus.jtstand/jtstand-chart

/**
 * Sets the paint for the annotation and sends an
 * {@link AnnotationChangeEvent} to all registered listeners.
 *
 * @param paint  the paint (<code>null</code> not permitted).
 *
 * @see #getPaint()
 */
public void setPaint(Paint paint) {
  if (paint == null) {
    throw new IllegalArgumentException("Null 'paint' argument.");
  }
  this.paint = paint;
  fireAnnotationChanged();
}

代码示例来源:origin: org.codehaus.jtstand/jtstand-chart

/**
 * Sets the font for the annotation and sends an
 * {@link AnnotationChangeEvent} to all registered listeners.
 *
 * @param font  the font (<code>null</code> not permitted).
 *
 * @see #getFont()
 */
public void setFont(Font font) {
  if (font == null) {
    throw new IllegalArgumentException("Null 'font' argument.");
  }
  this.font = font;
  fireAnnotationChanged();
}

代码示例来源:origin: jfree/jfreechart

/**
 * Sets the rotation anchor point and sends an
 * {@link AnnotationChangeEvent} to all registered listeners.
 *
 * @param anchor  the anchor ({@code null} not permitted).
 *
 * @see #getRotationAnchor()
 */
public void setRotationAnchor(TextAnchor anchor) {
  Args.nullNotPermitted(anchor, "anchor");
  this.rotationAnchor = anchor;
  fireAnnotationChanged();
}

代码示例来源:origin: jfree/jfreechart

/**
 * Sets the text for the annotation.
 *
 * @param text  the text ({@code null} not permitted).
 *
 * @see #getText()
 */
public void setText(String text) {
  Args.nullNotPermitted(text, "text");
  this.text = text;
  fireAnnotationChanged();
}

代码示例来源:origin: jfree/jfreechart

/**
 * Sets the font for the annotation and sends an
 * {@link AnnotationChangeEvent} to all registered listeners.
 *
 * @param font  the font ({@code null} not permitted).
 *
 * @see #getFont()
 */
public void setFont(Font font) {
  Args.nullNotPermitted(font, "font");
  this.font = font;
  fireAnnotationChanged();
}

代码示例来源:origin: jfree/jfreechart

/**
 * Sets the paint for the annotation and sends an
 * {@link AnnotationChangeEvent} to all registered listeners.
 *
 * @param paint  the paint ({@code null} not permitted).
 *
 * @see #getPaint()
 */
public void setPaint(Paint paint) {
  Args.nullNotPermitted(paint, "paint");
  this.paint = paint;
  fireAnnotationChanged();
}

代码示例来源:origin: jfree/jfreechart

/**
 * Sets the outline stroke for the annotation and sends an
 * {@link AnnotationChangeEvent} to all registered listeners.
 *
 * @param stroke  the stroke ({@code null} not permitted).
 *
 * @see #getOutlineStroke()
 *
 * @since 1.0.13
 */
public void setOutlineStroke(Stroke stroke) {
  Args.nullNotPermitted(stroke, "stroke");
  this.outlineStroke = stroke;
  fireAnnotationChanged();
}

代码示例来源:origin: jfree/jfreechart

/**
 * Sets the outline paint for the annotation and sends an
 * {@link AnnotationChangeEvent} to all registered listeners.
 *
 * @param paint  the paint ({@code null} not permitted).
 *
 * @see #getOutlinePaint()
 *
 * @since 1.0.13
 */
public void setOutlinePaint(Paint paint) {
  Args.nullNotPermitted(paint, "paint");
  this.outlinePaint = paint;
  fireAnnotationChanged();
}

代码示例来源:origin: jfree/jfreechart

/**
 * Sets the text anchor (the point on the text bounding rectangle that is
 * aligned to the (x, y) coordinate of the annotation) and sends an
 * {@link AnnotationChangeEvent} to all registered listeners.
 *
 * @param anchor  the anchor point ({@code null} not permitted).
 *
 * @see #getTextAnchor()
 */
public void setTextAnchor(TextAnchor anchor) {
  Args.nullNotPermitted(anchor, "anchor");
  this.textAnchor = anchor;
  fireAnnotationChanged();
}

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com