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–1370 unchanged (1370 lines)
1371
1372 /**
1373 * Returns the maximum explode percent.
1374 *
1375 * @return The percent.
1376 */
1377 public double getMaximumExplodePercent() {
1378 double result = 0.0;
1379 Iterator iterator = this.dataset.getKeys().iterator();
1380 while (iterator.hasNext()) {
1381 Comparable key = (Comparable) iterator.next();
1382 Number explode = (Number) this.explodePercentages.get(key);
1383 if (explode != null) {
…lines 1384–2043 unchanged (660 lines)
2044 * chart drawing).
2045 */
2046 public PiePlotState initialise(Graphics2D g2, Rectangle2D plotArea,
2047 PiePlot plot, Integer index, PlotRenderingInfo info) {
2048
2049 PiePlotState state = new PiePlotState(info);
2050 state.setPassesRequired(2);
2051 state.setTotal(DatasetUtilities.calculatePieDatasetTotal(
2052 plot.getDataset()));
2053 state.setLatestAngle(plot.getStartAngle());
2054 return state;
2055
2056 }
2057
2058 /**
…lines 2059–3036 unchanged (978 lines)

After

…lines 1–1371 unchanged (1371 lines)
1372 /**
1373 * Returns the maximum explode percent.
1374 *
1375 * @return The percent.
1376 */
1377 public double getMaximumExplodePercent() {
1378 if (this.dataset == null) {
1379 return 0.0;
1380 }
1381 double result = 0.0;
1382 Iterator iterator = this.dataset.getKeys().iterator();
1383 while (iterator.hasNext()) {
1384 Comparable key = (Comparable) iterator.next();
1385 Number explode = (Number) this.explodePercentages.get(key);
1386 if (explode != null) {
…lines 1387–2047 unchanged (661 lines)
2048 */
2049 public PiePlotState initialise(Graphics2D g2, Rectangle2D plotArea,
2050 PiePlot plot, Integer index, PlotRenderingInfo info) {
2051
2052 PiePlotState state = new PiePlotState(info);
2053 state.setPassesRequired(2);
2054 if (this.dataset != null) {
2055 state.setTotal(DatasetUtilities.calculatePieDatasetTotal(
2056 plot.getDataset()));
2057 }
2058 state.setLatestAngle(plot.getStartAngle());
2059 return state;
2060
2061 }
2062
2063 /**
…lines 2064–3041 unchanged (978 lines)

Before

program
block_comment "/* ========================================================="...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
; ";"
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 "BasicStroke"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Color"
; ";"
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 "FontMetrics"
; ";"
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 "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 "Arc2D"
; ";"
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 "IOException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "io"
. "."
identifier "ObjectInputStream"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "io"
. "."
identifier "ObjectOutputStream"
; ";"
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 "Iterator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "List"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Map"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "ResourceBundle"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "TreeMap"
; ";"
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 "PaintMap"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "StrokeMap"
; ";"
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 "entity"
. "."
identifier "PieSectionEntity"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "event"
. "."
identifier "PlotChangeEvent"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "PieSectionLabelGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "PieToolTipGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "StandardPieSectionLabelGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "text"
. "."
identifier "G2TextMeasurer"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "text"
. "."
identifier "TextAnchor"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "text"
. "."
identifier "TextBlock"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "text"
. "."
identifier "TextBox"
; ";"
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 "PieURLGenerator"
; ";"
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 "PaintUtilities"
; ";"
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 "RectangleInsets"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "Rotation"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "SerialUtilities"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "ShapeUtilities"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "UnitType"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "DefaultKeyedValues"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "KeyedValues"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "general"
. "."
identifier "DatasetChangeEvent"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "general"
. "."
identifier "DatasetUtilities"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "general"
. "."
identifier "PieDataset"
; ";"
block_comment "/**\r\n * A plot that displays data in the form of a pie chart"...
class_declaration
modifiers
public "public"
class "class"
identifier "PiePlot"
superclass
extends "extends"
type_identifier "Plot"
super_interfaces
implements "implements"
type_list
type_identifier "Cloneable"
, ","
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"
= "="
unary_expression
- "-"
decimal_integer_literal "795612466005590431L"
; ";"
block_comment "/** The default interior gap. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "DEFAULT_INTERIOR_GAP"
= "="
decimal_floating_point_literal "0.08"
; ";"
block_comment "/** The maximum interior gap (currently 40%). */"
field_declaration
modifiers
public "public"
static "static"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "MAX_INTERIOR_GAP"
= "="
decimal_floating_point_literal "0.40"
; ";"
block_comment "/** The default starting angle for the pie chart. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "DEFAULT_START_ANGLE"
= "="
decimal_floating_point_literal "90.0"
; ";"
block_comment "/** The default section label font. */"
field_declaration (+27 nodes collapsed)
block_comment "/** The default section label paint. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
type_identifier "Paint"
variable_declarator
identifier "DEFAULT_LABEL_PAINT"
= "="
field_access
identifier "Color"
. "."
identifier "black"
; ";"
block_comment "/** The default section label background paint. */"
field_declaration (+21 nodes collapsed)
block_comment "/** The default section label outline paint. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
type_identifier "Paint"
variable_declarator
identifier "DEFAULT_LABEL_OUTLINE_PAINT"
= "="
field_access
identifier "Color"
. "."
identifier "black"
; ";"
block_comment "/** The default section label outline stroke. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
type_identifier "Stroke"
variable_declarator
identifier "DEFAULT_LABEL_OUTLINE_STROKE"
= "="
object_creation_expression
new "new"
type_identifier "BasicStroke"
argument_list
( "("
decimal_floating_point_literal "0.5f"
) ")"
; ";"
block_comment "/** The default section label shadow paint. */"
field_declaration (+23 nodes collapsed)
block_comment "/** The default minimum arc angle to draw. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "DEFAULT_MINIMUM_ARC_ANGLE_TO_DRAW"
= "="
decimal_floating_point_literal "0.00001"
; ";"
block_comment "/** The dataset for the pie chart. */"
field_declaration
modifiers
private "private"
type_identifier "PieDataset"
variable_declarator
identifier "dataset"
; ";"
block_comment "/** The pie index (used by the {@link MultiplePiePlot} class"...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "pieIndex"
; ";"
block_comment "/** \r\n * The amount of space left around the outside of "...
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "interiorGap"
; ";"
block_comment "/** Flag determining whether to draw an ellipse or a perfect"...
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "circular"
; ";"
block_comment "/** The starting angle. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "startAngle"
; ";"
block_comment "/** The direction for the pie segments. */"
field_declaration
modifiers
private "private"
type_identifier "Rotation"
variable_declarator
identifier "direction"
; ";"
block_comment "/** The section paint map. */"
field_declaration
modifiers
private "private"
type_identifier "PaintMap"
variable_declarator
identifier "sectionPaintMap"
; ";"
block_comment "/** The base section paint (fallback). */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "baseSectionPaint"
; ";"
block_comment "/** \r\n * A flag that controls whether or not an outline "...
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "sectionOutlinesVisible"
; ";"
block_comment "/** The section outline paint map. */"
field_declaration
modifiers
private "private"
type_identifier "PaintMap"
variable_declarator
identifier "sectionOutlinePaintMap"
; ";"
block_comment "/** The base section outline paint (fallback). */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "baseSectionOutlinePaint"
; ";"
block_comment "/** The section outline stroke map. */"
field_declaration
modifiers
private "private"
type_identifier "StrokeMap"
variable_declarator
identifier "sectionOutlineStrokeMap"
; ";"
block_comment "/** The base section outline stroke (fallback). */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Stroke"
variable_declarator
identifier "baseSectionOutlineStroke"
; ";"
block_comment "/** The shadow paint. */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "shadowPaint"
= "="
field_access
identifier "Color"
. "."
identifier "gray"
; ";"
block_comment "/** The x-offset for the shadow effect. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "shadowXOffset"
= "="
decimal_floating_point_literal "4.0f"
; ";"
block_comment "/** The y-offset for the shadow effect. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "shadowYOffset"
= "="
decimal_floating_point_literal "4.0f"
; ";"
block_comment "/** The percentage amount to explode each pie section. */"
field_declaration
modifiers
private "private"
type_identifier "Map"
variable_declarator
identifier "explodePercentages"
; ";"
block_comment "/** The section label generator. */"
field_declaration
modifiers
private "private"
type_identifier "PieSectionLabelGenerator"
variable_declarator
identifier "labelGenerator"
; ";"
block_comment "/** The font used to display the section labels. */"
field_declaration
modifiers
private "private"
type_identifier "Font"
variable_declarator
identifier "labelFont"
; ";"
block_comment "/** The color used to draw the section labels. */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "labelPaint"
; ";"
block_comment "/** \r\n * The color used to draw the background of the se"...
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "labelBackgroundPaint"
; ";"
block_comment "/** \r\n * The paint used to draw the outline of the secti"...
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "labelOutlinePaint"
; ";"
block_comment "/** \r\n * The stroke used to draw the outline of the sect"...
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Stroke"
variable_declarator
identifier "labelOutlineStroke"
; ";"
block_comment "/** \r\n * The paint used to draw the shadow for the secti"...
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "labelShadowPaint"
; ";"
block_comment "/**\r\n * A flag that controls whether simple or extended "...
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "simpleLabels"
= "="
true "true"
; ";"
block_comment "/**\r\n * The padding between the labels and the label out"...
field_declaration
modifiers
private "private"
type_identifier "RectangleInsets"
variable_declarator
identifier "labelPadding"
; ";"
block_comment "/**\r\n * The simple label offset.\r\n * \r\n * @since"...
field_declaration
modifiers
private "private"
type_identifier "RectangleInsets"
variable_declarator
identifier "simpleLabelOffset"
; ";"
block_comment "/** The maximum label width as a percentage of the plot widt"...
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "maximumLabelWidth"
= "="
decimal_floating_point_literal "0.14"
; ";"
block_comment "/** \r\n * The gap between the labels and the link corner,"...
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "labelGap"
= "="
decimal_floating_point_literal "0.025"
; ";"
block_comment "/** A flag that controls whether or not the label links are "...
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "labelLinksVisible"
; ";"
block_comment "/** The link margin. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "labelLinkMargin"
= "="
decimal_floating_point_literal "0.025"
; ";"
block_comment "/** The paint used for the label linking lines. */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "labelLinkPaint"
= "="
field_access
identifier "Color"
. "."
identifier "black"
; ";"
block_comment "/** The stroke used for the label linking lines. */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Stroke"
variable_declarator
identifier "labelLinkStroke"
= "="
object_creation_expression
new "new"
type_identifier "BasicStroke"
argument_list
( "("
decimal_floating_point_literal "0.5f"
) ")"
; ";"
block_comment "/** \r\n * The pie section label distributor.\r\n * \r\n "...
field_declaration
modifiers
private "private"
type_identifier "AbstractPieLabelDistributor"
variable_declarator
identifier "labelDistributor"
; ";"
block_comment "/** The tooltip generator. */"
field_declaration
modifiers
private "private"
type_identifier "PieToolTipGenerator"
variable_declarator
identifier "toolTipGenerator"
; ";"
block_comment "/** The URL generator. */"
field_declaration
modifiers
private "private"
type_identifier "PieURLGenerator"
variable_declarator
identifier "urlGenerator"
; ";"
block_comment "/** The legend label generator. */"
field_declaration
modifiers
private "private"
type_identifier "PieSectionLabelGenerator"
variable_declarator
identifier "legendLabelGenerator"
; ";"
block_comment "/** A tool tip generator for the legend. */"
field_declaration
modifiers
private "private"
type_identifier "PieSectionLabelGenerator"
variable_declarator
identifier "legendLabelToolTipGenerator"
; ";"
block_comment "/** \r\n * A URL generator for the legend items (optional)"...
field_declaration
modifiers
private "private"
type_identifier "PieURLGenerator"
variable_declarator
identifier "legendLabelURLGenerator"
; ";"
block_comment "/** \r\n * A flag that controls whether <code>null</code> "...
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "ignoreNullValues"
; ";"
block_comment "/**\r\n * A flag that controls whether zero values are ign"...
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "ignoreZeroValues"
; ";"
block_comment "/** The legend item shape. */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Shape"
variable_declarator
identifier "legendItemShape"
; ";"
block_comment "/**\r\n * The smallest arc angle that will get drawn (this"...
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "minimumArcAngleToDraw"
; ";"
block_comment "/** The resourceBundle for the localization. */"
field_declaration
modifiers
protected "protected"
static "static"
type_identifier "ResourceBundle"
variable_declarator
identifier "localizationResources"
= "="
method_invocation
identifier "ResourceBundle"
. "."
identifier "getBundle"
argument_list
( "("
string_literal
" "\""
string_fragment "org.jfree.chart.plot.LocalizationBundle"
" "\""
) ")"
; ";"
block_comment "/** \r\n * This debug flag controls whether or not an outl"...
field_declaration
modifiers
static "static"
final "final"
boolean_type "boolean"
variable_declarator
identifier "DEBUG_DRAW_INTERIOR"
= "="
false "false"
; ";"
block_comment "/** \r\n * This debug flag controls whether or not an outl"...
field_declaration
modifiers
static "static"
final "final"
boolean_type "boolean"
variable_declarator
identifier "DEBUG_DRAW_LINK_AREA"
= "="
false "false"
; ";"
block_comment "/**\r\n * This debug flag controls whether or not an outli"...
field_declaration
modifiers
static "static"
final "final"
boolean_type "boolean"
variable_declarator
identifier "DEBUG_DRAW_PIE_AREA"
= "="
false "false"
; ";"
block_comment "/**\r\n * Creates a new plot. The dataset is initially se"...
constructor_declaration
modifiers
public "public"
identifier "PiePlot"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
this "this"
argument_list
( "("
null_literal "null"
) ")"
; ";"
} "}"
block_comment "/**\r\n * Creates a plot that will draw a pie chart for th"...
constructor_declaration (+430 nodes collapsed)
block_comment "/**\r\n * Returns the dataset.\r\n *\r\n * @return The"...
method_declaration
modifiers
public "public"
type_identifier "PieDataset"
identifier "getDataset"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "dataset"
; ";"
} "}"
block_comment "/**\r\n * Sets the dataset and sends a {@link DatasetChang"...
method_declaration (+118 nodes collapsed)
block_comment "/**\r\n * Returns the pie index (this is used by the {@lin"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getPieIndex"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "pieIndex"
; ";"
} "}"
block_comment "/**\r\n * Sets the pie index (this is used by the {@link M"...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Returns the start angle for the first pie sectio"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getStartAngle"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "startAngle"
; ";"
} "}"
block_comment "/**\r\n * Sets the starting angle and sends a {@link PlotC"...
method_declaration (+38 nodes collapsed)
block_comment "/**\r\n * Returns the direction in which the pie sections "...
method_declaration
modifiers
public "public"
type_identifier "Rotation"
identifier "getDirection"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "direction"
; ";"
} "}"
block_comment "/**\r\n * Sets the direction in which the pie sections are"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the interior gap, measured as a percenta"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getInteriorGap"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "interiorGap"
; ";"
} "}"
block_comment "/**\r\n * Sets the interior gap and sends a {@link PlotCha"...
method_declaration (+99 nodes collapsed)
block_comment "/**\r\n * Returns a flag indicating whether the pie chart "...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "isCircular"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "circular"
; ";"
} "}"
block_comment "/**\r\n * A flag indicating whether the pie chart is circu"...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Sets the circular attribute and, if requested, s"...
method_declaration (+50 nodes collapsed)
block_comment "/**\r\n * Returns the flag that controls whether <code>nul"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "getIgnoreNullValues"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "ignoreNullValues"
; ";"
} "}"
block_comment "/**\r\n * Sets a flag that controls whether <code>null</co"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the flag that controls whether zero valu"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "getIgnoreZeroValues"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "ignoreZeroValues"
; ";"
} "}"
block_comment "/**\r\n * Sets a flag that controls whether zero values ar"...
method_declaration (+37 nodes collapsed)
line_comment "//// SECTION PAINT /////////////////////////////////////////"...
block_comment "/**\r\n * Returns the paint for the specified section. Th"...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns the paint for the specified section. Th"...
method_declaration (+148 nodes collapsed)
block_comment "/**\r\n * Returns a key for the specified section. If the"...
method_declaration (+108 nodes collapsed)
block_comment "/**\r\n * Returns the paint associated with the specified "...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Sets the paint associated with the specified key"...
method_declaration (+48 nodes collapsed)
block_comment "/**\r\n * Returns the base section paint. This is used wh"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getBaseSectionPaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "baseSectionPaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the base section paint and sends a {@link P"...
method_declaration (+62 nodes collapsed)
line_comment "//// SECTION OUTLINE PAINT /////////////////////////////////"...
block_comment "/**\r\n * Returns the flag that controls whether or not th"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "getSectionOutlinesVisible"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "sectionOutlinesVisible"
; ";"
} "}"
block_comment "/**\r\n * Sets the flag that controls whether or not the o"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the outline paint for the specified sect"...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns the outline paint for the specified sect"...
method_declaration (+148 nodes collapsed)
block_comment "/**\r\n * Returns the outline paint associated with the sp"...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Sets the outline paint associated with the speci"...
method_declaration (+48 nodes collapsed)
block_comment "/**\r\n * Returns the base section paint. This is used wh"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getBaseSectionOutlinePaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "baseSectionOutlinePaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the base section paint.\r\n * \r\n * @p"...
method_declaration (+62 nodes collapsed)
line_comment "//// SECTION OUTLINE STROKE ////////////////////////////////"...
block_comment "/**\r\n * Returns the outline stroke for the specified sec"...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns the outline stroke for the specified sec"...
method_declaration (+148 nodes collapsed)
block_comment "/**\r\n * Returns the outline stroke associated with the s"...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Sets the outline stroke associated with the spec"...
method_declaration (+48 nodes collapsed)
block_comment "/**\r\n * Returns the base section stroke. This is used w"...
method_declaration
modifiers
public "public"
type_identifier "Stroke"
identifier "getBaseSectionOutlineStroke"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "baseSectionOutlineStroke"
; ";"
} "}"
block_comment "/**\r\n * Sets the base section stroke.\r\n * \r\n * @"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the shadow paint.\r\n * \r\n * @retu"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getShadowPaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "shadowPaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the shadow paint and sends a {@link PlotCha"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the x-offset for the shadow effect.\r\n "...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getShadowXOffset"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "shadowXOffset"
; ";"
} "}"
block_comment "/**\r\n * Sets the x-offset for the shadow effect and send"...
method_declaration (+38 nodes collapsed)
block_comment "/**\r\n * Returns the y-offset for the shadow effect.\r\n "...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getShadowYOffset"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "shadowYOffset"
; ";"
} "}"
block_comment "/**\r\n * Sets the y-offset for the shadow effect and send"...
method_declaration (+38 nodes collapsed)
block_comment "/**\r\n * Returns the amount that the section with the spe"...
method_declaration (+87 nodes collapsed)
block_comment "/**\r\n * Sets the amount that a pie section should be exp"...
method_declaration (+108 nodes collapsed)
block_comment "/**\r\n * Returns the maximum explode percent.\r\n * \r\n "...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getMaximumExplodePercent"
formal_parameters
( "("
) ")"
block
{ "{"
local_variable_declaration
floating_point_type
double "double"
variable_declarator
identifier "result"
= "="
decimal_floating_point_literal "0.0"
; ";"
local_variable_declaration (+22 nodes collapsed)
while_statement (+86 nodes collapsed)
return_statement
return "return"
identifier "result"
; ";"
} "}"
block_comment "/**\r\n * Returns the section label generator. \r\n * \r\n"...
method_declaration
modifiers
public "public"
type_identifier "PieSectionLabelGenerator"
identifier "getLabelGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the section label generator and sends a {@l"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the gap between the edge of the pie and "...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getLabelGap"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelGap"
; ";"
} "}"
block_comment "/**\r\n * Sets the gap between the edge of the pie and the"...
method_declaration (+38 nodes collapsed)
block_comment "/**\r\n * Returns the maximum label width as a percentage "...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getMaximumLabelWidth"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "maximumLabelWidth"
; ";"
} "}"
block_comment "/**\r\n * Sets the maximum label width as a percentage of "...
method_declaration (+38 nodes collapsed)
block_comment "/**\r\n * Returns the flag that controls whether or not la"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "getLabelLinksVisible"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelLinksVisible"
; ";"
} "}"
block_comment "/**\r\n * Sets the flag that controls whether or not label"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the margin (expressed as a percentage of"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getLabelLinkMargin"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelLinkMargin"
; ";"
} "}"
block_comment "/**\r\n * Sets the link margin and sends a {@link PlotChan"...
method_declaration (+38 nodes collapsed)
block_comment "/**\r\n * Returns the paint used for the lines that connec"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getLabelLinkPaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelLinkPaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the paint used for the lines that connect p"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the stroke used for the label linking li"...
method_declaration
modifiers
public "public"
type_identifier "Stroke"
identifier "getLabelLinkStroke"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelLinkStroke"
; ";"
} "}"
block_comment "/**\r\n * Sets the link stroke and sends a {@link PlotChan"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the section label font.\r\n *\r\n * "...
method_declaration
modifiers
public "public"
type_identifier "Font"
identifier "getLabelFont"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelFont"
; ";"
} "}"
block_comment "/**\r\n * Sets the section label font and sends a {@link P"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the section label paint.\r\n *\r\n *"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getLabelPaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelPaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the section label paint and sends a {@link "...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the section label background paint.\r\n "...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getLabelBackgroundPaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelBackgroundPaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the section label background paint and send"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the section label outline paint.\r\n *"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getLabelOutlinePaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelOutlinePaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the section label outline paint and sends a"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the section label outline stroke.\r\n "...
method_declaration
modifiers
public "public"
type_identifier "Stroke"
identifier "getLabelOutlineStroke"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelOutlineStroke"
; ";"
} "}"
block_comment "/**\r\n * Sets the section label outline stroke and sends "...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the section label shadow paint.\r\n *\r"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getLabelShadowPaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelShadowPaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the section label shadow paint and sends a "...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the label padding.\r\n * \r\n * @ret"...
method_declaration
modifiers
public "public"
type_identifier "RectangleInsets"
identifier "getLabelPadding"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelPadding"
; ";"
} "}"
block_comment "/**\r\n * Sets the padding between each label and its outl"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the flag that controls whether simple or"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "getSimpleLabels"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "simpleLabels"
; ";"
} "}"
block_comment "/**\r\n * Sets the flag that controls whether simple or ex"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the offset used for the simple labels, i"...
method_declaration
modifiers
public "public"
type_identifier "RectangleInsets"
identifier "getSimpleLabelOffset"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "simpleLabelOffset"
; ";"
} "}"
block_comment "/**\r\n * Sets the offset for the simple labels and sends "...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the object responsible for the vertical "...
method_declaration
modifiers
public "public"
type_identifier "AbstractPieLabelDistributor"
identifier "getLabelDistributor"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelDistributor"
; ";"
} "}"
block_comment "/**\r\n * Sets the label distributor and sends a {@link Pl"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the tool tip generator, an object that i"...
method_declaration
modifiers
public "public"
type_identifier "PieToolTipGenerator"
identifier "getToolTipGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "toolTipGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the tool tip generator and sends a {@link P"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the URL generator.\r\n *\r\n * @retu"...
method_declaration
modifiers
public "public"
type_identifier "PieURLGenerator"
identifier "getURLGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "urlGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the URL generator and sends a {@link PlotCh"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the minimum arc angle that will be drawn"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getMinimumArcAngleToDraw"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "minimumArcAngleToDraw"
; ";"
} "}"
block_comment "/**\r\n * Sets the minimum arc angle that will be drawn. "...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Returns the shape used for legend items.\r\n *"...
method_declaration
modifiers
public "public"
type_identifier "Shape"
identifier "getLegendItemShape"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "legendItemShape"
; ";"
} "}"
block_comment "/**\r\n * Sets the shape used for legend items and sends a"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the legend label generator.\r\n * \r\n "...
method_declaration
modifiers
public "public"
type_identifier "PieSectionLabelGenerator"
identifier "getLegendLabelGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "legendLabelGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the legend label generator and sends a {@li"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the legend label tool tip generator.\r\n "...
method_declaration
modifiers
public "public"
type_identifier "PieSectionLabelGenerator"
identifier "getLegendLabelToolTipGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "legendLabelToolTipGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the legend label tool tip generator and sen"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the legend label URL generator.\r\n * "...
method_declaration
modifiers
public "public"
type_identifier "PieURLGenerator"
identifier "getLegendLabelURLGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "legendLabelURLGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the legend label URL generator and sends a "...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Initialises the drawing procedure. This method "...
method_declaration
modifiers
public "public"
type_identifier "PiePlotState"
identifier "initialise"
formal_parameters (+22 nodes collapsed)
block
{ "{"
local_variable_declaration
type_identifier "PiePlotState"
variable_declarator
identifier "state"
= "="
object_creation_expression
new "new"
type_identifier "PiePlotState"
argument_list
( "("
identifier "info"
) ")"
; ";"
expression_statement
method_invocation
identifier "state"
. "."
identifier "setPassesRequired"
argument_list
( "("
decimal_integer_literal "2"
) ")"
; ";"
expression_statement (+23 nodes collapsed)
expression_statement
method_invocation
identifier "state"
. "."
identifier "setLatestAngle"
argument_list
( "("
method_invocation
identifier "plot"
. "."
identifier "getStartAngle"
argument_list
( "("
) ")"
) ")"
; ";"
return_statement
return "return"
identifier "state"
; ";"
} "}"
block_comment "/**\r\n * Draws the plot on a Java 2D graphics device (suc"...
method_declaration (+243 nodes collapsed)
block_comment "/**\r\n * Draws the pie.\r\n *\r\n * @param g2 the gr"...
method_declaration (+1257 nodes collapsed)
block_comment "/**\r\n * Draws a single data item.\r\n *\r\n * @param"...
method_declaration (+758 nodes collapsed)
block_comment "/**\r\n * Draws the pie section labels in the simple form."...
method_declaration (+801 nodes collapsed)
block_comment "/**\r\n * Draws the labels for the pie sections.\r\n * \r"...
method_declaration (+542 nodes collapsed)
block_comment "/**\r\n * Draws the left labels.\r\n * \r\n * @param l"...
method_declaration (+497 nodes collapsed)
block_comment "/**\r\n * Draws the right labels.\r\n * \r\n * @param "...
method_declaration (+496 nodes collapsed)
block_comment "/**\r\n * Returns a collection of legend items for the pie"...
method_declaration (+502 nodes collapsed)
block_comment "/**\r\n * Returns a short string describing the type of pl"...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns a rectangle that can be used to create a"...
method_declaration (+245 nodes collapsed)
block_comment "/**\r\n * Draws a section label on the left side of the pi"...
method_declaration (+418 nodes collapsed)
block_comment "/**\r\n * Draws a section label on the right side of the p"...
method_declaration (+418 nodes collapsed)
block_comment "/**\r\n * Tests this plot for equality with an arbitrary o"...
method_declaration (+1217 nodes collapsed)
block_comment "/**\r\n * Returns a clone of the plot.\r\n *\r\n * @re"...
method_declaration (+234 nodes collapsed)
block_comment "/**\r\n * Provides serialization support.\r\n *\r\n * "...
method_declaration (+206 nodes collapsed)
block_comment "/**\r\n * Provides serialization support.\r\n *\r\n * "...
method_declaration (+220 nodes collapsed)
} "}"

