Searched defs:foreground (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_Component.h36 jfieldID foreground; 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 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
234 g.setColor(parentIsMenuBar ? parent.getForeground() : b.getForeground()); // Which is either MenuItem.foreground or the user's choice
/openjdk7/jdk/src/share/classes/sun/font/
H A DDecoration.java54 * This class handles underlining, strikethrough, and foreground and
153 DecorationImpl(Paint foreground, argument
160 fgPaint = (Paint) foreground;
300 Paint foreground, background;
311 foreground = brightness > 18500 ? Color.BLACK : Color.WHITE;
313 foreground = Color.WHITE;
316 foreground = bgPaint;
320 foreground = fgPaint==null? savedPaint : fgPaint;
336 g2d.setPaint(foreground);
H A DAttributeValues.java73 private Paint foreground; // null field in class:AttributeValues
137 public Paint getForeground() { return foreground; }
139 this.foreground = f; update(EFOREGROUND); }
469 && equals(foreground, rhs.foreground)
524 case EFOREGROUND: b.append(foreground); break;
582 case EFOREGROUND: foreground = src.foreground; break;
611 case EFOREGROUND: return equals(foreground, src.foreground);
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifGraphicsUtils.java148 Color background, Color foreground,
219 g.setColor(foreground);
268 g.setColor(foreground);
309 g.setColor(foreground);
322 g.setColor(foreground);
146 paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) argument
H A DMotifIconFactory.java97 private Color foreground = UIManager.getColor("CheckBox.foreground"); field in class:MotifIconFactory.CheckBoxIcon
249 g.setColor(foreground);
H A DMotifBorders.java624 protected Color foreground; field in class:MotifBorders.MotifPopupMenuBorder
646 this.foreground = fgColor;
691 g.setColor(foreground);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicHTML.java307 Color foreground) {
311 BasicDocument doc = new BasicDocument(ss, defaultFont, foreground);
345 * is overridden to return the foreground property from the Component this
352 BasicDocument(StyleSheet s, Font defaultFont, Color foreground) { argument
355 setFontAndColor(defaultFont, foreground);
306 createDefaultDocument(Font defaultFont, Color foreground) argument
H A DBasicMenuItemUI.java145 prefix + ".foreground",
482 Color background, Color foreground,
502 paintCheckIcon(g, lh, lr, holdc, foreground);
506 paintArrowIcon(g, lh, lr, foreground);
540 Color holdc, Color foreground) {
545 g.setColor(foreground);
610 Color foreground) {
615 g.setColor(foreground);
960 "foreground" == name) {
480 paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) argument
538 paintCheckIcon(Graphics g, MenuItemLayoutHelper lh, MenuItemLayoutHelper.LayoutResult lr, Color holdc, Color foreground) argument
608 paintArrowIcon(Graphics g, MenuItemLayoutHelper lh, MenuItemLayoutHelper.LayoutResult lr, Color foreground) argument
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTabbedPane.java1183 * Returns the tab foreground color at <code>index</code>.
1186 * @return the <code>Color</code> of the tab foreground at
1474 * Sets the foreground color at <code>index</code> to
1475 * <code>foreground</code> which can be
1476 * <code>null</code>, in which case the tab's foreground color
1477 * will default to the foreground color of this <code>tabbedpane</code>.
1483 * @param index the tab index where the foreground should be set
1484 * @param foreground the color to be displayed as the tab's foreground
1492 * description: The foreground colo
1494 setForegroundAt(int index, Color foreground) argument
2036 Color foreground; field in class:JTabbedPane.Page
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWComponentPeer.java114 private Color foreground; field in class:LWComponentPeer
439 * foreground and background colors and font are specific to
628 foreground = c;
643 return foreground;
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWComponentPeer.java91 // foreground, background and color are cached to avoid calling back
93 private Color foreground; field in class:WComponentPeer
593 Color fgColor = foreground;
632 foreground = c;
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXComponentPeer.java95 Color foreground; field in class:XComponentPeer
142 foreground = target.getForeground();
687 if (log.isLoggable(PlatformLogger.FINE)) log.fine("Set foreground to " + c);
689 foreground = c;
929 // for foreground and background; then multiply the foreground
947 // This probably means the foreground color is black or white
1295 return foreground;
/openjdk7/jdk/src/share/classes/java/awt/
H A DComponent.java252 * The foreground color for this component.
253 * <code>foreground</code> can be <code>null</code>.
259 Color foreground; field in class:Component
957 return comp.foreground;
1714 * Gets the foreground color of this component.
1715 * @return this component's foreground color; if this component does
1716 * not have a foreground color, the foreground color of its parent
1725 Color foreground = this.foreground;
[all...]

Completed in 83 milliseconds