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

Method setText

src/org/opensourcephysics/display/TextLine.java:320–323  ·  view source on GitHub ↗

Set the String to use with the class @param s String

(String s)

Source from the content-addressed store, hash-verified

318 * @param s String
319 */
320 public void setText(String s) {
321 text = TeXParser.parseTeX(s);
322 parse = true;
323 }
324
325 /**
326 * Set the Color to use with the class

Callers 1

parseDoubleMethod · 0.95

Calls 1

parseTeXMethod · 0.95

Tested by

no test coverage detected