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

Method getText

src/org/opensourcephysics/controls/OSPLog.java:622–624  ·  view source on GitHub ↗

Allows getting the text from the logBuffer @return text only, no formatting

()

Source from the content-addressed store, hash-verified

620 *
621 */
622 private String getText() {
623 return logPane == null ? logBuffer.toString() : logPane.getText();
624 }
625
626 /**
627 * Saves a log to a text file selected with a chooser.

Callers 1

saveLogMethod · 0.95

Calls 2

getTextMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected