MCPcopy Index your code
hub / github.com/arduino/Arduino / getPlacement

Method getPlacement

app/src/processing/app/Editor.java:465–480  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

463 }
464
465 protected int[] getPlacement() {
466 int[] location = new int[6];
467
468 // Get the dimensions of the Frame
469 Rectangle bounds = getBounds();
470 location[0] = bounds.x;
471 location[1] = bounds.y;
472 location[2] = bounds.width;
473 location[3] = bounds.height;
474
475 // Get the current placement of the divider
476 location[4] = splitPane.getDividerLocation();
477 location[5] = getExtendedState() & MAXIMIZED_BOTH;
478
479 return location;
480 }
481
482
483 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Callers 4

closeMethod · 0.45
closeMethod · 0.45
storeSketchLocationMethod · 0.45
nextEditorLocationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected