Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–1790 unchanged (1790 lines)
1791 LegendItemCollection result = new LegendItemCollection();
1792 if (this.plot == null) {
1793 return result;
1794 }
1795 int index = this.plot.getIndexOf(this);
1796 CategoryDataset dataset = this.plot.getDataset(index);
1797 if (dataset != null) {
1798 return result;
1799 }
1800 int seriesCount = dataset.getRowCount();
1801 if (plot.getRowRenderingOrder().equals(SortOrder.ASCENDING)) {
1802 for (int i = 0; i < seriesCount; i++) {
1803 if (isSeriesVisibleInLegend(i)) {
…lines 1804–1995 unchanged (192 lines)

After

…lines 1–1790 unchanged (1790 lines)
1791 LegendItemCollection result = new LegendItemCollection();
1792 if (this.plot == null) {
1793 return result;
1794 }
1795 int index = this.plot.getIndexOf(this);
1796 CategoryDataset dataset = this.plot.getDataset(index);
1797 if (dataset == null) {
1798 return result;
1799 }
1800 int seriesCount = dataset.getRowCount();
1801 if (plot.getRowRenderingOrder().equals(SortOrder.ASCENDING)) {
1802 for (int i = 0; i < seriesCount; i++) {
1803 if (isSeriesVisibleInLegend(i)) {
…lines 1804–1995 unchanged (192 lines)

Before

program
block_comment "/* ========================================================="...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "renderer"
. "."
identifier "category"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "AlphaComposite"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Composite"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Font"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "GradientPaint"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Graphics2D"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Paint"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Rectangle"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Shape"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Stroke"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "geom"
. "."
identifier "Ellipse2D"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "geom"
. "."
identifier "Line2D"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "geom"
. "."
identifier "Point2D"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "geom"
. "."
identifier "Rectangle2D"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "io"
. "."
identifier "Serializable"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "ArrayList"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Iterator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "List"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "ChartRenderingInfo"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "LegendItem"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "LegendItemCollection"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "RenderingSource"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "annotations"
. "."
identifier "CategoryAnnotation"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "axis"
. "."
identifier "CategoryAxis"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "axis"
. "."
identifier "ValueAxis"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "entity"
. "."
identifier "CategoryItemEntity"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "entity"
. "."
identifier "EntityCollection"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "event"
. "."
identifier "RendererChangeEvent"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "CategoryItemLabelGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "CategorySeriesLabelGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "CategoryToolTipGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "ItemLabelPosition"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "StandardCategorySeriesLabelGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "CategoryCrosshairState"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "CategoryMarker"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "CategoryPlot"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "DrawingSupplier"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "IntervalMarker"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "Marker"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "PlotOrientation"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "PlotRenderingInfo"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "ValueMarker"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "renderer"
. "."
identifier "AbstractRenderer"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "text"
. "."
identifier "TextUtilities"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "urls"
. "."
identifier "CategoryURLGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "GradientPaintTransformer"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "Layer"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "LengthAdjustmentType"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "ObjectList"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "ObjectUtilities"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "PublicCloneable"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "RectangleAnchor"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "RectangleEdge"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "RectangleInsets"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "SortOrder"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "Range"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "category"
. "."
identifier "CategoryDataset"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "category"
. "."
identifier "CategoryDatasetSelectionState"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "category"
. "."
identifier "SelectableCategoryDataset"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "general"
. "."
identifier "DatasetUtilities"
; ";"
block_comment "/**\r\n * An abstract base class that you can use to implement"...
class_declaration
modifiers
public "public"
abstract "abstract"
class "class"
identifier "AbstractCategoryItemRenderer"
superclass
extends "extends"
type_identifier "AbstractRenderer"
super_interfaces
implements "implements"
type_list
type_identifier "CategoryItemRenderer"
, ","
type_identifier "Cloneable"
, ","
type_identifier "PublicCloneable"
, ","
type_identifier "Serializable"
class_body
{ "{"
block_comment "/** For serialization. */"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
decimal_integer_literal "1247553218442497391L"
; ";"
block_comment "/** The plot that the renderer is assigned to. */"
field_declaration
modifiers
private "private"
type_identifier "CategoryPlot"
variable_declarator
identifier "plot"
; ";"
block_comment "/** A list of item label generators (one per series). */"
field_declaration
modifiers
private "private"
type_identifier "ObjectList"
variable_declarator
identifier "itemLabelGeneratorList"
; ";"
block_comment "/** The base item label generator. */"
field_declaration
modifiers
private "private"
type_identifier "CategoryItemLabelGenerator"
variable_declarator
identifier "baseItemLabelGenerator"
; ";"
block_comment "/** A list of tool tip generators (one per series). */"
field_declaration
modifiers
private "private"
type_identifier "ObjectList"
variable_declarator
identifier "toolTipGeneratorList"
; ";"
block_comment "/** The base tool tip generator. */"
field_declaration
modifiers
private "private"
type_identifier "CategoryToolTipGenerator"
variable_declarator
identifier "baseToolTipGenerator"
; ";"
block_comment "/** A list of label generators (one per series). */"
field_declaration
modifiers
private "private"
type_identifier "ObjectList"
variable_declarator
identifier "urlGeneratorList"
; ";"
block_comment "/** The base label generator. */"
field_declaration
modifiers
private "private"
type_identifier "CategoryURLGenerator"
variable_declarator
identifier "baseURLGenerator"
; ";"
block_comment "/** The legend item label generator. */"
field_declaration
modifiers
private "private"
type_identifier "CategorySeriesLabelGenerator"
variable_declarator
identifier "legendItemLabelGenerator"
; ";"
block_comment "/** The legend item tool tip generator. */"
field_declaration
modifiers
private "private"
type_identifier "CategorySeriesLabelGenerator"
variable_declarator
identifier "legendItemToolTipGenerator"
; ";"
block_comment "/** The legend item URL generator. */"
field_declaration
modifiers
private "private"
type_identifier "CategorySeriesLabelGenerator"
variable_declarator
identifier "legendItemURLGenerator"
; ";"
block_comment "/**\r\n * Annotations to be drawn in the background layer "...
field_declaration
modifiers
private "private"
type_identifier "List"
variable_declarator
identifier "backgroundAnnotations"
; ";"
block_comment "/**\r\n * Annotations to be drawn in the foreground layer "...
field_declaration
modifiers
private "private"
type_identifier "List"
variable_declarator
identifier "foregroundAnnotations"
; ";"
block_comment "/** The number of rows in the dataset (temporary record). */"
field_declaration
modifiers
private "private"
transient "transient"
integral_type
int "int"
variable_declarator
identifier "rowCount"
; ";"
block_comment "/** The number of columns in the dataset (temporary record)."...
field_declaration
modifiers
private "private"
transient "transient"
integral_type
int "int"
variable_declarator
identifier "columnCount"
; ";"
block_comment "/**\r\n * Creates a new renderer with no tool tip generato"...
constructor_declaration (+94 nodes collapsed)
block_comment "/**\r\n * Returns the number of passes through the dataset"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getPassCount"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
decimal_integer_literal "1"
; ";"
} "}"
block_comment "/**\r\n * Returns the plot that the renderer has been assi"...
method_declaration
modifiers
public "public"
type_identifier "CategoryPlot"
identifier "getPlot"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "plot"
; ";"
} "}"
block_comment "/**\r\n * Sets the plot that the renderer has been assigne"...
method_declaration (+48 nodes collapsed)
line_comment "// ITEM LABEL GENERATOR\r"
block_comment "/**\r\n * Returns the item label generator for a data item"...
method_declaration (+70 nodes collapsed)
block_comment "/**\r\n * Returns the item label generator for a series.\r\n"...
method_declaration (+33 nodes collapsed)
block_comment "/**\r\n * Sets the item label generator for a series and s"...
method_declaration (+31 nodes collapsed)
block_comment "/**\r\n * Sets the item label generator for a series and, "...
method_declaration (+61 nodes collapsed)
block_comment "/**\r\n * Returns the base item label generator.\r\n *\r\n"...
method_declaration
modifiers
public "public"
type_identifier "CategoryItemLabelGenerator"
identifier "getBaseItemLabelGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "baseItemLabelGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the base item label generator and sends a\r\n"...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Sets the base item label generator and, if reque"...
method_declaration (+50 nodes collapsed)
line_comment "// TOOL TIP GENERATOR\r"
block_comment "/**\r\n * Returns the tool tip generator that should be us"...
method_declaration (+67 nodes collapsed)
block_comment "/**\r\n * Returns the tool tip generator for the specified"...
method_declaration (+33 nodes collapsed)
block_comment "/**\r\n * Sets the tool tip generator for a series and sen"...
method_declaration (+31 nodes collapsed)
block_comment "/**\r\n * Sets the tool tip generator for a series and sen"...
method_declaration (+61 nodes collapsed)
block_comment "/**\r\n * Returns the base tool tip generator (the \"layer "...
method_declaration
modifiers
public "public"
type_identifier "CategoryToolTipGenerator"
identifier "getBaseToolTipGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "baseToolTipGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the base tool tip generator and sends a {@l"...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Sets the base tool tip generator and sends a {@l"...
method_declaration (+50 nodes collapsed)
line_comment "// URL GENERATOR\r"
block_comment "/**\r\n * Returns the URL generator for a data item.\r\n "...
method_declaration (+70 nodes collapsed)
block_comment "/**\r\n * Returns the URL generator for a series.\r\n *\r"...
method_declaration (+33 nodes collapsed)
block_comment "/**\r\n * Sets the URL generator for a series and sends a\r"...
method_declaration (+31 nodes collapsed)
block_comment "/**\r\n * Sets the URL generator for a series and, if requ"...
method_declaration (+61 nodes collapsed)
block_comment "/**\r\n * Returns the base item URL generator.\r\n *\r\n "...
method_declaration
modifiers
public "public"
type_identifier "CategoryURLGenerator"
identifier "getBaseURLGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "baseURLGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the base item URL generator.\r\n *\r\n "...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Sets the base item URL generator.\r\n *\r\n "...
method_declaration (+50 nodes collapsed)
line_comment "// ANNOTATIONS\r"
block_comment "/**\r\n * Adds an annotation and sends a {@link RendererCh"...
method_declaration (+28 nodes collapsed)
block_comment "/**\r\n * Adds an annotation to the specified layer.\r\n "...
method_declaration (+154 nodes collapsed)
block_comment "/**\r\n * Removes the specified annotation and sends a {@l"...
method_declaration (+68 nodes collapsed)
block_comment "/**\r\n * Removes all annotations and sends a {@link Rende"...
method_declaration (+49 nodes collapsed)
block_comment "/**\r\n * Returns the legend item label generator.\r\n *"...
method_declaration
modifiers
public "public"
type_identifier "CategorySeriesLabelGenerator"
identifier "getLegendItemLabelGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "legendItemLabelGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the legend item label generator and sends a"...
method_declaration (+55 nodes collapsed)
block_comment "/**\r\n * Returns the legend item tool tip generator.\r\n "...
method_declaration
modifiers
public "public"
type_identifier "CategorySeriesLabelGenerator"
identifier "getLegendItemToolTipGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "legendItemToolTipGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the legend item tool tip generator and send"...
method_declaration (+30 nodes collapsed)
block_comment "/**\r\n * Returns the legend item URL generator.\r\n *\r\n"...
method_declaration
modifiers
public "public"
type_identifier "CategorySeriesLabelGenerator"
identifier "getLegendItemURLGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "legendItemURLGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the legend item URL generator and sends a\r\n"...
method_declaration (+30 nodes collapsed)
block_comment "/**\r\n * Returns the number of rows in the dataset. This"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getRowCount"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "rowCount"
; ";"
} "}"
block_comment "/**\r\n * Returns the number of columns in the dataset. T"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getColumnCount"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "columnCount"
; ";"
} "}"
block_comment "/**\r\n * Creates a new state instance---this method is ca"...
method_declaration (+163 nodes collapsed)
block_comment "/**\r\n * Initialises the renderer and returns a state obj"...
method_declaration (+246 nodes collapsed)
block_comment "/**\r\n * Returns the range of values the renderer require"...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns the range of values the renderer require"...
method_declaration (+159 nodes collapsed)
block_comment "/**\r\n * Returns the Java2D coordinate for the middle of "...
method_declaration (+58 nodes collapsed)
block_comment "/**\r\n * Draws a background for the data area. The defau"...
method_declaration (+34 nodes collapsed)
block_comment "/**\r\n * Draws an outline for the data area. The default"...
method_declaration (+34 nodes collapsed)
block_comment "/**\r\n * Draws a grid line against the domain axis.\r\n "...
method_declaration (+232 nodes collapsed)
block_comment "/**\r\n * Draws a line perpendicular to the range axis.\r\n "...
method_declaration (+245 nodes collapsed)
block_comment "/**\r\n * Draws a marker for the domain axis.\r\n *\r\n "...
method_declaration (+750 nodes collapsed)
block_comment "/**\r\n * Draws a marker for the range axis.\r\n *\r\n "...
method_declaration (+1575 nodes collapsed)
block_comment "/**\r\n * Calculates the (x, y) coordinates for drawing th"...
method_declaration (+129 nodes collapsed)
block_comment "/**\r\n * Calculates the (x, y) coordinates for drawing a "...
method_declaration (+129 nodes collapsed)
block_comment "/**\r\n * Returns a legend item for a series. This defaul"...
method_declaration (+373 nodes collapsed)
block_comment "/**\r\n * Tests this renderer for equality with another ob"...
method_declaration (+403 nodes collapsed)
block_comment "/**\r\n * Returns a hash code for the renderer.\r\n *\r\n "...
method_declaration (+30 nodes collapsed)
block_comment "/**\r\n * Returns the drawing supplier from the plot.\r\n "...
method_declaration (+57 nodes collapsed)
block_comment "/**\r\n * Considers the current (x, y) coordinate and upda"...
method_declaration (+146 nodes collapsed)
block_comment "/**\r\n * Draws an item label.\r\n *\r\n * @param g2 "...
method_declaration (+286 nodes collapsed)
block_comment "/**\r\n * Draws all the annotations for the specified laye"...
method_declaration (+185 nodes collapsed)
block_comment "/**\r\n * Returns an independent copy of the renderer. Th"...
method_declaration (+500 nodes collapsed)
block_comment "/**\r\n * Returns the domain axis that is used for the spe"...
method_declaration (+44 nodes collapsed)
block_comment "/**\r\n * Returns a range axis for a plot.\r\n *\r\n *"...
method_declaration (+61 nodes collapsed)
block_comment "/**\r\n * Returns a (possibly empty) collection of legend "...
method_declaration
modifiers
public "public"
type_identifier "LegendItemCollection"
identifier "getLegendItems"
formal_parameters
( "("
) ")"
block
{ "{"
local_variable_declaration
type_identifier "LegendItemCollection"
variable_declarator
identifier "result"
= "="
object_creation_expression
new "new"
type_identifier "LegendItemCollection"
argument_list
( "("
) ")"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
this "this"
. "."
identifier "plot"
== "=="
null_literal "null"
) ")"
block
{ "{"
return_statement
return "return"
identifier "result"
; ";"
} "}"
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "index"
= "="
method_invocation
field_access
this "this"
. "."
identifier "plot"
. "."
identifier "getIndexOf"
argument_list
( "("
this "this"
) ")"
; ";"
local_variable_declaration
type_identifier "CategoryDataset"
variable_declarator
identifier "dataset"
= "="
method_invocation
field_access
this "this"
. "."
identifier "plot"
. "."
identifier "getDataset"
argument_list
( "("
identifier "index"
) ")"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
identifier "dataset"
!= "!="
null_literal "null"
) ")"
block
{ "{"
return_statement
return "return"
identifier "result"
; ";"
} "}"
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "seriesCount"
= "="
method_invocation
identifier "dataset"
. "."
identifier "getRowCount"
argument_list
( "("
) ")"
; ";"
if_statement (+178 nodes collapsed)
return_statement
return "return"
identifier "result"
; ";"
} "}"
block_comment "/**\r\n * Adds an entity with the specified hotspot.\r\n "...
method_declaration (+83 nodes collapsed)
block_comment "/**\r\n * Adds an entity to the collection.\r\n *\r\n "...
method_declaration (+345 nodes collapsed)
block_comment "/**\r\n * Returns a shape that can be used for hit testing"...
method_declaration (+65 nodes collapsed)
block_comment "/**\r\n * Returns the rectangular bounds for the hot spot "...
method_declaration (+216 nodes collapsed)
block_comment "/**\r\n * Returns <code>true</code> if the specified point"...
method_declaration (+125 nodes collapsed)
} "}"

After

program
block_comment "/* ========================================================="...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "renderer"
. "."
identifier "category"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "AlphaComposite"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Composite"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Font"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "GradientPaint"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Graphics2D"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Paint"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Rectangle"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Shape"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Stroke"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "geom"
. "."
identifier "Ellipse2D"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "geom"
. "."
identifier "Line2D"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "geom"
. "."
identifier "Point2D"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "geom"
. "."
identifier "Rectangle2D"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "io"
. "."
identifier "Serializable"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "ArrayList"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Iterator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "List"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "ChartRenderingInfo"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "LegendItem"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "LegendItemCollection"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "RenderingSource"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "annotations"
. "."
identifier "CategoryAnnotation"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "axis"
. "."
identifier "CategoryAxis"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "axis"
. "."
identifier "ValueAxis"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "entity"
. "."
identifier "CategoryItemEntity"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "entity"
. "."
identifier "EntityCollection"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "event"
. "."
identifier "RendererChangeEvent"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "CategoryItemLabelGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "CategorySeriesLabelGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "CategoryToolTipGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "ItemLabelPosition"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "StandardCategorySeriesLabelGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "CategoryCrosshairState"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "CategoryMarker"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "CategoryPlot"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "DrawingSupplier"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "IntervalMarker"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "Marker"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "PlotOrientation"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "PlotRenderingInfo"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
. "."
identifier "ValueMarker"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "renderer"
. "."
identifier "AbstractRenderer"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "text"
. "."
identifier "TextUtilities"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "urls"
. "."
identifier "CategoryURLGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "GradientPaintTransformer"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "Layer"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "LengthAdjustmentType"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "ObjectList"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "ObjectUtilities"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "PublicCloneable"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "RectangleAnchor"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "RectangleEdge"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "RectangleInsets"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "SortOrder"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "Range"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "category"
. "."
identifier "CategoryDataset"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "category"
. "."
identifier "CategoryDatasetSelectionState"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "category"
. "."
identifier "SelectableCategoryDataset"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "general"
. "."
identifier "DatasetUtilities"
; ";"
block_comment "/**\r\n * An abstract base class that you can use to implement"...
class_declaration
modifiers
public "public"
abstract "abstract"
class "class"
identifier "AbstractCategoryItemRenderer"
superclass
extends "extends"
type_identifier "AbstractRenderer"
super_interfaces
implements "implements"
type_list
type_identifier "CategoryItemRenderer"
, ","
type_identifier "Cloneable"
, ","
type_identifier "PublicCloneable"
, ","
type_identifier "Serializable"
class_body
{ "{"
block_comment "/** For serialization. */"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
decimal_integer_literal "1247553218442497391L"
; ";"
block_comment "/** The plot that the renderer is assigned to. */"
field_declaration
modifiers
private "private"
type_identifier "CategoryPlot"
variable_declarator
identifier "plot"
; ";"
block_comment "/** A list of item label generators (one per series). */"
field_declaration
modifiers
private "private"
type_identifier "ObjectList"
variable_declarator
identifier "itemLabelGeneratorList"
; ";"
block_comment "/** The base item label generator. */"
field_declaration
modifiers
private "private"
type_identifier "CategoryItemLabelGenerator"
variable_declarator
identifier "baseItemLabelGenerator"
; ";"
block_comment "/** A list of tool tip generators (one per series). */"
field_declaration
modifiers
private "private"
type_identifier "ObjectList"
variable_declarator
identifier "toolTipGeneratorList"
; ";"
block_comment "/** The base tool tip generator. */"
field_declaration
modifiers
private "private"
type_identifier "CategoryToolTipGenerator"
variable_declarator
identifier "baseToolTipGenerator"
; ";"
block_comment "/** A list of label generators (one per series). */"
field_declaration
modifiers
private "private"
type_identifier "ObjectList"
variable_declarator
identifier "urlGeneratorList"
; ";"
block_comment "/** The base label generator. */"
field_declaration
modifiers
private "private"
type_identifier "CategoryURLGenerator"
variable_declarator
identifier "baseURLGenerator"
; ";"
block_comment "/** The legend item label generator. */"
field_declaration
modifiers
private "private"
type_identifier "CategorySeriesLabelGenerator"
variable_declarator
identifier "legendItemLabelGenerator"
; ";"
block_comment "/** The legend item tool tip generator. */"
field_declaration
modifiers
private "private"
type_identifier "CategorySeriesLabelGenerator"
variable_declarator
identifier "legendItemToolTipGenerator"
; ";"
block_comment "/** The legend item URL generator. */"
field_declaration
modifiers
private "private"
type_identifier "CategorySeriesLabelGenerator"
variable_declarator
identifier "legendItemURLGenerator"
; ";"
block_comment "/**\r\n * Annotations to be drawn in the background layer "...
field_declaration
modifiers
private "private"
type_identifier "List"
variable_declarator
identifier "backgroundAnnotations"
; ";"
block_comment "/**\r\n * Annotations to be drawn in the foreground layer "...
field_declaration
modifiers
private "private"
type_identifier "List"
variable_declarator
identifier "foregroundAnnotations"
; ";"
block_comment "/** The number of rows in the dataset (temporary record). */"
field_declaration
modifiers
private "private"
transient "transient"
integral_type
int "int"
variable_declarator
identifier "rowCount"
; ";"
block_comment "/** The number of columns in the dataset (temporary record)."...
field_declaration
modifiers
private "private"
transient "transient"
integral_type
int "int"
variable_declarator
identifier "columnCount"
; ";"
block_comment "/**\r\n * Creates a new renderer with no tool tip generato"...
constructor_declaration (+94 nodes collapsed)
block_comment "/**\r\n * Returns the number of passes through the dataset"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getPassCount"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
decimal_integer_literal "1"
; ";"
} "}"
block_comment "/**\r\n * Returns the plot that the renderer has been assi"...
method_declaration
modifiers
public "public"
type_identifier "CategoryPlot"
identifier "getPlot"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "plot"
; ";"
} "}"
block_comment "/**\r\n * Sets the plot that the renderer has been assigne"...
method_declaration (+48 nodes collapsed)
line_comment "// ITEM LABEL GENERATOR\r"
block_comment "/**\r\n * Returns the item label generator for a data item"...
method_declaration (+70 nodes collapsed)
block_comment "/**\r\n * Returns the item label generator for a series.\r\n"...
method_declaration (+33 nodes collapsed)
block_comment "/**\r\n * Sets the item label generator for a series and s"...
method_declaration (+31 nodes collapsed)
block_comment "/**\r\n * Sets the item label generator for a series and, "...
method_declaration (+61 nodes collapsed)
block_comment "/**\r\n * Returns the base item label generator.\r\n *\r\n"...
method_declaration
modifiers
public "public"
type_identifier "CategoryItemLabelGenerator"
identifier "getBaseItemLabelGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "baseItemLabelGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the base item label generator and sends a\r\n"...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Sets the base item label generator and, if reque"...
method_declaration (+50 nodes collapsed)
line_comment "// TOOL TIP GENERATOR\r"
block_comment "/**\r\n * Returns the tool tip generator that should be us"...
method_declaration (+67 nodes collapsed)
block_comment "/**\r\n * Returns the tool tip generator for the specified"...
method_declaration (+33 nodes collapsed)
block_comment "/**\r\n * Sets the tool tip generator for a series and sen"...
method_declaration (+31 nodes collapsed)
block_comment "/**\r\n * Sets the tool tip generator for a series and sen"...
method_declaration (+61 nodes collapsed)
block_comment "/**\r\n * Returns the base tool tip generator (the \"layer "...
method_declaration
modifiers
public "public"
type_identifier "CategoryToolTipGenerator"
identifier "getBaseToolTipGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "baseToolTipGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the base tool tip generator and sends a {@l"...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Sets the base tool tip generator and sends a {@l"...
method_declaration (+50 nodes collapsed)
line_comment "// URL GENERATOR\r"
block_comment "/**\r\n * Returns the URL generator for a data item.\r\n "...
method_declaration (+70 nodes collapsed)
block_comment "/**\r\n * Returns the URL generator for a series.\r\n *\r"...
method_declaration (+33 nodes collapsed)
block_comment "/**\r\n * Sets the URL generator for a series and sends a\r"...
method_declaration (+31 nodes collapsed)
block_comment "/**\r\n * Sets the URL generator for a series and, if requ"...
method_declaration (+61 nodes collapsed)
block_comment "/**\r\n * Returns the base item URL generator.\r\n *\r\n "...
method_declaration
modifiers
public "public"
type_identifier "CategoryURLGenerator"
identifier "getBaseURLGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "baseURLGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the base item URL generator.\r\n *\r\n "...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Sets the base item URL generator.\r\n *\r\n "...
method_declaration (+50 nodes collapsed)
line_comment "// ANNOTATIONS\r"
block_comment "/**\r\n * Adds an annotation and sends a {@link RendererCh"...
method_declaration (+28 nodes collapsed)
block_comment "/**\r\n * Adds an annotation to the specified layer.\r\n "...
method_declaration (+154 nodes collapsed)
block_comment "/**\r\n * Removes the specified annotation and sends a {@l"...
method_declaration (+68 nodes collapsed)
block_comment "/**\r\n * Removes all annotations and sends a {@link Rende"...
method_declaration (+49 nodes collapsed)
block_comment "/**\r\n * Returns the legend item label generator.\r\n *"...
method_declaration
modifiers
public "public"
type_identifier "CategorySeriesLabelGenerator"
identifier "getLegendItemLabelGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "legendItemLabelGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the legend item label generator and sends a"...
method_declaration (+55 nodes collapsed)
block_comment "/**\r\n * Returns the legend item tool tip generator.\r\n "...
method_declaration
modifiers
public "public"
type_identifier "CategorySeriesLabelGenerator"
identifier "getLegendItemToolTipGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "legendItemToolTipGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the legend item tool tip generator and send"...
method_declaration (+30 nodes collapsed)
block_comment "/**\r\n * Returns the legend item URL generator.\r\n *\r\n"...
method_declaration
modifiers
public "public"
type_identifier "CategorySeriesLabelGenerator"
identifier "getLegendItemURLGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "legendItemURLGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the legend item URL generator and sends a\r\n"...
method_declaration (+30 nodes collapsed)
block_comment "/**\r\n * Returns the number of rows in the dataset. This"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getRowCount"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "rowCount"
; ";"
} "}"
block_comment "/**\r\n * Returns the number of columns in the dataset. T"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getColumnCount"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "columnCount"
; ";"
} "}"
block_comment "/**\r\n * Creates a new state instance---this method is ca"...
method_declaration (+163 nodes collapsed)
block_comment "/**\r\n * Initialises the renderer and returns a state obj"...
method_declaration (+246 nodes collapsed)
block_comment "/**\r\n * Returns the range of values the renderer require"...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns the range of values the renderer require"...
method_declaration (+159 nodes collapsed)
block_comment "/**\r\n * Returns the Java2D coordinate for the middle of "...
method_declaration (+58 nodes collapsed)
block_comment "/**\r\n * Draws a background for the data area. The defau"...
method_declaration (+34 nodes collapsed)
block_comment "/**\r\n * Draws an outline for the data area. The default"...
method_declaration (+34 nodes collapsed)
block_comment "/**\r\n * Draws a grid line against the domain axis.\r\n "...
method_declaration (+232 nodes collapsed)
block_comment "/**\r\n * Draws a line perpendicular to the range axis.\r\n "...
method_declaration (+245 nodes collapsed)
block_comment "/**\r\n * Draws a marker for the domain axis.\r\n *\r\n "...
method_declaration (+750 nodes collapsed)
block_comment "/**\r\n * Draws a marker for the range axis.\r\n *\r\n "...
method_declaration (+1575 nodes collapsed)
block_comment "/**\r\n * Calculates the (x, y) coordinates for drawing th"...
method_declaration (+129 nodes collapsed)
block_comment "/**\r\n * Calculates the (x, y) coordinates for drawing a "...
method_declaration (+129 nodes collapsed)
block_comment "/**\r\n * Returns a legend item for a series. This defaul"...
method_declaration (+373 nodes collapsed)
block_comment "/**\r\n * Tests this renderer for equality with another ob"...
method_declaration (+403 nodes collapsed)
block_comment "/**\r\n * Returns a hash code for the renderer.\r\n *\r\n "...
method_declaration (+30 nodes collapsed)
block_comment "/**\r\n * Returns the drawing supplier from the plot.\r\n "...
method_declaration (+57 nodes collapsed)
block_comment "/**\r\n * Considers the current (x, y) coordinate and upda"...
method_declaration (+146 nodes collapsed)
block_comment "/**\r\n * Draws an item label.\r\n *\r\n * @param g2 "...
method_declaration (+286 nodes collapsed)
block_comment "/**\r\n * Draws all the annotations for the specified laye"...
method_declaration (+185 nodes collapsed)
block_comment "/**\r\n * Returns an independent copy of the renderer. Th"...
method_declaration (+500 nodes collapsed)
block_comment "/**\r\n * Returns the domain axis that is used for the spe"...
method_declaration (+44 nodes collapsed)
block_comment "/**\r\n * Returns a range axis for a plot.\r\n *\r\n *"...
method_declaration (+61 nodes collapsed)
block_comment "/**\r\n * Returns a (possibly empty) collection of legend "...
method_declaration
modifiers
public "public"
type_identifier "LegendItemCollection"
identifier "getLegendItems"
formal_parameters
( "("
) ")"
block
{ "{"
local_variable_declaration
type_identifier "LegendItemCollection"
variable_declarator
identifier "result"
= "="
object_creation_expression
new "new"
type_identifier "LegendItemCollection"
argument_list
( "("
) ")"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
this "this"
. "."
identifier "plot"
== "=="
null_literal "null"
) ")"
block
{ "{"
return_statement
return "return"
identifier "result"
; ";"
} "}"
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "index"
= "="
method_invocation
field_access
this "this"
. "."
identifier "plot"
. "."
identifier "getIndexOf"
argument_list
( "("
this "this"
) ")"
; ";"
local_variable_declaration
type_identifier "CategoryDataset"
variable_declarator
identifier "dataset"
= "="
method_invocation
field_access
this "this"
. "."
identifier "plot"
. "."
identifier "getDataset"
argument_list
( "("
identifier "index"
) ")"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
identifier "dataset"
== "=="
null_literal "null"
) ")"
block
{ "{"
return_statement
return "return"
identifier "result"
; ";"
} "}"
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "seriesCount"
= "="
method_invocation
identifier "dataset"
. "."
identifier "getRowCount"
argument_list
( "("
) ")"
; ";"
if_statement (+178 nodes collapsed)
return_statement
return "return"
identifier "result"
; ";"
} "}"
block_comment "/**\r\n * Adds an entity with the specified hotspot.\r\n "...
method_declaration (+83 nodes collapsed)
block_comment "/**\r\n * Adds an entity to the collection.\r\n *\r\n "...
method_declaration (+345 nodes collapsed)
block_comment "/**\r\n * Returns a shape that can be used for hit testing"...
method_declaration (+65 nodes collapsed)
block_comment "/**\r\n * Returns the rectangular bounds for the hot spot "...
method_declaration (+216 nodes collapsed)
block_comment "/**\r\n * Returns <code>true</code> if the specified point"...
method_declaration (+125 nodes collapsed)
} "}"