MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / saveLocation

Method saveLocation

ij/src/main/java/ij/Prefs.java:690–693  ·  view source on GitHub ↗

Saves the Point loc in the preferences file as a string using the keyword key .

(String key, Point loc)

Source from the content-addressed store, hash-verified

688 /** Saves the Point <code>loc</code> in the preferences
689 file as a string using the keyword <code>key</code>. */
690 public static void saveLocation(String key, Point loc) {
691 if (!doNotSaveWindowLocations)
692 set(key, loc!=null?loc.x+","+loc.y:null);
693 }
694
695 /** Uses the keyword <code>key</code> to retrieve a location
696 from the preferences file. Returns null if the

Callers 15

saveWindowLocationsMethod · 0.95
showDialogMethod · 0.95
arrowToolOptionsMethod · 0.95
closeMethod · 0.95
closeMethod · 0.95
closeMethod · 0.95
runMethod · 0.95
closeMethod · 0.95
closeMethod · 0.95
closeMethod · 0.95
closeMethod · 0.95
closeMethod · 0.95

Calls 1

setMethod · 0.95

Tested by

no test coverage detected