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

📄 polaritemrenderer.java

📁 这是一个segy数据显示程序
💻 JAVA
字号:
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2004, by Object Refinery Limited and Contributors. * * Project Info:  http://www.jfree.org/jfreechart/index.html * * This library is free software; you can redistribute it and/or modify it under the terms * of the GNU Lesser General Public License as published by the Free Software Foundation; * either version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License along with this * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. * * [Java is a trademark or registered trademark of Sun Microsystems, Inc.  * in the United States and other countries.] * * ---------------------- * PolarItemRenderer.java * ---------------------- * (C) Copyright 2004, by Solution Engineering, Inc. and Contributors. * * Original Author:  Daniel Bridenbecker, Solution Engineering, Inc.; * Contributor(s):   David Gilbert (for Object Refinery Limited); * * $Id: PolarItemRenderer.java,v 1.2 2004/02/04 11:10:57 mungady Exp $ * * Changes * ------- * 19-Jan-2004 : Version 1, contributed by DB with minor changes by DG (DG); * */package org.jfree.chart.renderer;import java.awt.Graphics2D;import java.awt.geom.Rectangle2D;import java.util.List;import org.jfree.chart.LegendItem;import org.jfree.chart.axis.ValueAxis;import org.jfree.chart.event.RendererChangeListener;import org.jfree.chart.plot.PlotRenderingInfo;import org.jfree.chart.plot.PolarPlot;import org.jfree.data.XYDataset;/** * The interface for a renderer that can be used by the {@link PolarPlot} class. */public interface PolarItemRenderer {        /**     * Plots the data for a given series.     *      * @param g2  the drawing surface.     * @param dataArea  the data area.     * @param info  collects plot rendering info.     * @param plot  the plot.     * @param dataset  the dataset.     * @param seriesIndex  the series index.     */    public void drawSeries(Graphics2D g2,                            Rectangle2D dataArea,                            PlotRenderingInfo info,                           PolarPlot plot,                           XYDataset dataset,                           int seriesIndex);        /**     * Draw the angular gridlines - the spokes.     *      * @param g2  the drawing surface.     * @param plot  the plot.     * @param ticks  the ticks.     * @param dataArea  the data area.     */    public void drawAngularGridLines(Graphics2D g2,                                      PolarPlot plot,                                      List ticks,                                     Rectangle2D dataArea);        /**     * Draw the radial gridlines - the rings.     *      * @param g2  the drawing surface.     * @param plot  the plot.     * @param radialAxis  the radial axis.     * @param ticks  the ticks.     * @param dataArea  the data area.     */    public void drawRadialGridLines(Graphics2D g2,                                     PolarPlot plot,                                     //RadialAxis radialAxis,                                     ValueAxis radialAxis,                                    List ticks,                                    Rectangle2D dataArea);    /**     * Return the legend for the given series.     *      * @param series  the series index.     *      * @return The legend item.     */    public LegendItem getLegendItem(int series);    /**     * Returns the plot that this renderer has been assigned to.     *     * @return the plot.     */    public PolarPlot getPlot();    /**     * Sets the plot that this renderer is assigned to.     * <P>     * This method will be called by the plot class...you do not need to call it yourself.     *     * @param plot  the plot.     */    public void setPlot(PolarPlot plot);    /**     * Adds a change listener.     *      * @param listener  the listener.     */    public void addChangeListener(RendererChangeListener listener);        /**     * Removes a change listener.     *      * @param listener  the listener.     */    public void removeChangeListener(RendererChangeListener listener);        }

⌨️ 快捷键说明

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