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

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

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

Plot.getDrawingSupplier介绍

[英]Returns the drawing supplier for the plot.
[中]返回绘图的图形供应商。

代码示例

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

/**
 * Returns the drawing supplier for the plot.
 *
 * @return The drawing supplier (possibly {@code null}).
 *
 * @see #setDrawingSupplier(DrawingSupplier)
 */
public DrawingSupplier getDrawingSupplier() {
  DrawingSupplier result;
  Plot p = getParent();
  if (p != null) {
    result = p.getDrawingSupplier();
  }
  else {
    result = this.drawingSupplier;
  }
  return result;
}

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

/**
 * Returns the drawing supplier for the plot.
 *
 * @return The drawing supplier (possibly <code>null</code>).
 *
 * @see #setDrawingSupplier(DrawingSupplier)
 */
public DrawingSupplier getDrawingSupplier() {
  DrawingSupplier result = null;
  Plot p = getParent();
  if (p != null) {
    result = p.getDrawingSupplier();
  }
  else {
    result = this.drawingSupplier;
  }
  return result;
}

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

throw new IllegalArgumentException("Null 'plot' argument.");
if (plot.getDrawingSupplier() != null) {
  plot.setDrawingSupplier(getDrawingSupplier());

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

if (plot.getDrawingSupplier() != null) {
  plot.setDrawingSupplier(getDrawingSupplier());

相关文章