/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicTabbedPaneUI.java | 865 Icon icon = getIconForTab(tabIndex); 867 layoutLabel(tabPlacement, metrics, tabIndex, title, icon, 885 paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected); 1017 String title, Icon icon, 1028 metrics, title, icon, 1049 int tabIndex, Icon icon, Rectangle iconRect, 1051 if (icon != null) { 1052 icon.paintIcon(tabPane, g, iconRect.x, iconRect.y); 1725 Icon icon = getIconForTab(tabIndex); 1727 if (icon ! 1015 layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected ) argument 1048 paintIcon(Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected ) argument [all...] |
H A D | BasicSliderUI.java | 1138 Icon icon = label.isEnabled() ? ((JLabel) label).getIcon() : ((JLabel) label).getDisabledIcon(); 1140 if (icon instanceof ImageIcon) { 1143 Toolkit.getDefaultToolkit().checkImage(((ImageIcon) icon).getImage(), -1, -1, slider);
|
H A D | BasicTreeUI.java | 1613 // Draws the icon centered at (x,y) 1614 protected void drawCentered(Component c, Graphics graphics, Icon icon, argument 1616 icon.paintIcon(c, graphics, 1617 findCenteredX(x, icon.getIconWidth()), 1618 y - icon.getIconHeight() / 2);
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaTabbedPaneCopyFromBasicUI.java | 821 final Icon icon = getIconForTab(tabIndex); 823 layoutLabel(tabPlacement, metrics, tabIndex, title, icon, tabRect, iconRect, textRect, isSelected); 835 paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected); 962 protected void layoutLabel(final int tabPlacement, final FontMetrics metrics, final int tabIndex, final String title, final Icon icon, final Rectangle tabRect, final Rectangle iconRect, final Rectangle textRect, final boolean isSelected) { argument 970 SwingUtilities.layoutCompoundLabel(tabPane, metrics, title, icon, SwingConstants.CENTER, SwingConstants.CENTER, SwingConstants.CENTER, SwingConstants.TRAILING, tabRect, iconRect, textRect, textIconGap); 982 protected void paintIcon(final Graphics g, final int tabPlacement, final int tabIndex, final Icon icon, final Rectangle iconRect, final boolean isSelected) { argument 983 if (icon != null) { 984 icon.paintIcon(tabPane, g, iconRect.x, iconRect.y); 1602 final Icon icon = getIconForTab(tabIndex); 1604 if (icon ! [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CAccessibility.java | 582 Icon icon = l.getIcon(); 583 if (icon != null) {
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | Defaults.template | 579 JInternalFrame.JDesktopIcon icon = 581 parent = icon.getInternalFrame();
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JInternalFrame.java | 49 * a native frame, including dragging, closing, becoming an icon, 158 * an icon-image). 172 /** The icon shown in the top-left corner of this internal frame. */ 177 * The icon that is displayed when this internal frame is iconified. 223 public final static String IS_ICON_PROPERTY = "icon"; 873 * make the <code>JInternalFrame</code> an icon. 939 parent if possible so that we can place the icon in its 1092 // The internal frame or the desktop icon must be showing to allow 1148 * appropriate behavior for that situation, such as displaying no icon 1149 * or a default icon fo 1157 setFrameIcon(Icon icon) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalTabbedPaneUI.java | 1139 Icon icon = tabPane.getIconAt( i ); 1140 if ( icon != null ) { 1141 if ( icon.getIconHeight() > height ) {
|
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | FormView.java | 241 Icon icon = new ImageIcon(srcURL); 242 button = new JButton(icon);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/util/ |
H A D | SchemaTreeTraverser.java | 241 * The icon label. 317 * Sets values for the icon and text of <code>this</code> renderer. 319 * @param icon Icon to show. 325 protected final void setValues(Icon icon, String caption, argument 328 this.iconLabel.setIcon(icon);
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/ |
H A D | Metacity.java | 1316 Icon icon = jif.getFrameIcon(); 1317 if (icon == null) { 1340 icon.paintIcon(jif, g, x, y); 1344 icon.paintIcon(jif, g, x, y); 1406 } else if ("icon".equals(name)) {
|
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | ServiceDialog.java | 2769 * A special widget that groups a JRadioButton with an associated icon, 2782 Icon icon = (Icon)java.security.AccessController.doPrivileged( 2785 Icon icon = new ImageIcon(imgURL); 2786 return icon; 2789 lbl = new JLabel(icon);
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Window.cpp | 422 // Check if it's a security warning icon 539 //Note: we assume that every security icon has exactly the same shape. 658 // It is assumed that the icon at index 0 is gray 926 // or within the security warning icon. 1102 * Initialize icon as inherited from parent if it exists 2438 HICON icon = NULL; local 2464 icon = ::CreateIconIndirect(&icnInfo); 2473 return icon; 2481 //Destroy previous icon if it isn't inherited 2791 // ok to pass null raster: default AWT icon [all...] |