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

Method isLogVisible

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

Determines if the shared log is visible. @return true if visible

()

Source from the content-addressed store, hash-verified

236 * @return true if visible
237 */
238 public static boolean isLogVisible() {
239 if (useMessageFrame() && MessageFrame.APPLET_MESSAGEFRAME != null) {
240 return MessageFrame.APPLET_MESSAGEFRAME.isVisible();
241 } else if(OSPLOG!=null) {
242 return OSPLOG.isVisible();
243 }
244 return false;
245 }
246
247 /**
248 * Sets the visibility of this log.

Callers 2

launchMethod · 0.95
isVisibleMethod · 0.45

Calls 2

useMessageFrameMethod · 0.95
isVisibleMethod · 0.65

Tested by

no test coverage detected