org.jfree.chart.plot.Plot.fireChangeEvent()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(6.6k)|赞(0)|评价(0)|浏览(78)

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

Plot.fireChangeEvent介绍

[英]Sends a PlotChangeEvent to all registered listeners.
[中]向所有注册的侦听器发送PlotChangeEvent。

代码示例

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

/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
  fireChangeEvent();
}

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

/**
 * Receives notification of a change to a marker that is assigned to the
 * plot.
 *
 * @param event  the event.
 *
 * @since 1.0.3
 */
@Override
public void markerChanged(MarkerChangeEvent event) {
  fireChangeEvent();
}

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

/**
 * Sets the alpha-transparency for the plot and sends a
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param alpha  the new alpha transparency.
 *
 * @see #getForegroundAlpha()
 */
public void setForegroundAlpha(float alpha) {
  if (this.foregroundAlpha != alpha) {
    this.foregroundAlpha = alpha;
    fireChangeEvent();
  }
}

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

/**
 * Sets the background image for the plot and sends a
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param image  the image ({@code null} permitted).
 *
 * @see #getBackgroundImage()
 */
public void setBackgroundImage(Image image) {
  this.backgroundImage = image;
  fireChangeEvent();
}

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

/**
 * Sets the background image for the plot and sends a
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param image  the image (<code>null</code> permitted).
 *
 * @see #getBackgroundImage()
 */
public void setBackgroundImage(Image image) {
  this.backgroundImage = image;
  fireChangeEvent();
}

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

/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
public void annotationChanged(AnnotationChangeEvent event) {
  fireChangeEvent();
}

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

/**
 * Receives notification of a change to one of the plot's axes.
 *
 * @param event  information about the event (not used here).
 */
@Override
public void axisChanged(AxisChangeEvent event) {
  fireChangeEvent();
}

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

/**
 * Receives notification of a change to one of the plot's axes.
 *
 * @param event  information about the event (not used here).
 */
public void axisChanged(AxisChangeEvent event) {
  fireChangeEvent();
}

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

/**
 * Receives notification of a change to a marker that is assigned to the
 * plot.
 *
 * @param event  the event.
 *
 * @since 1.0.3
 */
public void markerChanged(MarkerChangeEvent event) {
  fireChangeEvent();
}

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

/**
 * Sets the message that is displayed when the dataset is empty or
 * {@code null}, and sends a {@link PlotChangeEvent} to all registered
 * listeners.
 *
 * @param message  the message ({@code null} permitted).
 *
 * @see #getNoDataMessage()
 */
public void setNoDataMessage(String message) {
  this.noDataMessage = message;
  fireChangeEvent();
}

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

/**
 * Sets the flag that controls whether or not the plot's outline is
 * drawn, and sends a {@link PlotChangeEvent} to all registered listeners.
 *
 * @param visible  the new flag value.
 *
 * @since 1.0.6
 *
 * @see #isOutlineVisible()
 */
public void setOutlineVisible(boolean visible) {
  this.outlineVisible = visible;
  fireChangeEvent();
}

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

/**
 * Sets the message that is displayed when the dataset is empty or
 * <code>null</code>, and sends a {@link PlotChangeEvent} to all registered
 * listeners.
 *
 * @param message  the message (<code>null</code> permitted).
 *
 * @see #getNoDataMessage()
 */
public void setNoDataMessage(String message) {
  this.noDataMessage = message;
  fireChangeEvent();
}

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

/**
 * Sets the alpha-transparency for the plot and sends a
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param alpha  the new alpha transparency.
 *
 * @see #getForegroundAlpha()
 */
public void setForegroundAlpha(float alpha) {
  if (this.foregroundAlpha != alpha) {
    this.foregroundAlpha = alpha;
    fireChangeEvent();
  }
}

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

/**
 * Sets the alpha transparency of the plot area background, and notifies
 * registered listeners that the plot has been modified.
 *
 * @param alpha the new alpha value (in the range 0.0f to 1.0f).
 *
 * @see #getBackgroundAlpha()
 */
public void setBackgroundAlpha(float alpha) {
  if (this.backgroundAlpha != alpha) {
    this.backgroundAlpha = alpha;
    fireChangeEvent();
  }
}

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

/**
 * Sets the alpha transparency of the plot area background, and notifies
 * registered listeners that the plot has been modified.
 *
 * @param alpha the new alpha value (in the range 0.0f to 1.0f).
 *
 * @see #getBackgroundAlpha()
 */
public void setBackgroundAlpha(float alpha) {
  if (this.backgroundAlpha != alpha) {
    this.backgroundAlpha = alpha;
    fireChangeEvent();
  }
}

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

/**
 * Sets the flag that controls whether or not the plot's outline is
 * drawn, and sends a {@link PlotChangeEvent} to all registered listeners.
 *
 * @param visible  the new flag value.
 *
 * @since 1.0.6
 *
 * @see #isOutlineVisible()
 */
public void setOutlineVisible(boolean visible) {
  this.outlineVisible = visible;
  fireChangeEvent();
}

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

/**
 * Sets the alignment for the background image and sends a
 * {@link PlotChangeEvent} to all registered listeners.  Alignment options
 * are defined by the {@link org.jfree.chart.ui.Align} class.
 *
 * @param alignment  the alignment.
 *
 * @see #getBackgroundImageAlignment()
 */
public void setBackgroundImageAlignment(int alignment) {
  if (this.backgroundImageAlignment != alignment) {
    this.backgroundImageAlignment = alignment;
    fireChangeEvent();
  }
}

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

/**
 * Sets the paint used to display the 'no data' message and sends a
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param paint  the paint (<code>null</code> not permitted).
 *
 * @see #getNoDataMessagePaint()
 */
public void setNoDataMessagePaint(Paint paint) {
  if (paint == null) {
    throw new IllegalArgumentException("Null 'paint' argument.");
  }
  this.noDataMessagePaint = paint;
  fireChangeEvent();
}

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

/**
 * Sets the font used to display the 'no data' message and sends a
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param font  the font ({@code null} not permitted).
 *
 * @see #getNoDataMessageFont()
 */
public void setNoDataMessageFont(Font font) {
  Args.nullNotPermitted(font, "font");
  this.noDataMessageFont = font;
  fireChangeEvent();
}

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

/**
 * Sets the paint used to display the 'no data' message and sends a
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param paint  the paint ({@code null} not permitted).
 *
 * @see #getNoDataMessagePaint()
 */
public void setNoDataMessagePaint(Paint paint) {
  Args.nullNotPermitted(paint, "paint");
  this.noDataMessagePaint = paint;
  fireChangeEvent();
}

相关文章