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

Method toString

src/org/opensourcephysics/display/Circle.java:126–134  ·  view source on GitHub ↗

Returns a string representation of the circle. @return String

()

Source from the content-addressed store, hash-verified

124 * @return String
125 */
126 @Override
127public String toString() {
128 String name = getClass().getName();
129 name = name.substring(1+name.lastIndexOf("."))+'['; //$NON-NLS-1$
130 name += "x="+x; //$NON-NLS-1$
131 name += ",y="+y; //$NON-NLS-1$
132 name += ",r_pix="+pixRadius+']'; //$NON-NLS-1$
133 return name;
134 }
135
136 /**
137 * Gets a loader that allows a Circle to be represented as XML data.

Callers 15

displayURLMethod · 0.45
unescapeMethod · 0.45
displayURLMethod · 0.45
displayURLsMethod · 0.45
appendRowMethod · 0.45
savePathSegmentsMethod · 0.45
printToServiceMethod · 0.45
hyperlinkUpdateMethod · 0.45
openMethod · 0.45
showSaveDialogMethod · 0.45

Calls 2

getNameMethod · 0.65
getClassMethod · 0.45

Tested by

no test coverage detected