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

Method setColorScheme

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

set color scheme @param c color scheme (see format at the beginning of this file)

(Color[] c)

Source from the content-addressed store, hash-verified

691 * @param c color scheme (see format at the beginning of this file)
692 */
693 public void setColorScheme(Color[] c) {
694 wrapper1.setBackground(c[0]);
695 wrapper1.setBorder(new LineBorder(c[1]));
696 wrapper2.setBackground(c[2]);
697 newNote.setForeground(c[3]);
698 deleteNote.setForeground(c[3]);
699 text.setBackground(c[4]);
700 text.setForeground(c[5]);
701 text.setCaretColor(c[5]);
702 text.setSelectionColor(c[6]);
703 text.setSelectedTextColor(c[7]);
704 }
705
706}

Callers 4

onColorSchemeSelectedMethod · 0.95
onColorSelectedMethod · 0.95
NoteMethod · 0.95
attemptLoadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected