Searched refs:background (Results 1 - 25 of 56) sorted by relevance

123

/openjdk7/jdk/src/share/classes/com/sun/beans/infos/
H A DComponentBeanInfo.java41 background = new PropertyDescriptor("background", beanClass),
51 background.setBound(true);
56 PropertyDescriptor[] rv = {name, background, foreground, font, enabled, visible, focusable };
/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/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/
H A Dstylesheet.css6 background-color:#ffffff;
94 background-color:#0066FF;
95 background-image:url(resources/titlebar.gif);
96 background-position:left top;
97 background-repeat:no-repeat;
107 background-image:url(resources/background.gif);
108 background-repeat:repeat-x;
116 background-image:url(resources/background
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsLabelUI.java103 Color background = l.getBackground();
104 g.setColor(background.brighter());
107 g.setColor(background.darker());
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngrtran.c120 /* Handle alpha and tRNS via a background color */
133 png_warning(png_ptr, "Application must supply a known background gamma");
141 png_memcpy(&(png_ptr->background), background_color,
357 /* Finally, if pre-multiplying, set the background fields to achieve the
363 png_memset(&png_ptr->background, 0, sizeof png_ptr->background);
370 "conflicting calls to set alpha mode and background");
813 * disabled in background handling. There is no evidence (so far) that this
1130 /* Any alpha means background and associative alpha processing is
1143 * background colo
[all...]
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 Dpngrutil.c1602 png_color_16 background; local
1653 * arbitrary RGB values for background when we have transparency, and
1654 * so it is easy to determine the RGB values of the background color
1659 background.index = buf[0];
1669 background.red = (png_uint_16)png_ptr->palette[buf[0]].red;
1670 background.green = (png_uint_16)png_ptr->palette[buf[0]].green;
1671 background.blue = (png_uint_16)png_ptr->palette[buf[0]].blue;
1675 background.red = background.green = background
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DDefaultTableCellRenderer.java100 // to after its foreground and background colors have been set
101 // to the selection background color.
142 * the unselected-background color to the specified color.
144 * @param c set the background color to this value
215 Color background = unselectedBackground != null
218 if (background == null || background instanceof javax.swing.plaf.UIResource) {
221 background = alternateColor;
227 super.setBackground(background);
/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/solaris/native/sun/awt/
H A Dawt_Component.h35 jfieldID background; member in struct:ComponentIDs
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/treetable/
H A DJTreeTable.java134 // Use the tree's default foreground and background colors in the
136 LookAndFeel.installColorsAndFont(this, "Tree.background",
200 * the tree in the background, and then draw the editor over it.
303 Color background;
307 background = table.getSelectionBackground();
311 background = table.getBackground();
316 background = UIManager.getColor("Table.focusCellBackground");
323 background = UIManager.getColor
331 setBackground(background);
338 dtcr.setBackgroundSelectionColor(background);
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaLabelUI.java67 * Paint clippedText at textX, textY with background.lighter() and then
68 * shifted down and to the right by one pixel with background.darker().
79 final Color background = l.getBackground();
81 // if our background is still something we set then we can use our happy background color.
82 if (background instanceof UIResource) {
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);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalInternalFrameTitlePane.java144 // This makes sure palette close buttons have the right background.
324 Color background = MetalLookAndFeel.getPrimaryControlShadow();
327 g.setColor(background);
352 Color background = null;
366 background = UIManager.getColor(selectedBackgroundKey);
368 if (background == null) {
369 background = MetalLookAndFeel.getWindowTitleBackground();
385 null ? null : background);
394 background = MetalLookAndFeel.getWindowTitleInactiveBackground();
403 g.setColor(background);
[all...]
H A DMetalBorders.java196 Color background;
201 background = MetalLookAndFeel.getPrimaryControlDarkShadow();
205 background = MetalLookAndFeel.getControlDarkShadow();
210 g.setColor(background);
257 Color background;
263 background = MetalLookAndFeel.getPrimaryControlDarkShadow();
267 background = MetalLookAndFeel.getControlDarkShadow();
272 g.setColor(background);
349 Color background;
355 background
[all...]
/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/solaris/classes/sun/awt/X11/
H A DXTextFieldPeer.java125 background = compAccessor.getBackground(target);
126 if (background == null) {
127 if (((TextField)target).isEditable()) background = SystemColor.text;
128 else background = SystemColor.control;
130 setBackground(background);
133 // This is a way to set the background color of the TextArea
135 compAccessor.setBackground(target, background);
261 if (log.isLoggable(PlatformLogger.FINE)) log.fine("target="+ target + ", old=" + background + ", new=" + c);
262 background = c;
525 editor.setBackground(uidefaults.getColor(prefix + ".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
/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/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
/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/classes/javax/swing/plaf/synth/
H A DSynthStyle.java748 * foreground and background of the <code>JComponent</code>. If the
935 Color background = c.getBackground();
936 if (background == null || (background instanceof UIResource)) {

Completed in 155 milliseconds

123