MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / setColor

Method setColor

src/org/opensourcephysics/display/Grid.java:89–91  ·  view source on GitHub ↗

Sets the drawing color. @param _color

(Color _color)

Source from the content-addressed store, hash-verified

87 * @param _color
88 */
89 public void setColor(Color _color) {
90 color = _color;
91 }
92
93 /**
94 * Gets the drawing color.

Callers 15

setGridDataMethod · 0.95
setGridDataMethod · 0.95
setGridDataMethod · 0.95
setGridDataMethod · 0.95
setGridDataMethod · 0.95
setGridDataMethod · 0.95
drawMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
paintComponentMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by 3

drawMethod · 0.36
paintComponentMethod · 0.36
paintComponentMethod · 0.36