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

Method setBackgroundColor

ij/src/main/java/ij/gui/Toolbar.java:991–999  ·  view source on GitHub ↗
(Color c)

Source from the content-addressed store, hash-verified

989 }
990
991 public static void setBackgroundColor(Color c) {
992 if (c!=null) {
993 backgroundColor = c;
994 backgroundValue = Double.NaN;
995 repaintTool(DROPPER);
996 ColorPicker.update();
997 IJ.notifyEventListeners(IJEventListener.BACKGROUND_COLOR_CHANGED);
998 }
999 }
1000
1001 public static double getForegroundValue() {
1002 return foregroundValue;

Callers 13

setColorMethod · 0.95
restoreSettingsMethod · 0.95
showDialogMethod · 0.95
itemStateChangedMethod · 0.95
straightenRotatedRectMethod · 0.95
mousePressedMethod · 0.95
setDrawingColorMethod · 0.95
editColorMethod · 0.95
mousePressedMethod · 0.95
setBackgroundColorMethod · 0.95
setBackgroundValueMethod · 0.95

Calls 3

repaintToolMethod · 0.95
updateMethod · 0.95
notifyEventListenersMethod · 0.95

Tested by

no test coverage detected