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–88 unchanged (88 lines)
89 * @param outlinePaint the outline paint (<code>null</code> permitted).
90 * @param outlineStroke the outline stroke (<code>null</code> permitted).
91 * @param alpha the alpha transparency (in the range 0.0f to 1.0f).
92 */
93 public ValueMarker(double value, Paint paint, Stroke stroke,
94 Paint outlinePaint, Stroke outlineStroke, float alpha) {
95 super(paint, stroke, paint, stroke, alpha);
96 this.value = value;
97 }
98
99 /**
100 * Returns the value.
101 *
…lines 102–157 unchanged (56 lines)

After

…lines 1–88 unchanged (88 lines)
89 * @param outlinePaint the outline paint (<code>null</code> permitted).
90 * @param outlineStroke the outline stroke (<code>null</code> permitted).
91 * @param alpha the alpha transparency (in the range 0.0f to 1.0f).
92 */
93 public ValueMarker(double value, Paint paint, Stroke stroke,
94 Paint outlinePaint, Stroke outlineStroke, float alpha) {
95 super(paint, stroke, outlinePaint, outlineStroke, alpha);
96 this.value = value;
97 }
98
99 /**
100 * Returns the value.
101 *
…lines 102–157 unchanged (56 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 "Paint"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Stroke"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "event"
. "."
identifier "MarkerChangeEvent"
; ";"
block_comment "/**\r\n * A marker that represents a single value. Markers ca"...
class_declaration
modifiers
public "public"
class "class"
identifier "ValueMarker"
superclass
extends "extends"
type_identifier "Marker"
class_body
{ "{"
block_comment "/** The value. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "value"
; ";"
block_comment "/**\r\n * Creates a new marker.\r\n * \r\n * @param va"...
constructor_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Creates a new marker.\r\n * \r\n * @param va"...
constructor_declaration (+39 nodes collapsed)
block_comment "/**\r\n * Creates a new value marker.\r\n * \r\n * @pa"...
constructor_declaration
modifiers
public "public"
identifier "ValueMarker"
formal_parameters (+28 nodes collapsed)
constructor_body
{ "{"
explicit_constructor_invocation
super "super"
argument_list
( "("
identifier "paint"
, ","
identifier "stroke"
, ","
identifier "paint"
, ","
identifier "stroke"
, ","
identifier "alpha"
) ")"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "value"
= "="
identifier "value"
; ";"
} "}"
block_comment "/**\r\n * Returns the value.\r\n *\r\n * @return The v"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getValue"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "value"
; ";"
} "}"
block_comment "/**\r\n * Sets the value for the marker and sends a {@link"...
method_declaration (+38 nodes collapsed)
block_comment "/**\r\n * Tests this marker for equality with an arbitrary"...
method_declaration (+110 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 "Paint"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "awt"
. "."
identifier "Stroke"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jfree"
. "."
identifier "chart"
. "."
identifier "event"
. "."
identifier "MarkerChangeEvent"
; ";"
block_comment "/**\r\n * A marker that represents a single value. Markers ca"...
class_declaration
modifiers
public "public"
class "class"
identifier "ValueMarker"
superclass
extends "extends"
type_identifier "Marker"
class_body
{ "{"
block_comment "/** The value. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "value"
; ";"
block_comment "/**\r\n * Creates a new marker.\r\n * \r\n * @param va"...
constructor_declaration (+29 nodes collapsed)
block_comment "/**\r\n * Creates a new marker.\r\n * \r\n * @param va"...
constructor_declaration (+39 nodes collapsed)
block_comment "/**\r\n * Creates a new value marker.\r\n * \r\n * @pa"...
constructor_declaration
modifiers
public "public"
identifier "ValueMarker"
formal_parameters (+28 nodes collapsed)
constructor_body
{ "{"
explicit_constructor_invocation
super "super"
argument_list
( "("
identifier "paint"
, ","
identifier "stroke"
, ","
identifier "outlinePaint"
, ","
identifier "outlineStroke"
, ","
identifier "alpha"
) ")"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "value"
= "="
identifier "value"
; ";"
} "}"
block_comment "/**\r\n * Returns the value.\r\n *\r\n * @return The v"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getValue"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "value"
; ";"
} "}"
block_comment "/**\r\n * Sets the value for the marker and sends a {@link"...
method_declaration (+38 nodes collapsed)
block_comment "/**\r\n * Tests this marker for equality with an arbitrary"...
method_declaration (+110 nodes collapsed)
} "}"