MCPcopy Create free account
hub / github.com/Neop/mudmap2 / getSelectedTab

Method getSelectedTab

src/main/java/mudmap2/frontend/Mainwindow.java:293–301  ·  view source on GitHub ↗

Gets the currently shown WorldTab @return WorldTab or null

()

Source from the content-addressed store, hash-verified

291 * @return WorldTab or null
292 */
293 private WorldTab getSelectedTab() {
294 if (tabbedPane != null) {
295 final Component ret = tabbedPane.getSelectedComponent();
296 if (ret instanceof WorldTab) {
297 return (WorldTab) ret;
298 }
299 }
300 return null;
301 }
302
303 public JCheckBoxMenuItem getMiShowPlaceSelection() {
304 return menuWorldShowCursor;

Callers 4

createTabMethod · 0.95
actionPerformedMethod · 0.95
stateChangedMethod · 0.95
dispatchKeyEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected