本文整理汇总了Java中org.jfree.chart.labels.BoxAndWhiskerXYToolTipGenerator类的典型用法代码示例。如果您正苦于以下问题:Java BoxAndWhiskerXYToolTipGenerator类的具体用法?Java BoxAndWhiskerXYToolTipGenerator怎么用?Java BoxAndWhiskerXYToolTipGenerator使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
BoxAndWhiskerXYToolTipGenerator类属于org.jfree.chart.labels包,在下文中一共展示了BoxAndWhiskerXYToolTipGenerator类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: XYBoxAndWhiskerRenderer
import org.jfree.chart.labels.BoxAndWhiskerXYToolTipGenerator; //导入依赖的package包/类
/**
* Creates a new renderer for box and whisker charts.
* <P>
* Use -1 for the box width if you prefer the width to be calculated automatically.
*
* @param boxWidth the box width.
*/
public XYBoxAndWhiskerRenderer(double boxWidth) {
super();
this.boxWidth = boxWidth;
this.paint = Color.green;
this.fillBox = true;
setToolTipGenerator(new BoxAndWhiskerXYToolTipGenerator());
}
示例2: testHashCode
import org.jfree.chart.labels.BoxAndWhiskerXYToolTipGenerator; //导入依赖的package包/类
/**
* Simple check that hashCode is implemented.
*/
public void testHashCode() {
BoxAndWhiskerXYToolTipGenerator g1
= new BoxAndWhiskerXYToolTipGenerator();
BoxAndWhiskerXYToolTipGenerator g2
= new BoxAndWhiskerXYToolTipGenerator();
assertTrue(g1.equals(g2));
assertTrue(g1.hashCode() == g2.hashCode());
}
示例3: testPublicCloneable
import org.jfree.chart.labels.BoxAndWhiskerXYToolTipGenerator; //导入依赖的package包/类
/**
* Check to ensure that this class implements PublicCloneable.
*/
public void testPublicCloneable() {
BoxAndWhiskerXYToolTipGenerator g1
= new BoxAndWhiskerXYToolTipGenerator();
assertTrue(g1 instanceof PublicCloneable);
}
示例4: XYBoxAndWhiskerRenderer
import org.jfree.chart.labels.BoxAndWhiskerXYToolTipGenerator; //导入依赖的package包/类
/**
* Creates a new renderer for box and whisker charts.
* <P>
* Use -1 for the box width if you prefer the width to be calculated
* automatically.
*
* @param boxWidth the box width.
*/
public XYBoxAndWhiskerRenderer(double boxWidth) {
super();
this.boxWidth = boxWidth;
this.boxPaint = Color.green;
this.fillBox = true;
setToolTipGenerator(new BoxAndWhiskerXYToolTipGenerator());
}
示例5: XYBoxAndWhiskerRenderer
import org.jfree.chart.labels.BoxAndWhiskerXYToolTipGenerator; //导入依赖的package包/类
/**
* Creates a new renderer for box and whisker charts.
* <P>
* Use -1 for the box width if you prefer the width to be calculated
* automatically.
*
* @param boxWidth the box width.
*/
public XYBoxAndWhiskerRenderer(double boxWidth) {
super();
this.boxWidth = boxWidth;
this.boxPaint = Color.green;
this.fillBox = true;
setBaseToolTipGenerator(new BoxAndWhiskerXYToolTipGenerator());
}
示例6: XYBoxAndWhiskerRenderer
import org.jfree.chart.labels.BoxAndWhiskerXYToolTipGenerator; //导入依赖的package包/类
/**
* Creates a new renderer for box and whisker charts.
* <P>
* Use -1 for the box width if you prefer the width to be calculated
* automatically.
*
* @param boxWidth the box width.
*/
public XYBoxAndWhiskerRenderer(double boxWidth) {
super();
this.boxWidth = boxWidth;
this.boxPaint = Color.GREEN;
this.fillBox = true;
setDefaultToolTipGenerator(new BoxAndWhiskerXYToolTipGenerator());
}