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 "355377800470807389L"
; ";"
block_comment "/** The chart object that draws the individual pie charts. *"...
field_declaration
modifiers
private "private"
type_identifier "JFreeChart"
variable_declarator
identifier "pieChart"
; ";"
block_comment "/** The dataset. */"
field_declaration
modifiers
private "private"
type_identifier "CategoryDataset"
variable_declarator
identifier "dataset"
; ";"
block_comment "/** The data extract order (by row or by column). */"
field_declaration
modifiers
private "private"
type_identifier "TableOrder"
variable_declarator
identifier "dataExtractOrder"
; ";"
block_comment "/** The pie section limit percentage. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "limit"
= "="
decimal_floating_point_literal "0.0"
; ";"
block_comment "/**\r\n * The key for the aggregated items.\r\n * @since"...
field_declaration
modifiers
private "private"
type_identifier "Comparable"
variable_declarator
identifier "aggregatedItemsKey"
; ";"
block_comment "/**\r\n * The paint for the aggregated items.\r\n * @sin"...
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Paint"
variable_declarator
identifier "aggregatedItemsPaint"
; ";"
block_comment "/**\r\n * The colors to use for each section.\r\n * @sin"...
field_declaration
modifiers
private "private"
transient "transient"
type_identifier "Map"
variable_declarator
identifier "sectionPaints"
; ";"
block_comment "/**\r\n * Creates a new plot with no data.\r\n */"
constructor_declaration
modifiers
public "public"
identifier "MultiplePiePlot"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
this "this"
argument_list
( "("
null_literal "null"
) ")"
; ";"
} "}"
block_comment "/**\r\n * Creates a new plot.\r\n *\r\n * @param datas"...
constructor_declaration
modifiers
public "public"
identifier "MultiplePiePlot"
formal_parameters
( "("
formal_parameter
type_identifier "CategoryDataset"
identifier "dataset"
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
super "super"
argument_list
( "("
) ")"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "dataset"
= "="
identifier "dataset"
; ";"
local_variable_declaration
type_identifier "PiePlot"
variable_declarator
identifier "piePlot"
= "="
object_creation_expression
new "new"
type_identifier "PiePlot"
argument_list
( "("
null_literal "null"
) ")"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "pieChart"
= "="
object_creation_expression
new "new"
type_identifier "JFreeChart"
argument_list
( "("
identifier "piePlot"
) ")"
; ";"
expression_statement
method_invocation
field_access
this "this"
. "."
identifier "pieChart"
. "."
identifier "removeLegend"
argument_list
( "("
) ")"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "dataExtractOrder"
= "="
field_access
identifier "TableOrder"
. "."
identifier "BY_COLUMN"
; ";"
expression_statement
method_invocation
field_access
this "this"
. "."
identifier "pieChart"
. "."
identifier "setBackgroundPaint"
argument_list
( "("
null_literal "null"
) ")"
; ";"
local_variable_declaration (+34 nodes collapsed)
expression_statement
method_invocation
identifier "seriesTitle"
. "."
identifier "setPosition"
argument_list
( "("
field_access
identifier "RectangleEdge"
. "."
identifier "BOTTOM"
) ")"
; ";"
expression_statement
method_invocation
field_access
this "this"
. "."
identifier "pieChart"
. "."
identifier "setTitle"
argument_list
( "("
identifier "seriesTitle"
) ")"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "aggregatedItemsKey"
= "="
string_literal
" "\""
string_fragment "Other"
" "\""
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "aggregatedItemsPaint"
= "="
field_access
identifier "Color"
. "."
identifier "lightGray"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "sectionPaints"
= "="
object_creation_expression
new "new"
type_identifier "HashMap"
argument_list
( "("
) ")"
; ";"
} "}"
block_comment "/**\r\n * Returns the dataset used by the plot.\r\n *\r\n "...
method_declaration
modifiers
public "public"
type_identifier "CategoryDataset"
identifier "getDataset"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "dataset"
; ";"
} "}"
block_comment "/**\r\n * Sets the dataset used by the plot and sends a {@"...
method_declaration (+107 nodes collapsed)
block_comment "/**\r\n * Returns the pie chart that is used to draw the i"...
method_declaration
modifiers
public "public"
type_identifier "JFreeChart"
identifier "getPieChart"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "pieChart"
; ";"
} "}"
block_comment "/**\r\n * Sets the chart that is used to draw the individu"...
method_declaration (+97 nodes collapsed)
block_comment "/**\r\n * Returns the data extract order (by row or by col"...
method_declaration
modifiers
public "public"
type_identifier "TableOrder"
identifier "getDataExtractOrder"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "dataExtractOrder"
; ";"
} "}"
block_comment "/**\r\n * Sets the data extract order (by row or by column"...
method_declaration (+55 nodes collapsed)
block_comment "/**\r\n * Returns the limit (as a percentage) below which "...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getLimit"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "limit"
; ";"
} "}"
block_comment "/**\r\n * Sets the limit below which pie sections are aggr"...
method_declaration (+31 nodes collapsed)
block_comment "/**\r\n * Returns the key for aggregated items in the pie "...
method_declaration
modifiers
public "public"
type_identifier "Comparable"
identifier "getAggregatedItemsKey"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "aggregatedItemsKey"
; ";"
} "}"
block_comment "/**\r\n * Sets the key for aggregated items in the pie plo"...
method_declaration (+55 nodes collapsed)
block_comment "/**\r\n * Returns the paint used to draw the pie section r"...
method_declaration
modifiers
public "public"
type_identifier "Paint"
identifier "getAggregatedItemsPaint"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "aggregatedItemsPaint"
; ";"
} "}"
block_comment "/**\r\n * Sets the paint used to draw the pie section repr"...
method_declaration (+55 nodes collapsed)
block_comment "/**\r\n * Returns a short string describing the type of pl"...
method_declaration
modifiers
public "public"
type_identifier "String"
identifier "getPlotType"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
string_literal
" "\""
string_fragment "Multiple Pie Plot"
" "\""
; ";"
line_comment "// TODO: need to fetch this from localised resources\r"
} "}"
block_comment "/**\r\n * Draws the plot on a Java 2D graphics device (suc"...
method_declaration (+969 nodes collapsed)
block_comment "/**\r\n * For each key in the dataset, check the <code>sec"...
method_declaration (+335 nodes collapsed)
block_comment "/**\r\n * Returns a collection of legend items for the pie"...
method_declaration (+366 nodes collapsed)
block_comment "/**\r\n * Tests this plot for equality with an arbitrary o"...
method_declaration (+220 nodes collapsed)
block_comment "/**\r\n * Provides serialization support.\r\n *\r\n * "...
method_declaration (+41 nodes collapsed)
block_comment "/**\r\n * Provides serialization support.\r\n *\r\n * "...
method_declaration (+58 nodes collapsed)
} "}"