本文整理汇总了Java中org.jfree.chart.renderer.category.BarPainter类的典型用法代码示例。如果您正苦于以下问题:Java BarPainter类的具体用法?Java BarPainter怎么用?Java BarPainter使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
BarPainter类属于org.jfree.chart.renderer.category包,在下文中一共展示了BarPainter类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setBarPainter
import org.jfree.chart.renderer.category.BarPainter; //导入依赖的package包/类
/**
* Sets the bar painter.
*
* @param painter the painter (<code>null</code> not permitted).
*
* @see #getBarPainter()
*/
public void setBarPainter(BarPainter painter) {
if (painter == null) {
throw new IllegalArgumentException("Null 'painter' argument.");
}
this.barPainter = painter;
}
示例2: getBarPainter
import org.jfree.chart.renderer.category.BarPainter; //导入依赖的package包/类
/**
* Returns the bar painter.
*
* @return The bar painter (never <code>null</code>).
*
* @see #setBarPainter(BarPainter)
*/
public BarPainter getBarPainter() {
return this.barPainter;
}
示例3: setBarPainter
import org.jfree.chart.renderer.category.BarPainter; //导入依赖的package包/类
/**
* Sets the bar painter.
*
* @param painter the painter (<code>null</code> not permitted).
*
* @see #getBarPainter()
*/
public void setBarPainter(BarPainter painter) {
ParamChecks.nullNotPermitted(painter, "painter");
this.barPainter = painter;
}
示例4: getBarPainter
import org.jfree.chart.renderer.category.BarPainter; //导入依赖的package包/类
/**
* Returns the bar painter.
*
* @return The bar painter (never {@code null}).
*
* @see #setBarPainter(BarPainter)
*/
public BarPainter getBarPainter() {
return this.barPainter;
}
示例5: setBarPainter
import org.jfree.chart.renderer.category.BarPainter; //导入依赖的package包/类
/**
* Sets the bar painter.
*
* @param painter the painter ({@code null} not permitted).
*
* @see #getBarPainter()
*/
public void setBarPainter(BarPainter painter) {
Args.nullNotPermitted(painter, "painter");
this.barPainter = painter;
}