001/* 002 * Copyright (c) 2009 The openGion Project. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 013 * either express or implied. See the License for the specific language 014 * governing permissions and limitations under the License. 015 */ 016package org.opengion.hayabusa.io; 017 018import org.jfree.chart.plot.Plot; 019 020/** 021 * ChartPlot は、org.jfree.chart.plot.Plot オブジェクトを構築するクラスの共通インターフェースです。 022 * 複数の ChartDataset オブジェクトを合成することも、ここで行っています。 023 * グラフの種類は、チャートタイプの指定によって、ChartPlot_XXX クラスで設定しています。 024 * これらのクラスを共通に使用するためのインターフェースクラスです。 025 * 026 * @version 0.9.0 2007/06/21 027 * @author Kazuhiko Hasegawa 028 * @since JDK1.1, 029 */ 030public interface ChartPlot { 031 032 /** 033 * Plot オブジェクトを取得します。 034 * 035 * Plot オブジェクト には、その種類の応じた、データセットやレンデラーを 036 * 設定する必要があります。 037 * また、複数のデータセットや、それに関係する属性情報も、設定する必要が 038 * あります。 039 * Plot は、JFreeChart オブジェクトにつき、一つ用意しなければなりません。 040 * チャート合成時でも、Plot は一つです。 041 * 042 * @param chartCreate ChartCreateオブジェクト 043 * 044 * @return Plotオブジェクト 045 */ 046 Plot getPlot( final ChartCreate chartCreate ) ; 047}