/openjdk7/jdk/src/share/classes/javax/swing/tree/ |
H A D | DefaultTreeCellEditor.java | 685 * icon and use the selection color for the background. 705 Color background = getBorderSelectionColor(); 706 if(background != null) { 707 g.setColor(background);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalTitlePane.java | 310 "OptionPane.errorDialog.titlePane.background"); 320 "OptionPane.questionDialog.titlePane.background"); 328 "OptionPane.warningDialog.titlePane.background"); 699 Color background; 706 background = activeBackground; 711 background = inactiveBackground; 717 g.setColor(background);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicLabelUI.java | 125 * Paint clippedText at textX, textY with background.lighter() and then 126 * shifted down and to the right by one pixel with background.darker(). 134 Color background = l.getBackground(); 135 g.setColor(background.brighter()); 138 g.setColor(background.darker()); 145 * then paints the entire background with the background color. The Label 339 LookAndFeel.installColorsAndFont(c, "Label.background", "Label.foreground", "Label.font");
|
H A D | BasicTextUI.java | 196 * This implementation updates the background of the text 210 * Updates the background of the text component based on whether the 213 * @param c the JTextComponent that needs its background color updated 220 // the background for a JTextArea in all look and feels. The problem 228 Color background = c.getBackground(); 229 if (background instanceof UIResource) { 237 DefaultLookup.getColor(c, this, prefix + ".background", null); 250 * JLabel's default background is a UIResource. As such, just 252 * background away from what the developer wanted. 259 && background ! [all...] |
H A D | BasicMenuItemUI.java | 144 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/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XScrollbar.java | 205 /* 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);
|
H A D | XTextAreaPeer.java | 128 background = compAccessor.getBackground(target); 129 if (background == null) { 130 if (target.isEditable()) background = SystemColor.text; 131 else background = SystemColor.control; 133 setBackground(background); 136 // This is a way to set the background color of the TextArea 138 compAccessor.setBackground(target, background); 376 // background = c; 595 editor.setBackground(uidefaults.getColor(prefix + ".background")); 869 scrollbar.setBackground(uidefaults.getColor("ScrollBar.background")); [all...] |
H A D | XComponentPeer.java | 96 Color background; field in class:XComponentPeer 143 background = target.getBackground(); 678 if (log.isLoggable(PlatformLogger.FINE)) log.fine("Set background to " + c); 680 background = c; 929 // for foreground and background; then multiply the foreground 962 * instead of the background color set by Component.setBackground(). 1063 // paint the background slightly darker 1077 // paint the thumb and arrows in the normal background color 1291 return background;
|
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/ |
H A D | UIStyle.java | 53 @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/windows/classes/sun/awt/windows/ |
H A D | WComponentPeer.java | 91 // 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.
|
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pngget.c | 474 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 D | pngstruct.h | 171 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 */
|
H A D | CHANGES | 135 Fixed gamma and background correction for paletted images, so 156 Fixed? background color conversions 230 black pixels to background when a background is supplied and 334 Fixed three bugs in pngrtran.c to make gamma+background handling consistent 411 for truecolor images that have defined a background. This corrects an 721 Fixed a bug in pngrtran.c that improperly expanded the background color. 1202 Compute background.gray and background_1.gray even when color_type is RGB 1213 Compute background.gray and background_1.gray even when color_type is RGB 1223 Compute gamma for color components of background eve [all...] |
H A D | pngset.c | 54 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 D | pngtest.c | 1097 png_color_16p background; local 1099 if (png_get_bKGD(read_ptr, read_info_ptr, &background)) 1101 png_set_bKGD(write_ptr, write_info_ptr, background);
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsScrollBarUI.java | 278 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/macosx/classes/com/apple/laf/ |
H A D | AquaImageFactory.java | 122 static IconUIResource getAppIconCompositedOn(final Image background) { argument 135 g.drawImage(background, 0, 0, (int)(kAlertIconSize * scaleFactor), (int)(kAlertIconSize * scaleFactor), null);
|
H A D | AquaFileChooserUI.java | 1051 // Color background = fIsSelected ? getForeground() : getBackground(); 1052 final Color background = getBackground(); 1054 g.setColor(background); 1060 final Color background = getBackground(); 1061 g.setColor(background); 1064 g.setColor(background.brighter()); 1066 g.setColor(background.darker());
|
H A D | AquaTabbedPaneUI.java | 519 * This routine adjusts the background fill rect so it just fits inside a tab, allowing for 992 final Color background = tabPane.getBackgroundAt(i); 993 if (!(background instanceof UIResource)) { 994 menuItem.setBackground(background);
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifBorders.java | 623 protected Color background; field in class:MotifBorders.MotifPopupMenuBorder 645 this.background = bgColor; 688 g.setColor(background);
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Component.java | 262 * The background color for this component. 263 * <code>background</code> can be <code>null</code>. 269 Color background; field in class:Component 833 // Whether this Component has had the background erase flag 960 return comp.background; 962 public void setBackground(Component comp, Color background) { 963 comp.background = background; 1771 * Gets the background color of this component. 1772 * @return this component's background colo [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/ |
H A D | LWComponentPeer.java | 76 // 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/jaxp/src/org/w3c/dom/css/ |
H A D | CSS2Properties.java | 113 * See the background property definition in CSS2. 117 * See the background property definition in CSS2. 123 public void setBackground(String background) argument 127 * See the background-attachment property definition in CSS2. 131 * See the background-attachment property definition in CSS2. 141 * See the background-color property definition in CSS2. 145 * See the background-color property definition in CSS2. 155 * See the background-image property definition in CSS2. 159 * See the background-image property definition in CSS2. 169 * See the background [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | AWTAccessor.java | 68 * Sets whether the native background erase for a component 73 * Indicates whether the native background erase for a 214 * Gets the background color of this component. 219 * Sets the background of this component to the specified color. 221 void setBackground(Component comp, Color background); argument
|
/openjdk7/jdk/src/macosx/native/com/apple/laf/ |
H A D | JRSUIConstantSync.m | 138 CONSISTENCY_CHECK(Widget, background);
|