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

📄 categoryitemrenderer.java

📁 这是一个segy数据显示程序
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
    public ItemLabelPosition getSeriesPositiveItemLabelPosition(int series);        /**     * Sets the item label position for all positive values in a series and sends a      * {@link RendererChangeEvent} to all registered listeners.     *      * @param series  the series index (zero-based).     * @param position  the position (<code>null</code> permitted).     */    public void setSeriesPositiveItemLabelPosition(int series, ItemLabelPosition position);    /**     * Sets the item label position for all positive values in a series and (if requested) sends a      * {@link RendererChangeEvent} to all registered listeners.     *      * @param series  the series index (zero-based).     * @param position  the position (<code>null</code> permitted).     * @param notify  notify registered listeners?     */    public void setSeriesPositiveItemLabelPosition(int series, ItemLabelPosition position,         boolean notify);    /**     * Returns the base positive item label position.     *      * @return The position.     */    public ItemLabelPosition getBasePositiveItemLabelPosition();    /**     * Sets the base positive item label position.     *      * @param position  the position.     */    public void setBasePositiveItemLabelPosition(ItemLabelPosition position);        /**     * Sets the base positive item label position and, if requested, sends a      * {@link RendererChangeEvent} to all registered listeners.     *      * @param position  the position.     * @param notify  notify registered listeners?     */    public void setBasePositiveItemLabelPosition(ItemLabelPosition position, boolean notify);            // NEGATIVE ITEM LABEL POSITION...    /**     * Returns the item label position for negative values.  This method can be overridden to      * provide customisation of the item label position for individual data items.     *      * @param row  the row index (zero-based).     * @param column  the column (zero-based).     *      * @return the item label position.     */    public ItemLabelPosition getNegativeItemLabelPosition(int row, int column);    /**     * Returns the item label position for negative values in ALL series.     *      * @return the item label position (possibly <code>null</code>).     */    public ItemLabelPosition getNegativeItemLabelPosition();    /**     * Sets the item label position for negative values in ALL series, and sends a      * {@link RendererChangeEvent} to all registered listeners.  You need to set this to     * <code>null</code> to expose the settings for individual series.     *      * @param position  the position (<code>null</code> permitted).     */    public void setNegativeItemLabelPosition(ItemLabelPosition position);        /**     * Sets the item label position for negative values in ALL series and (if requested) sends      * a {@link RendererChangeEvent} to all registered listeners.       *      * @param position  the position (<code>null</code> permitted).     * @param notify  notify registered listeners?     */    public void setNegativeItemLabelPosition(ItemLabelPosition position, boolean notify);    /**     * Returns the item label position for all negative values in a series.     *      * @param series  the series index (zero-based).     *      * @return The item label position.     */    public ItemLabelPosition getSeriesNegativeItemLabelPosition(int series);    /**     * Sets the item label position for negative values in a series and sends a      * {@link RendererChangeEvent} to all registered listeners.     *      * @param series  the series index (zero-based).     * @param position  the position (<code>null</code> permitted).     */    public void setSeriesNegativeItemLabelPosition(int series, ItemLabelPosition position);    /**     * Sets the item label position for negative values in a series and (if requested) sends a.     * {@link RendererChangeEvent} to all registered listeners.     *      * @param series  the series index (zero-based).     * @param position  the position (<code>null</code> permitted).     * @param notify  notify registered listeners?     */    public void setSeriesNegativeItemLabelPosition(int series, ItemLabelPosition position,         boolean notify);    /**     * Returns the base item label position for negative values.     *      * @return The position.     */    public ItemLabelPosition getBaseNegativeItemLabelPosition();    /**     * Sets the base item label position for negative values and sends a      * {@link RendererChangeEvent} to all registered listeners.     *      * @param position  the position.     */    public void setBaseNegativeItemLabelPosition(ItemLabelPosition position);        /**     * Sets the base negative item label position and, if requested, sends a      * {@link RendererChangeEvent} to all registered listeners.     *      * @param position  the position.     * @param notify  notify registered listeners?     */    public void setBaseNegativeItemLabelPosition(ItemLabelPosition position, boolean notify);        // ITEM URL GENERATOR        /**     * Returns the URL generator for an item.     *     * @param series  the series index (zero-based).     * @param item  the item index (zero-based).     *     * @return The item URL generator.     */    public CategoryURLGenerator getItemURLGenerator(int series, int item);    /**     * Returns the item URL generator for a series.     *     * @param series  the series index (zero-based).     *     * @return The URL generator.     */    public CategoryURLGenerator getSeriesItemURLGenerator(int series);    /**     * Sets the item URL generator for ALL series.      *      * @param generator  the generator.     */    public void setItemURLGenerator(CategoryURLGenerator generator);        /**     * Sets the item URL generator for a series.     *     * @param series  the series index (zero-based).     * @param generator  the generator.     */    public void setSeriesItemURLGenerator(int series, CategoryURLGenerator generator);    /**     * Returns the base item URL generator.     *     * @return The item URL generator.     */    public CategoryURLGenerator getBaseItemURLGenerator();    /**     * Sets the base item URL generator.     *     * @param generator  the item URL generator.     */    public void setBaseItemURLGenerator(CategoryURLGenerator generator);    /**     * Returns a legend item for a series.     *     * @param datasetIndex  the dataset index (zero-based).     * @param series  the series (zero-based index).     *     * @return The legend item (possibly <code>null</code>).     */    public LegendItem getLegendItem(int datasetIndex, int series);    /**     * Draws a background for the data area.     *     * @param g2  the graphics device.     * @param plot  the plot.     * @param dataArea  the data area.     */    public void drawBackground(Graphics2D g2,                               CategoryPlot plot,                               Rectangle2D dataArea);    /**     * Draws an outline for the data area.     *     * @param g2  the graphics device.     * @param plot  the plot.     * @param dataArea  the data area.     */    public void drawOutline(Graphics2D g2,                            CategoryPlot plot,                            Rectangle2D dataArea);    /**     * Draws a single data item.     *     * @param g2  the graphics device.     * @param state  state information for one chart.     * @param dataArea  the data plot area.     * @param plot  the plot.     * @param domainAxis  the domain axis.     * @param rangeAxis  the range axis.     * @param data  the data.     * @param row  the row index (zero-based).     * @param column  the column index (zero-based).     */    public void drawItem(Graphics2D g2,                         CategoryItemRendererState state,                         Rectangle2D dataArea,                         CategoryPlot plot,                         CategoryAxis domainAxis,                         ValueAxis rangeAxis,                         CategoryDataset data,                         int row,                         int column);    /**     * Draws a grid line against the domain axis.     *     * @param g2  the graphics device.     * @param plot  the plot.     * @param dataArea  the area for plotting data (not yet adjusted for any 3D effect).     * @param value  the value.     */    public void drawDomainGridline(Graphics2D g2,                                   CategoryPlot plot,                                   Rectangle2D dataArea,                                   double value);    /**     * Draws a grid line against the range axis.     *     * @param g2  the graphics device.     * @param plot  the plot.     * @param axis  the value axis.     * @param dataArea  the area for plotting data (not yet adjusted for any 3D effect).     * @param value  the value.     */    public void drawRangeGridline(Graphics2D g2,                                  CategoryPlot plot,                                  ValueAxis axis,                                  Rectangle2D dataArea,                                  double value);    /**     * Draws a line (or some other marker) to indicate a particular value on the range axis.     *     * @param g2  the graphics device.     * @param plot  the plot.     * @param axis  the value axis.     * @param marker  the marker.     * @param dataArea  the area for plotting data (not including 3D effect).     */    public void drawRangeMarker(Graphics2D g2,                                CategoryPlot plot,                                ValueAxis axis,                                Marker marker,                                Rectangle2D dataArea);        ////////  DEPRECATED METHODS //////////////////////////////////////////////////////////////////    // ITEM LABEL ANCHOR        /**     * Returns the item label anchor for an item.     *     * @param series  the series index (zero-based).     * @param item  the item index (zero-based).     *     * @return The item label anchor.     *      * @deprecated Use getPositiveItemLabelPosition() or getNegativeItemLabelPosition().     */    public ItemLabelAnchor getItemLabelAnchor(int series, int item);    /**     * Returns the item label anchor for a series.     *     * @param series  the series index (zero-based).     *     * @return The anchor.     *      * @deprecated Use getSeriesPositiveItemLabelPosition() or getSeriesNegativeItemLabelPosition().     */    public ItemLabelAnchor getSeriesItemLabelAnchor(int series);    /**     * Sets the item label anchor for ALL series.      *      * @param anchor  the anchor.     *      * @deprecated Use setPositiveItemLabelPosition() or setNegativeItemLabelPosition().     */    public void setItemLabelAnchor(ItemLabelAnchor anchor);        /**     * Sets the item label anchor for a series.     *     * @param series  the series index (zero-based).     * @param anchor  the anchor.     *      * @deprecated Use setSeriesPositiveItemLabelPosition() or setSeriesNegativeItemLabelPosition().     */    public void setSeriesItemLabelAnchor(int series, ItemLabelAnchor anchor);    /**     * Returns the base item label anchor.     *     * @return The item label anchor.     *      * @deprecated Use getBasePositiveItemLabelPosition() or getBaseNegativeItemLabelPosition().     */    public ItemLabelAnchor getBaseItemLabelAnchor();    /**     * Sets the base item label anchor.     *     * @param anchor  the base item label anchor.     *      * @deprecated Use setBasePositiveItemLabelPosition() or setBaseNegativeItemLabelPosition().     */    public void setBaseItemLabelAnchor(ItemLabelAnchor anchor);    // ITEM LABEL TEXT ANCHOR        /**     * Returns the item label text anchor for an item.     *     * @param series  the series index (zero-based).     * @param item  the item index (zero-based).     *     * @return The item label text anchor.     *      * @deprecated Use getPositiveItemLabelPosition() or getNegativeItemLabelPosition().     */    public TextAnchor getItemLabelTextAnchor(int series, int item);    /**     * Returns the item label text anchor for a series.     *     * @param series  the series index (zero-based).     *     * @return The anchor.     *      * @deprecated Use getSeriesPositiveItemLabelPosition() or getSeriesNegativeItemLabelPosition().     */    public TextAnchor getSeriesItemLabelTextAnchor(int series);    /**     * Sets the item label text anchor for ALL series.      *      * @param anchor  the anchor.     *      * @deprecated Use setPositiveItemLabelPosition() or setNegativeItemLabelPosition().     */    public void setItemLabelTextAnchor(TextAnchor anchor);        /**     * Sets the item label text anchor for a series.     *     * @param series  the series index (zero-based).     * @param anchor  the anchor.     *      * @deprecated Use setSeriesPositiveItemLabelPosition() or setSeriesNegativeItemLabelPosition().     */    public void setSeriesItemLabelTextAnchor(int series, TextAnchor anchor);    /**     * Returns the base item label text anchor.     *     * @return The item label text anchor.     *      * @deprecated Use setBasePositiveItemLabelPosition() or setBaseNegativeItemLabelPosition().     */    public TextAnchor getBaseItemLabelTextAnchor();    /**     * Sets the base item label text anchor.     *     * @param anchor  the item label text anchor.     *      * @deprecated Use setBasePositiveItemLabelPosition() or setBaseNegativeItemLabelPosition().     */    public void setBaseItemLabelTextAnchor(TextAnchor anchor);}

⌨️ 快捷键说明

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