/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicEditorPaneUI.java | 218 void updateDisplayProperties(Font font, Color fg) { argument 240 updateCSS(font, fg); 242 updateStyle(font, fg); 298 private void updateCSS(Font font, Color fg) { argument 315 fg); 327 private void updateStyle(Font font, Color fg) { argument 329 updateForeground(fg);
|
H A D | BasicHTML.java | 364 private void setFontAndColor(Font font, Color fg) { argument 366 displayPropertiesToCSS(font,fg));
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | LabelView.java | 146 fg = doc.getForeground(attr); 198 return fg; 309 private Color fg; field in class:LabelView
|
H A D | StyledEditorKit.java | 626 * @param fg the foreground color 628 public ForegroundAction(String nm, Color fg) { argument 630 this.fg = fg; 641 Color fg = this.fg; 645 fg = Color.decode(s); 649 if (fg != null) { 651 StyleConstants.setForeground(attr, fg); 659 private Color fg; field in class:StyledEditorKit.ForegroundAction [all...] |
H A D | StyleConstants.java | 547 Color fg = (Color) a.getAttribute(Foreground); 548 if (fg == null) { 549 fg = Color.black; 551 return fg; 558 * @param fg the color 560 public static void setForeground(MutableAttributeSet a, Color fg) { argument 561 a.addAttribute(Foreground, fg); 571 Color fg = (Color) a.getAttribute(Background); 572 if (fg == null) { 573 fg 584 setBackground(MutableAttributeSet a, Color fg) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifTreeUI.java | 96 static Color fg; field in class:MotifTreeUI.MotifExpandedIcon 102 fg = UIManager.getColor("Tree.iconForeground"); 123 g.setColor(fg);
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsScrollBarUI.java | 380 public static Grid getGrid(Color fg, Color bg) { argument 381 String key = fg.getRGB() + " " + bg.getRGB(); 385 grid = new Grid(fg, bg); 391 public Grid(Color fg, Color bg) { argument 392 int cmap[] = { fg.getRGB(), bg.getRGB() }; 400 paintGrid(g, fg, bg); 452 private void paintGrid(Graphics g, Color fg, Color bg) { argument 457 g.setColor(fg);
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | ThreadTab.java | 626 Color fg; field in class:ThreadTab.PromptingTextField 644 this.fg = UIManager.getColor("TextField.foreground"); 646 setForeground(fg); 663 setForeground(fg);
|
/openjdk7/jdk/src/share/demo/applets/MoleculeViewer/ |
H A D | XYZApp.java | 547 private int blend(int fg, int bg, float fgfactor) { argument 548 return (int) (bg + (fg - bg) * fgfactor);
|
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | ImageView.java | 951 private Color fg; field in class:ImageView.ImageLabelView 997 if (fg == null && (parent = getParent()) != null) { 1002 fg = ((StyledDocument)doc).getForeground(attr); 1005 return fg;
|
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | SwingUtilities2.java | 1327 public static String displayPropertiesToCSS(Font font, Color fg) { argument 1343 if (fg != null) { 1345 if (fg.getRed() < 16) { 1348 rule.append(Integer.toHexString(fg.getRed())); 1349 if (fg.getGreen() < 16) { 1352 rule.append(Integer.toHexString(fg.getGreen())); 1353 if (fg.getBlue() < 16) { 1356 rule.append(Integer.toHexString(fg.getBlue()));
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/ |
H A D | LWWindowPeer.java | 292 protected final Graphics getOnscreenGraphics(Color fg, Color bg, Font f) { argument 296 if (fg == null) { 297 fg = SystemColor.windowText; 305 return platformWindow.transformGraphics(new SunGraphics2D(getSurfaceData(), fg, bg, f));
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_InputMethod.c | 670 Pixel bg, fg, light, dim; local 707 fg = adata->AwtColorMatch(0, 0, 0, adata); 793 XSetForeground(dpy, statusWindow->fgGC, fg);
|
H A D | awt_util.c | 684 Pixel fg ; local 729 XtVaGetValues(w, XmNforeground, &fg, NULL); 739 XNForeground, fg,
|
H A D | awt_MToolkit.c | 2934 Pixel bg, fg, highlight, shadow; local 2987 XmNforeground, &fg, 2995 pixels[java_awt_SystemColor_WINDOW_TEXT] = fg; 2997 pixels[java_awt_SystemColor_INFO_TEXT] = fg; 3002 XmNforeground, &fg, 3007 pixels[java_awt_SystemColor_MENU_TEXT] = fg; 3012 XmNforeground, &fg, 3017 pixels[java_awt_SystemColor_TEXT_TEXT] = fg; 3019 pixels[java_awt_SystemColor_TEXT_HIGHLIGHT] = fg; 3026 XmNforeground, &fg, [all...] |
H A D | gtk2_interface.h | 389 GdkColor fg[5]; member in struct:__anon995
|
/openjdk7/jdk/src/share/classes/sun/java2d/ |
H A D | SunGraphics2D.java | 233 public SunGraphics2D(SurfaceData sd, Color fg, Color bg, Font f) { argument 235 foregroundColor = fg;
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JComponent.java | 2688 * @param fg the desired foreground <code>Color</code> 2697 public void setForeground(Color fg) { argument 2699 super.setForeground(fg); 2700 if ((oldFg != null) ? !oldFg.equals(fg) : ((fg != null) && !fg.equals(oldFg))) {
|