Searched defs:systemColors (Results 1 - 15 of 15) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicLookAndFeel.java359 * {@code systemColors}. Refer to
361 * the format of {@code systemColors}.
364 * pairs in {@code systemColors}. The entry key is
385 * @param systemColors array of {@code name-color} pairs as described
389 * @throws NullPointerException if {@code systemColors} is {@code null}; or
390 * {@code systemColors} is not empty, and {@code table} is
396 * {@code false} and {@code systemColors.length} is odd
402 protected void loadSystemColors(UIDefaults table, String[] systemColors, boolean useNative) argument
409 for(int i = 0; i < systemColors.length; i += 2) {
412 String name = systemColors[
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DSystemColor.java247 private static int[] systemColors = { field in class:SystemColor
464 * Called from <init> & toolkit to update the above systemColors cache.
468 Toolkit.getDefaultToolkit().loadSystemColors(systemColors);
470 for (int i = 0; i < systemColors.length; i++) {
471 systemColorObjects[i].value = systemColors[i];
480 super(systemColors[index]);
H A DToolkit.java459 * @param systemColors an integer array.
465 protected void loadSystemColors(int[] systemColors) argument
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DMotifColorUtilities.java390 static void loadSystemColorsForCDE(int[] systemColors) throws Exception { argument
437 systemColors[SystemColor.ACTIVE_CAPTION] = colors[0];
438 systemColors[SystemColor.ACTIVE_CAPTION_BORDER] = colors[0];
440 systemColors[SystemColor.INACTIVE_CAPTION] = colors[1];
441 systemColors[SystemColor.INACTIVE_CAPTION_BORDER] = colors[1];
443 systemColors[SystemColor.WINDOW] = colors[1];
445 systemColors[SystemColor.WINDOW_BORDER] = colors[1];
446 systemColors[SystemColor.MENU] = colors[1];
448 systemColors[SystemColor.TEXT] = colors[3];
450 systemColors[SystemColo
499 loadMotifDefaultColors(int[] systemColors) argument
535 loadSystemColors(int[] systemColors) argument
[all...]
H A DXComponentPeer.java109 static Color[] systemColors; field in class:XComponentPeer
965 if (systemColors == null) {
966 systemColors = new Color[4];
967 systemColors[BACKGROUND_COLOR] = SystemColor.window;
968 systemColors[HIGHLIGHT_COLOR] = SystemColor.controlLtHighlight;
969 systemColors[SHADOW_COLOR] = SystemColor.controlShadow;
970 systemColors[FOREGROUND_COLOR] = SystemColor.windowText;
972 return systemColors;
H A DXToolkit.java164 public native void nativeLoadSystemColors(int[] systemColors); argument
173 public void loadSystemColors(int[] systemColors) { argument
174 nativeLoadSystemColors(systemColors);
175 MotifColorUtilities.loadSystemColors(systemColors);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKLookAndFeel.java1559 protected void loadSystemColors(UIDefaults table, String[] systemColors, boolean useNative) { argument
1560 super.loadSystemColors(table, systemColors, false);
/openjdk7/jdk/test/java/awt/Toolkit/Headless/ExceptionContract/
H A DExceptionContract.java112 public void loadSystemColors(int[] systemColors) throws HeadlessException { argument
/openjdk7/jdk/src/share/classes/sun/awt/
H A DHToolkit.java190 protected void loadSystemColors(int[] systemColors) argument
H A DHeadlessToolkit.java212 protected void loadSystemColors(int[] systemColors) argument
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DLWCToolkit.java104 private native void loadNativeColors(final int[] systemColors, final int[] appleColors); argument
106 protected void loadSystemColors(final int[] systemColors) { argument
107 if (systemColors == null) return;
108 loadNativeColors(systemColors, appleColors);
/openjdk7/jdk/src/solaris/native/sun/xawt/
H A DXToolkit.c164 (JNIEnv *env, jobject this, jintArray systemColors)
163 Java_sun_awt_X11_XToolkit_nativeLoadSystemColors(JNIEnv *env, jobject this, jintArray systemColors) argument
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/
H A DMToolkit.java497 public native void loadSystemColors(int[] systemColors); argument
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWToolkit.java681 protected native void loadSystemColors(int[] systemColors); argument
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_MToolkit.c2930 (JNIEnv *env, jobject this, jintArray systemColors)
3064 (*env)->GetIntArrayRegion (env, systemColors, 0,
3085 systemColors,
2929 Java_sun_awt_motif_MToolkit_loadSystemColors(JNIEnv *env, jobject this, jintArray systemColors) argument

Completed in 98 milliseconds