Searched defs:background (Results 1 - 25 of 31) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicArrowButton.java69 * @param background the background color of the button
75 public BasicArrowButton(int direction, Color background, Color shadow, argument
80 setBackground(background);
139 // Using the background color set above
H A DBasicMenuItemUI.java144 prefix + ".background",
465 * We draw the background in paintMenuItem()
466 * so override update (which fills the background of opaque
482 Color background, Color foreground,
501 paintBackground(g, mi, background);
634 * Draws the background of the menu item.
638 * @param bgColor selection background color
480 paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) argument
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLBodyElement.java60 * URI of the background texture tile image. See the background
65 public void setBackground(String background); argument
68 * Document background color. See the bgcolor attribute definition in
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_Component.h35 jfieldID background; member in struct:ComponentIDs
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaMenuUI.java54 protected void paintMenuItem(final Graphics g, final JComponent c, final Icon localCheckIcon, final Icon localArrowIcon, final Color background, final Color foreground, final int localDefaultTextIconGap) { argument
55 AquaMenuPainter.instance().paintMenuItem(this, g, c, localCheckIcon, localArrowIcon, background, foreground, disabledForeground, selectionForeground, localDefaultTextIconGap, acceleratorFont);
H A DAquaMenuItemUI.java102 protected void paintMenuItem(final Graphics g, final JComponent c, final Icon localCheckIcon, final Icon localArrowIcon, final Color background, final Color foreground, final int localDefaultTextIconGap) { argument
103 AquaMenuPainter.instance().paintMenuItem(this, g, c, localCheckIcon, localArrowIcon, background, foreground, disabledForeground, selectionForeground, localDefaultTextIconGap, acceleratorFont);
H A DAquaImageFactory.java122 static IconUIResource getAppIconCompositedOn(final Image background) { argument
135 g.drawImage(background, 0, 0, (int)(kAlertIconSize * scaleFactor), (int)(kAlertIconSize * scaleFactor), null);
H A DAquaMenuPainter.java156 protected void paintMenuItem(final Client client, final Graphics g, final JComponent c, final Icon checkIcon, final Icon arrowIcon, final Color background, final Color foreground, final Color disabledForeground, final Color selectionForeground, final int defaultTextIconGap, final Font acceleratorFont) { argument
180 // Paint background (doesn't touch the Graphics object's color)
/openjdk7/jdk/test/java/awt/Container/isRemoveNotifyNeeded/
H A DJInternalFrameTest.java54 private final Color background; field in class:JInternalFrameTest.MyCanvas
55 public MyCanvas(Color background) { argument
56 this.background = background;
61 g.setColor(background);
67 System.err.println("addNotify() on " + background);
73 System.err.println("removeNotify() on " + background);
/openjdk7/jdk/src/share/classes/sun/font/
H A DDecoration.java55 * background styles on text. Clients simply acquire instances
154 Paint background,
161 bgPaint = (Paint) background;
300 Paint foreground, background;
303 background = fgPaint==null? savedPaint : fgPaint;
305 if (background instanceof Color) {
306 Color bg = (Color)background;
321 background = bgPaint;
324 if (background != null) {
332 g2d.setPaint(background);
153 DecorationImpl(Paint foreground, Paint background, boolean swapColors, boolean strikethrough, Underline stdUnderline, Underline imUnderline) argument
[all...]
H A DAttributeValues.java74 private Paint background; // null field in class:AttributeValues
141 public Paint getBackground() { return background; }
143 this.background = f; update(EBACKGROUND); }
470 && equals(background, rhs.background)
525 case EBACKGROUND: b.append(background); break;
583 case EBACKGROUND: background = src.background; break;
612 case EBACKGROUND: return equals(background, src.background);
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifGraphicsUtils.java148 Color background, Color foreground,
180 g.setColor(background);
451 private static void drawMenuBezel(Graphics g, Color background, argument
456 g.setColor(background);
459 g.setColor(background.brighter().brighter());
463 g.setColor(background.darker().darker());
146 paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) argument
H A DMotifBorders.java623 protected Color background; field in class:MotifBorders.MotifPopupMenuBorder
645 this.background = bgColor;
688 g.setColor(background);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsScrollBarUI.java278 public WindowsArrowButton(int direction, Color background, Color shadow, argument
280 super(direction, background, shadow, darkShadow, highlight);
366 * of the foreground/background colors. Further the Grid is held through
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Palette.cpp49 BOOL background = !(m_useCustomPalette); local
50 prevPalette = ::SelectPalette(hDC, logicalPalette, background);
H A Dawt_Dialog.cpp102 jobject background = NULL; local
184 background = env->GetObjectField(target,
186 if (background == NULL) {
192 env->DeleteLocalRef(background);
198 env->DeleteLocalRef(background);
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpnginfo.h174 /* The bKGD chunk gives the suggested image background color if the
175 * display program does not have its own background color and the image
176 * is needs to composited onto a background before display. The colors
177 * in "background" are normally in the same color space/depth as the
180 png_color_16 background; member in struct:png_info_def
H A Dpngget.c474 png_color_16p *background)
477 && background != NULL)
481 *background = &(info_ptr->background);
473 png_get_bKGD(png_const_structp png_ptr, png_infop info_ptr, png_color_16p *background) argument
H A Dpngset.c54 png_const_color_16p background)
61 png_memcpy(&(info_ptr->background), background, png_sizeof(png_color_16));
53 png_set_bKGD(png_structp png_ptr, png_infop info_ptr, png_const_color_16p background) argument
H A Dpngstruct.h171 png_color_16 background; /* background color in screen gamma space */ member in struct:png_struct_def
173 png_color_16 background_1; /* background normalized to gamma 1.0 */
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/
H A DUIStyle.java53 @XmlElement private UIColor background = null; field in class:UIStyle
54 @XmlElement(name="inherit-background")
110 prefix, "background", background.getValue().write()));
260 state.write(sb, prefix, pkg, fileName, "background");
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXScrollbar.java205 /* paint the background slightly darker */
207 // fill the entire background
275 void paintArrows(Graphics2D g, Color background, Color darkShadow, Color lightShadow) { argument
277 g.setColor(background);
305 g.setColor(background);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTabbedPane.java1168 * Returns the tab background color at <code>index</code>.
1171 * @return the <code>Color</code> of the tab background at
1441 * Sets the background color at <code>index</code> to
1442 * <code>background</code>
1443 * which can be <code>null</code>, in which case the tab's background color
1444 * will default to the background color of the <code>tabbedpane</code>.
1450 * @param index the tab index where the background should be set
1451 * @param background the color to be displayed in the tab's background
1459 * description: The background colo
1461 setBackgroundAt(int index, Color background) argument
2035 Color background; field in class:JTabbedPane.Page
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWComponentPeer.java76 // peer's fields (e.g. bounds, background, font, etc.)
113 private Color background; field in class:LWComponentPeer
439 * foreground and background colors and font are specific to
602 background = c;
617 return background;
1249 * All peers should clear background before paint.
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWComponentPeer.java91 // foreground, background and color are cached to avoid calling back
94 private Color background; field in class:WComponentPeer
589 Color bgColor = background;
637 background = c;
648 return background;
794 // Set background color in C++, to avoid inheriting a parent's color.

Completed in 108 milliseconds

12