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 */
030@FunctionalInterface
031public interface ChartPlot {
032
033        /**
034         * Plot オブジェクトを取得します。
035         *
036         * Plot オブジェクト には、その種類の応じた、データセットやレンデラーを
037         * 設定する必要があります。
038         * また、複数のデータセットや、それに関係する属性情報も、設定する必要が
039         * あります。
040         * Plot は、JFreeChart オブジェクトにつき、一つ用意しなければなりません。
041         * チャート合成時でも、Plot は一つです。
042         *
043         * @param       chartCreate     ChartCreateオブジェクト
044         *
045         * @return      Plotオブジェクト
046         */
047        Plot getPlot( final ChartCreate chartCreate ) ;
048}