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