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

📄 hilomodel.java

📁 非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应用程序更漂亮更易操作。 官网:www.zkoss.org
💻 JAVA
字号:
/* HiLoModel.java{{IS_NOTE	Purpose:			Description:			History:		Thu Aug 14 21:10:14     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;import java.util.Date;import java.util.Collection;/** * A HiLo chart data model (date, open, close, high, low, volumn) usually used in * stock market. * * @author henrichen * @see Chart * @see SimpleHiLoModel */public interface HiLoModel extends ChartModel {	/**	 * Get the only series.	 */	public Comparable getSeries();	/**	 * Set the only series.	 * @param series the only series in legend.	 */		public void setSeries(Comparable series);	/**	 * Get data count.	 */	public int getDataCount();	/**	 * Get date of a specified data index.	 */	public Date getDate(int index);		/**	 * Get Open value of a specified data index.	 * @param index the data index.	 */	public Number getOpen(int index);	/**	 * Get High value of a specified data index.	 * @param index the data index.	 */	public Number getHigh(int index);	/**	 * Get Low value of a specified data index.	 * @param index the data index.	 */	public Number getLow(int index);	/**	 * Get close value of a specified data index.	 * @param index the data index.	 */	public Number getClose(int index);	/**	 * Get volume value of a specified data index.	 * @param index the data index.	 */	public Number getVolume(int index);	/**	 * Add an (date, open, high, low, close, volumn) tuple.	 * @param date the date	 * @param open the open value in the date.	 * @param high the high value in the date.	 * @param low the low value in the date.	 * @param close the close value in the date.	 * @param volumn the trading volumn in the date.	 * 	 */		public void addValue(Date date, Number open, Number high, Number low, Number close, Number volumn);	/**	 * Remove (date, open, high, low, close, volumn) tuple of a data index.	 * @param index the data index.	 */		public void removeValue(int index);	/**	 * clear this model.	 */		public void clear();}

⌨️ 快捷键说明

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