MCPcopy Index your code
hub / github.com/adolfintel/NoteBot / setLocation

Method setLocation

StickyNotes/src/com/dosse/stickynotes/Note.java:568–571  ·  view source on GitHub ↗

setLocation method is overridden to force the note to stay on the screen @param x new x location @param y new y location

(int x, int y)

Source from the content-addressed store, hash-verified

566 * @param y new y location
567 */
568 @Override
569 public void setLocation(int x, int y) {
570 setBounds(x, y, getWidth(), getHeight());
571 }
572
573 /**
574 * setLocation method is overridden to force the note to stay on the screen

Callers 7

mouseDraggedMethod · 0.95
NoteMethod · 0.95
attemptLoadMethod · 0.95
keyPressedMethod · 0.80
ColorSelectorMethod · 0.80
runMethod · 0.80
AboutDialogMethod · 0.80

Calls 1

setBoundsMethod · 0.95

Tested by

no test coverage detected