After

program
block_comment "/* ========================================================="...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "plot"
; ";"
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 "BasicStroke"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Color"
; ";"
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 "FontMetrics"
; ";"
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 "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 "Arc2D"
; ";"
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 "IOException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "io"
. "."
identifier "ObjectInputStream"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "io"
. "."
identifier "ObjectOutputStream"
; ";"
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 "Iterator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "List"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Map"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "ResourceBundle"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "TreeMap"
; ";"
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 "PaintMap"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "StrokeMap"
; ";"
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 "entity"
. "."
identifier "PieSectionEntity"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "event"
. "."
identifier "PlotChangeEvent"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "PieSectionLabelGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "PieToolTipGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "labels"
. "."
identifier "StandardPieSectionLabelGenerator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "text"
. "."
identifier "G2TextMeasurer"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "text"
. "."
identifier "TextAnchor"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "text"
. "."
identifier "TextBlock"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "text"
. "."
identifier "TextBox"
; ";"
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 "PieURLGenerator"
; ";"
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 "PaintUtilities"
; ";"
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 "RectangleInsets"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "Rotation"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "SerialUtilities"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "ShapeUtilities"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "util"
. "."
identifier "UnitType"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "DefaultKeyedValues"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "KeyedValues"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "general"
. "."
identifier "DatasetChangeEvent"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "general"
. "."
identifier "DatasetUtilities"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "data"
. "."
identifier "general"
. "."
identifier "PieDataset"
; ";"
block_comment "/**\r\n * A plot that displays data in the form of a pie chart"...
class_declaration
modifiers
public "public"
class "class"
identifier "PiePlot"
superclass
extends "extends"
type_identifier "Plot"
super_interfaces
implements "implements"
type_list
type_identifier "Cloneable"
, ","
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"
= "="
unary_expression
- "-"
decimal_integer_literal "795612466005590431L"
; ";"
block_comment "/** The default interior gap. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "DEFAULT_INTERIOR_GAP"
= "="
decimal_floating_point_literal "0.08"
; ";"
block_comment "/** The maximum interior gap (currently 40%). */"
field_declaration
modifiers
public "public"
static "static"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "MAX_INTERIOR_GAP"
= "="
decimal_floating_point_literal "0.40"
; ";"
block_comment "/** The default starting angle for the pie chart. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "DEFAULT_START_ANGLE"
= "="
decimal_floating_point_literal "90.0"
; ";"
block_comment "/** The default section label font. */"
field_declaration (+27 nodes collapsed)
block_comment "/** The default section label paint. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
type_identifier "Paint"
variable_declarator
identifier "DEFAULT_LABEL_PAINT"
= "="
field_access
identifier "Color"
. "."
identifier "black"
; ";"
block_comment "/** The default section label background paint. */"
field_declaration (+21 nodes collapsed)
block_comment "/** The default section label outline paint. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
type_identifier "Paint"
variable_declarator
identifier "DEFAULT_LABEL_OUTLINE_PAINT"
= "="
field_access
identifier "Color"
. "."
identifier "black"
; ";"
block_comment "/** The default section label outline stroke. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
type_identifier "Stroke"
variable_declarator
identifier "DEFAULT_LABEL_OUTLINE_STROKE"
= "="
object_creation_expression
new "new"
type_identifier "BasicStroke"
argument_list
( "("
decimal_floating_point_literal "0.5f"
) ")"
; ";"
block_comment "/** The default section label shadow paint. */"
field_declaration (+23 nodes collapsed)
block_comment "/** The default minimum arc angle to draw. */"
field_declaration
modifiers
public "public"
static "static"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "DEFAULT_MINIMUM_ARC_ANGLE_TO_DRAW"
= "="
decimal_floating_point_literal "0.00001"
; ";"
block_comment "/** The dataset for the pie chart. */"
field_declaration
modifiers
private "private"
type_identifier "PieDataset"
variable_declarator
identifier "dataset"
; ";"
block_comment "/** The pie index (used by the {@link MultiplePiePlot} class"...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "pieIndex"
; ";"
block_comment "/** \r\n * The amount of space left around the outside of "...
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "interiorGap"
; ";"
block_comment "/** Flag determining whether to draw an ellipse or a perfect"...
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "circular"
; ";"
block_comment "/** The starting angle. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "startAngle"
; ";"
block_comment "/** The direction for the pie segments. */"
field_declaration
modifiers
private "private"
type_identifier "Rotation"
variable_declarator
identifier "direction"
; ";"
block_comment "/** The section paint map. */"
field_declaration
modifiers
private "private"
type_identifier "PaintMap"
variable_declarator
identifier "sectionPaintMap"
; ";"
block_comment "/** The base section paint (fallback). */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "baseSectionPaint"
; ";"
block_comment "/** \r\n * A flag that controls whether or not an outline "...
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "sectionOutlinesVisible"
; ";"
block_comment "/** The section outline paint map. */"
field_declaration
modifiers
private "private"
type_identifier "PaintMap"
variable_declarator
identifier "sectionOutlinePaintMap"
; ";"
block_comment "/** The base section outline paint (fallback). */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "baseSectionOutlinePaint"
; ";"
block_comment "/** The section outline stroke map. */"
field_declaration
modifiers
private "private"
type_identifier "StrokeMap"
variable_declarator
identifier "sectionOutlineStrokeMap"
; ";"
block_comment "/** The base section outline stroke (fallback). */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Stroke"
variable_declarator
identifier "baseSectionOutlineStroke"
; ";"
block_comment "/** The shadow paint. */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "shadowPaint"
= "="
field_access
identifier "Color"
. "."
identifier "gray"
; ";"
block_comment "/** The x-offset for the shadow effect. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "shadowXOffset"
= "="
decimal_floating_point_literal "4.0f"
; ";"
block_comment "/** The y-offset for the shadow effect. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "shadowYOffset"
= "="
decimal_floating_point_literal "4.0f"
; ";"
block_comment "/** The percentage amount to explode each pie section. */"
field_declaration
modifiers
private "private"
type_identifier "Map"
variable_declarator
identifier "explodePercentages"
; ";"
block_comment "/** The section label generator. */"
field_declaration
modifiers
private "private"
type_identifier "PieSectionLabelGenerator"
variable_declarator
identifier "labelGenerator"
; ";"
block_comment "/** The font used to display the section labels. */"
field_declaration
modifiers
private "private"
type_identifier "Font"
variable_declarator
identifier "labelFont"
; ";"
block_comment "/** The color used to draw the section labels. */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "labelPaint"
; ";"
block_comment "/** \r\n * The color used to draw the background of the se"...
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "labelBackgroundPaint"
; ";"
block_comment "/** \r\n * The paint used to draw the outline of the secti"...
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "labelOutlinePaint"
; ";"
block_comment "/** \r\n * The stroke used to draw the outline of the sect"...
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Stroke"
variable_declarator
identifier "labelOutlineStroke"
; ";"
block_comment "/** \r\n * The paint used to draw the shadow for the secti"...
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "labelShadowPaint"
; ";"
block_comment "/**\r\n * A flag that controls whether simple or extended "...
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "simpleLabels"
= "="
true "true"
; ";"
block_comment "/**\r\n * The padding between the labels and the label out"...
field_declaration
modifiers
private "private"
type_identifier "RectangleInsets"
variable_declarator
identifier "labelPadding"
; ";"
block_comment "/**\r\n * The simple label offset.\r\n * \r\n * @since"...
field_declaration
modifiers
private "private"
type_identifier "RectangleInsets"
variable_declarator
identifier "simpleLabelOffset"
; ";"
block_comment "/** The maximum label width as a percentage of the plot widt"...
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "maximumLabelWidth"
= "="
decimal_floating_point_literal "0.14"
; ";"
block_comment "/** \r\n * The gap between the labels and the link corner,"...
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "labelGap"
= "="
decimal_floating_point_literal "0.025"
; ";"
block_comment "/** A flag that controls whether or not the label links are "...
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "labelLinksVisible"
; ";"
block_comment "/** The link margin. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "labelLinkMargin"
= "="
decimal_floating_point_literal "0.025"
; ";"
block_comment "/** The paint used for the label linking lines. */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "labelLinkPaint"
= "="
field_access
identifier "Color"
. "."
identifier "black"
; ";"
block_comment "/** The stroke used for the label linking lines. */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Stroke"
variable_declarator
identifier "labelLinkStroke"
= "="
object_creation_expression
new "new"
type_identifier "BasicStroke"
argument_list
( "("
decimal_floating_point_literal "0.5f"
) ")"
; ";"
block_comment "/** \r\n * The pie section label distributor.\r\n * \r\n "...
field_declaration
modifiers
private "private"
type_identifier "AbstractPieLabelDistributor"
variable_declarator
identifier "labelDistributor"
; ";"
block_comment "/** The tooltip generator. */"
field_declaration
modifiers
private "private"
type_identifier "PieToolTipGenerator"
variable_declarator
identifier "toolTipGenerator"
; ";"
block_comment "/** The URL generator. */"
field_declaration
modifiers
private "private"
type_identifier "PieURLGenerator"
variable_declarator
identifier "urlGenerator"
; ";"
block_comment "/** The legend label generator. */"
field_declaration
modifiers
private "private"
type_identifier "PieSectionLabelGenerator"
variable_declarator
identifier "legendLabelGenerator"
; ";"
block_comment "/** A tool tip generator for the legend. */"
field_declaration
modifiers
private "private"
type_identifier "PieSectionLabelGenerator"
variable_declarator
identifier "legendLabelToolTipGenerator"
; ";"
block_comment "/** \r\n * A URL generator for the legend items (optional)"...
field_declaration
modifiers
private "private"
type_identifier "PieURLGenerator"
variable_declarator
identifier "legendLabelURLGenerator"
; ";"
block_comment "/** \r\n * A flag that controls whether <code>null</code> "...
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "ignoreNullValues"
; ";"
block_comment "/**\r\n * A flag that controls whether zero values are ign"...
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "ignoreZeroValues"
; ";"
block_comment "/** The legend item shape. */"
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Shape"
variable_declarator
identifier "legendItemShape"
; ";"
block_comment "/**\r\n * The smallest arc angle that will get drawn (this"...
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "minimumArcAngleToDraw"
; ";"
block_comment "/** The resourceBundle for the localization. */"
field_declaration
modifiers
protected "protected"
static "static"
type_identifier "ResourceBundle"
variable_declarator
identifier "localizationResources"
= "="
method_invocation
identifier "ResourceBundle"
. "."
identifier "getBundle"
argument_list
( "("
string_literal
" "\""
string_fragment "org.jfree.chart.plot.LocalizationBundle"
" "\""
) ")"
; ";"
block_comment "/** \r\n * This debug flag controls whether or not an outl"...
field_declaration
modifiers
static "static"
final "final"
boolean_type "boolean"
variable_declarator
identifier "DEBUG_DRAW_INTERIOR"
= "="
false "false"
; ";"
block_comment "/** \r\n * This debug flag controls whether or not an outl"...
field_declaration
modifiers
static "static"
final "final"
boolean_type "boolean"
variable_declarator
identifier "DEBUG_DRAW_LINK_AREA"
= "="
false "false"
; ";"
block_comment "/**\r\n * This debug flag controls whether or not an outli"...
field_declaration
modifiers
static "static"
final "final"
boolean_type "boolean"
variable_declarator
identifier "DEBUG_DRAW_PIE_AREA"
= "="
false "false"
; ";"
block_comment "/**\r\n * Creates a new plot. The dataset is initially se"...
constructor_declaration
modifiers
public "public"
identifier "PiePlot"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
this "this"
argument_list
( "("
null_literal "null"
) ")"
; ";"
} "}"
block_comment "/**\r\n * Creates a plot that will draw a pie chart for th"...
constructor_declaration (+430 nodes collapsed)
block_comment "/**\r\n * Returns the dataset.\r\n *\r\n * @return The"...
method_declaration
modifiers
public "public"
type_identifier "PieDataset"
identifier "getDataset"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "dataset"
; ";"
} "}"
block_comment "/**\r\n * Sets the dataset and sends a {@link DatasetChang"...
method_declaration (+118 nodes collapsed)
block_comment "/**\r\n * Returns the pie index (this is used by the {@lin"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getPieIndex"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "pieIndex"
; ";"
} "}"
block_comment "/**\r\n * Sets the pie index (this is used by the {@link M"...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Returns the start angle for the first pie sectio"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getStartAngle"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "startAngle"
; ";"
} "}"
block_comment "/**\r\n * Sets the starting angle and sends a {@link PlotC"...
method_declaration (+38 nodes collapsed)
block_comment "/**\r\n * Returns the direction in which the pie sections "...
method_declaration
modifiers
public "public"
type_identifier "Rotation"
identifier "getDirection"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "direction"
; ";"
} "}"
block_comment "/**\r\n * Sets the direction in which the pie sections are"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the interior gap, measured as a percenta"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getInteriorGap"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "interiorGap"
; ";"
} "}"
block_comment "/**\r\n * Sets the interior gap and sends a {@link PlotCha"...
method_declaration (+99 nodes collapsed)
block_comment "/**\r\n * Returns a flag indicating whether the pie chart "...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "isCircular"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "circular"
; ";"
} "}"
block_comment "/**\r\n * A flag indicating whether the pie chart is circu"...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Sets the circular attribute and, if requested, s"...
method_declaration (+50 nodes collapsed)
block_comment "/**\r\n * Returns the flag that controls whether <code>nul"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "getIgnoreNullValues"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "ignoreNullValues"
; ";"
} "}"
block_comment "/**\r\n * Sets a flag that controls whether <code>null</co"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the flag that controls whether zero valu"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "getIgnoreZeroValues"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "ignoreZeroValues"
; ";"
} "}"
block_comment "/**\r\n * Sets a flag that controls whether zero values ar"...
method_declaration (+37 nodes collapsed)
line_comment "//// SECTION PAINT /////////////////////////////////////////"...
block_comment "/**\r\n * Returns the paint for the specified section. Th"...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns the paint for the specified section. Th"...
method_declaration (+148 nodes collapsed)
block_comment "/**\r\n * Returns a key for the specified section. If the"...
method_declaration (+108 nodes collapsed)
block_comment "/**\r\n * Returns the paint associated with the specified "...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Sets the paint associated with the specified key"...
method_declaration (+48 nodes collapsed)
block_comment "/**\r\n * Returns the base section paint. This is used wh"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getBaseSectionPaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "baseSectionPaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the base section paint and sends a {@link P"...
method_declaration (+62 nodes collapsed)
line_comment "//// SECTION OUTLINE PAINT /////////////////////////////////"...
block_comment "/**\r\n * Returns the flag that controls whether or not th"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "getSectionOutlinesVisible"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "sectionOutlinesVisible"
; ";"
} "}"
block_comment "/**\r\n * Sets the flag that controls whether or not the o"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the outline paint for the specified sect"...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns the outline paint for the specified sect"...
method_declaration (+148 nodes collapsed)
block_comment "/**\r\n * Returns the outline paint associated with the sp"...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Sets the outline paint associated with the speci"...
method_declaration (+48 nodes collapsed)
block_comment "/**\r\n * Returns the base section paint. This is used wh"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getBaseSectionOutlinePaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "baseSectionOutlinePaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the base section paint.\r\n * \r\n * @p"...
method_declaration (+62 nodes collapsed)
line_comment "//// SECTION OUTLINE STROKE ////////////////////////////////"...
block_comment "/**\r\n * Returns the outline stroke for the specified sec"...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns the outline stroke for the specified sec"...
method_declaration (+148 nodes collapsed)
block_comment "/**\r\n * Returns the outline stroke associated with the s"...
method_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Sets the outline stroke associated with the spec"...
method_declaration (+48 nodes collapsed)
block_comment "/**\r\n * Returns the base section stroke. This is used w"...
method_declaration
modifiers
public "public"
type_identifier "Stroke"
identifier "getBaseSectionOutlineStroke"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "baseSectionOutlineStroke"
; ";"
} "}"
block_comment "/**\r\n * Sets the base section stroke.\r\n * \r\n * @"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the shadow paint.\r\n * \r\n * @retu"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getShadowPaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "shadowPaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the shadow paint and sends a {@link PlotCha"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the x-offset for the shadow effect.\r\n "...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getShadowXOffset"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "shadowXOffset"
; ";"
} "}"
block_comment "/**\r\n * Sets the x-offset for the shadow effect and send"...
method_declaration (+38 nodes collapsed)
block_comment "/**\r\n * Returns the y-offset for the shadow effect.\r\n "...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getShadowYOffset"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "shadowYOffset"
; ";"
} "}"
block_comment "/**\r\n * Sets the y-offset for the shadow effect and send"...
method_declaration (+38 nodes collapsed)
block_comment "/**\r\n * Returns the amount that the section with the spe"...
method_declaration (+87 nodes collapsed)
block_comment "/**\r\n * Sets the amount that a pie section should be exp"...
method_declaration (+108 nodes collapsed)
block_comment "/**\r\n * Returns the maximum explode percent.\r\n * \r\n "...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getMaximumExplodePercent"
formal_parameters
( "("
) ")"
block
{ "{"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
this "this"
. "."
identifier "dataset"
== "=="
null_literal "null"
) ")"
block
{ "{"
return_statement
return "return"
decimal_floating_point_literal "0.0"
; ";"
} "}"
local_variable_declaration
floating_point_type
double "double"
variable_declarator
identifier "result"
= "="
decimal_floating_point_literal "0.0"
; ";"
local_variable_declaration (+22 nodes collapsed)
while_statement (+86 nodes collapsed)
return_statement
return "return"
identifier "result"
; ";"
} "}"
block_comment "/**\r\n * Returns the section label generator. \r\n * \r\n"...
method_declaration
modifiers
public "public"
type_identifier "PieSectionLabelGenerator"
identifier "getLabelGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the section label generator and sends a {@l"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the gap between the edge of the pie and "...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getLabelGap"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelGap"
; ";"
} "}"
block_comment "/**\r\n * Sets the gap between the edge of the pie and the"...
method_declaration (+38 nodes collapsed)
block_comment "/**\r\n * Returns the maximum label width as a percentage "...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getMaximumLabelWidth"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "maximumLabelWidth"
; ";"
} "}"
block_comment "/**\r\n * Sets the maximum label width as a percentage of "...
method_declaration (+38 nodes collapsed)
block_comment "/**\r\n * Returns the flag that controls whether or not la"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "getLabelLinksVisible"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelLinksVisible"
; ";"
} "}"
block_comment "/**\r\n * Sets the flag that controls whether or not label"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the margin (expressed as a percentage of"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getLabelLinkMargin"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelLinkMargin"
; ";"
} "}"
block_comment "/**\r\n * Sets the link margin and sends a {@link PlotChan"...
method_declaration (+38 nodes collapsed)
block_comment "/**\r\n * Returns the paint used for the lines that connec"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getLabelLinkPaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelLinkPaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the paint used for the lines that connect p"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the stroke used for the label linking li"...
method_declaration
modifiers
public "public"
type_identifier "Stroke"
identifier "getLabelLinkStroke"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelLinkStroke"
; ";"
} "}"
block_comment "/**\r\n * Sets the link stroke and sends a {@link PlotChan"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the section label font.\r\n *\r\n * "...
method_declaration
modifiers
public "public"
type_identifier "Font"
identifier "getLabelFont"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelFont"
; ";"
} "}"
block_comment "/**\r\n * Sets the section label font and sends a {@link P"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the section label paint.\r\n *\r\n *"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getLabelPaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelPaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the section label paint and sends a {@link "...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the section label background paint.\r\n "...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getLabelBackgroundPaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelBackgroundPaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the section label background paint and send"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the section label outline paint.\r\n *"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getLabelOutlinePaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelOutlinePaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the section label outline paint and sends a"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the section label outline stroke.\r\n "...
method_declaration
modifiers
public "public"
type_identifier "Stroke"
identifier "getLabelOutlineStroke"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelOutlineStroke"
; ";"
} "}"
block_comment "/**\r\n * Sets the section label outline stroke and sends "...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the section label shadow paint.\r\n *\r"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getLabelShadowPaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelShadowPaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the section label shadow paint and sends a "...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the label padding.\r\n * \r\n * @ret"...
method_declaration
modifiers
public "public"
type_identifier "RectangleInsets"
identifier "getLabelPadding"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelPadding"
; ";"
} "}"
block_comment "/**\r\n * Sets the padding between each label and its outl"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the flag that controls whether simple or"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "getSimpleLabels"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "simpleLabels"
; ";"
} "}"
block_comment "/**\r\n * Sets the flag that controls whether simple or ex"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the offset used for the simple labels, i"...
method_declaration
modifiers
public "public"
type_identifier "RectangleInsets"
identifier "getSimpleLabelOffset"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "simpleLabelOffset"
; ";"
} "}"
block_comment "/**\r\n * Sets the offset for the simple labels and sends "...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the object responsible for the vertical "...
method_declaration
modifiers
public "public"
type_identifier "AbstractPieLabelDistributor"
identifier "getLabelDistributor"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "labelDistributor"
; ";"
} "}"
block_comment "/**\r\n * Sets the label distributor and sends a {@link Pl"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the tool tip generator, an object that i"...
method_declaration
modifiers
public "public"
type_identifier "PieToolTipGenerator"
identifier "getToolTipGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "toolTipGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the tool tip generator and sends a {@link P"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the URL generator.\r\n *\r\n * @retu"...
method_declaration
modifiers
public "public"
type_identifier "PieURLGenerator"
identifier "getURLGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "urlGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the URL generator and sends a {@link PlotCh"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the minimum arc angle that will be drawn"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getMinimumArcAngleToDraw"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "minimumArcAngleToDraw"
; ";"
} "}"
block_comment "/**\r\n * Sets the minimum arc angle that will be drawn. "...
method_declaration (+24 nodes collapsed)
block_comment "/**\r\n * Returns the shape used for legend items.\r\n *"...
method_declaration
modifiers
public "public"
type_identifier "Shape"
identifier "getLegendItemShape"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "legendItemShape"
; ";"
} "}"
block_comment "/**\r\n * Sets the shape used for legend items and sends a"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the legend label generator.\r\n * \r\n "...
method_declaration
modifiers
public "public"
type_identifier "PieSectionLabelGenerator"
identifier "getLegendLabelGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "legendLabelGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the legend label generator and sends a {@li"...
method_declaration (+62 nodes collapsed)
block_comment "/**\r\n * Returns the legend label tool tip generator.\r\n "...
method_declaration
modifiers
public "public"
type_identifier "PieSectionLabelGenerator"
identifier "getLegendLabelToolTipGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "legendLabelToolTipGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the legend label tool tip generator and sen"...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Returns the legend label URL generator.\r\n * "...
method_declaration
modifiers
public "public"
type_identifier "PieURLGenerator"
identifier "getLegendLabelURLGenerator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "legendLabelURLGenerator"
; ";"
} "}"
block_comment "/**\r\n * Sets the legend label URL generator and sends a "...
method_declaration (+37 nodes collapsed)
block_comment "/**\r\n * Initialises the drawing procedure. This method "...
method_declaration
modifiers
public "public"
type_identifier "PiePlotState"
identifier "initialise"
formal_parameters (+22 nodes collapsed)
block
{ "{"
local_variable_declaration
type_identifier "PiePlotState"
variable_declarator
identifier "state"
= "="
object_creation_expression
new "new"
type_identifier "PiePlotState"
argument_list
( "("
identifier "info"
) ")"
; ";"
expression_statement
method_invocation
identifier "state"
. "."
identifier "setPassesRequired"
argument_list
( "("
decimal_integer_literal "2"
) ")"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
this "this"
. "."
identifier "dataset"
!= "!="
null_literal "null"
) ")"
block
{ "{"
expression_statement (+23 nodes collapsed)
} "}"
expression_statement
method_invocation
identifier "state"
. "."
identifier "setLatestAngle"
argument_list
( "("
method_invocation
identifier "plot"
. "."
identifier "getStartAngle"
argument_list
( "("
) ")"
) ")"
; ";"
return_statement
return "return"
identifier "state"
; ";"
} "}"
block_comment "/**\r\n * Draws the plot on a Java 2D graphics device (suc"...
method_declaration (+243 nodes collapsed)
block_comment "/**\r\n * Draws the pie.\r\n *\r\n * @param g2 the gr"...
method_declaration (+1257 nodes collapsed)
block_comment "/**\r\n * Draws a single data item.\r\n *\r\n * @param"...
method_declaration (+758 nodes collapsed)
block_comment "/**\r\n * Draws the pie section labels in the simple form."...
method_declaration (+801 nodes collapsed)
block_comment "/**\r\n * Draws the labels for the pie sections.\r\n * \r"...
method_declaration (+542 nodes collapsed)
block_comment "/**\r\n * Draws the left labels.\r\n * \r\n * @param l"...
method_declaration (+497 nodes collapsed)
block_comment "/**\r\n * Draws the right labels.\r\n * \r\n * @param "...
method_declaration (+496 nodes collapsed)
block_comment "/**\r\n * Returns a collection of legend items for the pie"...
method_declaration (+502 nodes collapsed)
block_comment "/**\r\n * Returns a short string describing the type of pl"...
method_declaration (+25 nodes collapsed)
block_comment "/**\r\n * Returns a rectangle that can be used to create a"...
method_declaration (+245 nodes collapsed)
block_comment "/**\r\n * Draws a section label on the left side of the pi"...
method_declaration (+418 nodes collapsed)
block_comment "/**\r\n * Draws a section label on the right side of the p"...
method_declaration (+418 nodes collapsed)
block_comment "/**\r\n * Tests this plot for equality with an arbitrary o"...
method_declaration (+1217 nodes collapsed)
block_comment "/**\r\n * Returns a clone of the plot.\r\n *\r\n * @re"...
method_declaration (+234 nodes collapsed)
block_comment "/**\r\n * Provides serialization support.\r\n *\r\n * "...
method_declaration (+206 nodes collapsed)
block_comment "/**\r\n * Provides serialization support.\r\n *\r\n * "...
method_declaration (+220 nodes collapsed)
} "}"