本文整理汇总了Java中org.jfree.data.DefaultKeyedValue类的典型用法代码示例。如果您正苦于以下问题:Java DefaultKeyedValue类的具体用法?Java DefaultKeyedValue怎么用?Java DefaultKeyedValue使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
DefaultKeyedValue类属于org.jfree.data包,在下文中一共展示了DefaultKeyedValue类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: DefaultKeyedValueDataset
import org.jfree.data.DefaultKeyedValue; //导入依赖的package包/类
/**
* Creates a new dataset with the specified initial value.
*
* @param key the key.
* @param value the value (<code>null</code> permitted).
*/
public DefaultKeyedValueDataset(final Comparable key, final Number value) {
this(new DefaultKeyedValue(key, value));
}
示例2: setValue
import org.jfree.data.DefaultKeyedValue; //导入依赖的package包/类
/**
* Sets the value for the dataset and sends a {@link DatasetChangeEvent} to all registered
* listeners.
*
* @param key the key.
* @param value the value (<code>null</code> permitted).
*/
public void setValue(final Comparable key, final Number value) {
this.data = new DefaultKeyedValue(key, value);
notifyListeners(new DatasetChangeEvent(this, this));
}
示例3: DefaultKeyedValueDataset
import org.jfree.data.DefaultKeyedValue; //导入依赖的package包/类
/**
* Creates a new dataset with the specified initial value.
*
* @param key the key.
* @param value the value (<code>null</code> permitted).
*/
public DefaultKeyedValueDataset(Comparable key, Number value) {
this(new DefaultKeyedValue(key, value));
}
示例4: setValue
import org.jfree.data.DefaultKeyedValue; //导入依赖的package包/类
/**
* Sets the value for the dataset and sends a {@link DatasetChangeEvent} to
* all registered listeners.
*
* @param key the key.
* @param value the value (<code>null</code> permitted).
*/
public void setValue(Comparable key, Number value) {
this.data = new DefaultKeyedValue(key, value);
notifyListeners(new DatasetChangeEvent(this, this));
}
示例5: setValue
import org.jfree.data.DefaultKeyedValue; //导入依赖的package包/类
/**
* Sets the value for the dataset and sends a {@link DatasetChangeEvent} to
* all registered listeners.
*
* @param key the key.
* @param value the value (<code>null</code> permitted).
*/
public void setValue(Comparable key, Number value) {
this.data = new DefaultKeyedValue(key, value);
notifyListeners(new DatasetChangeEvent(this, this));
}
示例6: DefaultKeyedValueDataset
import org.jfree.data.DefaultKeyedValue; //导入依赖的package包/类
/**
* Creates a new dataset with the specified initial value.
*
* @param key the key.
* @param value the value ({@code null} permitted).
*/
public DefaultKeyedValueDataset(Comparable key, Number value) {
this(new DefaultKeyedValue(key, value));
}
示例7: setValue
import org.jfree.data.DefaultKeyedValue; //导入依赖的package包/类
/**
* Sets the value for the dataset and sends a {@link DatasetChangeEvent} to
* all registered listeners.
*
* @param key the key.
* @param value the value ({@code null} permitted).
*/
public void setValue(Comparable key, Number value) {
this.data = new DefaultKeyedValue(key, value);
notifyListeners(new DatasetChangeEvent(this, this));
}
示例8: setValue
import org.jfree.data.DefaultKeyedValue; //导入依赖的package包/类
/**
* Sets the value for the dataset and sends a {@link DatasetChangeEvent} to
* all registered listeners.
*
* @param key the key.
* @param value the value (<code>null</code> permitted).
*/
public void setValue(Comparable key, Number value) {
this.data = new DefaultKeyedValue(key, value);
this.fireDatasetChanged(new DatasetChangeInfo());
//TODO: fill in real change info
}