⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chartdataevent.java

📁 非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应用程序更漂亮更易操作。 官网:www.zkoss.org
💻 JAVA
字号:
/* ChartDataEvent.java{{IS_NOTE	Purpose:			Description:			History:		Wed Aug 03 11:59:03     2006, Created by henrichen}}IS_NOTECopyright (C) 2006 Potix Corporation. All Rights Reserved.{{IS_RIGHT	This program is distributed under GPL Version 2.0 in the hope that	it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.zul.event;import org.zkoss.zul.ChartModel;/** * Defines an event that encapsulates changes to a chart's data model.  * * @author henrichen */public class ChartDataEvent {	/** Identifies one or more changes in the lists contents. */	public static final int CHANGED = 0;    /** Identifies the addition of one or more contiguous items to the list. */    	public static final int ADDED = 1;    /** Identifies the removal of one or more contiguous items from the list. */   	public static final int REMOVED = 2;	/** Identifies one or more changes in the charts contents. */	private final ChartModel _model;	private final int _type;	private final Comparable _series;	private final Object _data;	public ChartDataEvent(ChartModel model, int type, Comparable series, Object data) {		if (model == null)			throw new NullPointerException();		_model = model;		_type = type;		_series = series;		_data = data;	}	/** Returns the chart model that fires this event.	 */	public ChartModel getModel() {		return _model;	}	/** Returns the event type: CHANGED, ADDED, REMOVED.	 */	public int getType() {		return _type;	}	/** Returns the series index of the chart data model.	 */	public Comparable getSeries() {		return _series;	}	/** Returns customed data. Depends on the implementation.	 */	public Object getData() {		return _data;	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -