/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | MenuItemCheckIconFactory.java | 37 boolean isCompatible(Object icon, String prefix); argument
|
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/action/ |
H A D | DelegateAction.java | 36 public DelegateAction(String name, Icon icon) argument 38 super(name, icon);
|
H A D | StateChangeAction.java | 45 public StateChangeAction(String name, Icon icon) argument 47 super(name, icon);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JRadioButtonMenuItem.java | 94 * Creates a <code>JRadioButtonMenuItem</code> with no set text or icon. 101 * Creates a <code>JRadioButtonMenuItem</code> with an icon. 103 * @param icon the <code>Icon</code> to display on the 106 public JRadioButtonMenuItem(Icon icon) { argument 107 this(null, icon, false); 138 * @param icon the icon to display on the <code>JRadioButtonMenuItem</code> 140 public JRadioButtonMenuItem(String text, Icon icon) { argument 141 this(text, icon, false); 160 * @param icon th 164 JRadioButtonMenuItem(Icon icon, boolean selected) argument 176 JRadioButtonMenuItem(String text, Icon icon, boolean selected) argument [all...] |
H A D | JButton.java | 87 * Creates a button with no set text or icon. 94 * Creates a button with an icon. 96 * @param icon the Icon image to display on the button 98 public JButton(Icon icon) { argument 99 this(null, icon); 126 * Creates a button with initial text and an icon. 129 * @param icon the Icon image to display on the button 131 public JButton(String text, Icon icon) { argument 136 init(text, icon);
|
H A D | JCheckBoxMenuItem.java | 46 * icon associated with it, or both. 101 * Creates an initially unselected check box menu item with no set text or icon. 108 * Creates an initially unselected check box menu item with an icon. 110 * @param icon the icon of the CheckBoxMenuItem. 112 public JCheckBoxMenuItem(Icon icon) { argument 113 this(null, icon, false); 137 * Creates an initially unselected check box menu item with the specified text and icon. 140 * @param icon the icon o 142 JCheckBoxMenuItem(String text, Icon icon) argument 163 JCheckBoxMenuItem(String text, Icon icon, boolean b) argument [all...] |
H A D | JRadioButton.java | 110 * @param icon the image that the button should display 112 public JRadioButton(Icon icon) { argument 113 this(null, icon, false); 131 * @param icon the image that the button should display 135 public JRadioButton(Icon icon, boolean selected) { argument 136 this(null, icon, selected); 165 * @param icon the image that the button should display 167 public JRadioButton(String text, Icon icon) { argument 168 this(text, icon, false); 176 * @param icon th 178 JRadioButton(String text, Icon icon, boolean selected) argument [all...] |
H A D | JCheckBox.java | 93 * Creates an initially unselected check box button with no text, no icon. 100 * Creates an initially unselected check box with an icon. 102 * @param icon the Icon image to display 104 public JCheckBox(Icon icon) { argument 105 this(null, icon, false); 109 * Creates a check box with an icon and specifies whether 112 * @param icon the Icon image to display 116 public JCheckBox(Icon icon, boolean selected) { argument 117 this(null, icon, selected); 155 * the specified text and icon 160 JCheckBox(String text, Icon icon) argument 173 JCheckBox(String text, Icon icon, boolean selected) argument [all...] |
H A D | JToggleButton.java | 99 * @param icon the image that the button should display 101 public JToggleButton(Icon icon) { argument 102 this(null, icon, false); 109 * @param icon the image that the button should display 113 public JToggleButton(Icon icon, boolean selected) { argument 114 this(null, icon, selected); 154 * @param icon the image that the button should display 156 public JToggleButton(String text, Icon icon) { argument 157 this(text, icon, false); 165 * @param icon th 169 JToggleButton(String text, Icon icon, boolean selected) argument [all...] |
H A D | AbstractAction.java | 43 * <code>Action</code> object properties (icon, text, and enabled) are defined 143 * Creates an {@code Action} with the specified name and small icon. 147 * @param icon the small icon ({@code Action.SMALL_ICON}) for the action; a 150 public AbstractAction(String name, Icon icon) { argument 152 putValue(Action.SMALL_ICON, icon);
|
H A D | LookAndFeel.java | 542 * <code>icon</code> this method returns {@code null}. 549 * @param icon {@code Icon} to generate the disabled icon from 554 public Icon getDisabledIcon(JComponent component, Icon icon) { argument 555 if (icon instanceof ImageIcon) { 557 createDisabledImage(((ImageIcon)icon).getImage())); 570 * <code>Icon</code>. If {@code null} is passed as <code>icon</code> this 578 * @param icon {@code Icon} to generate disabled and selected icon from 579 * @return disabled and selected icon, o 583 getDisabledSelectedIcon(JComponent component, Icon icon) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/ |
H A D | SynthIcon.java | 34 * An icon that is passed a SynthContext. Subclasses need only implement 41 public static int getIconWidth(Icon icon, SynthContext context) { argument 42 if (icon == null) { 45 if (icon instanceof SynthIcon) { 46 return ((SynthIcon)icon).getIconWidth(context); 48 return icon.getIconWidth(); 51 public static int getIconHeight(Icon icon, SynthContext context) { argument 52 if (icon == null) { 55 if (icon instanceof SynthIcon) { 56 return ((SynthIcon)icon) 61 paintIcon(Icon icon, SynthContext context, Graphics g, int x, int y, int w, int h) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/ |
H A D | IconManager.java | 46 private static ImageIcon getSmallIcon(ImageIcon icon) { argument 48 icon.getImage().getScaledInstance(16, 16, Image.SCALE_SMOOTH));
|
H A D | XObject.java | 40 public XObject (Object object, Icon icon) { argument 42 setIcon(icon); 81 // use default icon
|
H A D | XMBean.java | 39 private Icon icon; field in class:XMBean 54 icon = IconManager.MBEANSERVERDELEGATE; 56 icon = IconManager.MBEAN; 175 return icon; 178 public void setIcon(Icon icon) { argument 179 this.icon = icon;
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | ScreenMenuPropertyHandler.java | 37 public void setIcon(Icon icon); argument
|
H A D | AquaFocus.java | 79 final Icon icon; 82 public FocusedIcon(final Icon icon, final int slack) { 83 this.icon = icon; 89 return icon.getIconHeight() + slack + slack; 94 return icon.getIconWidth() + slack + slack; 102 icon.paintIcon(c, sg2d, x + slack, y + slack); 106 icon.paintIcon(c, g, x + slack, y + slack); 113 final Icon icon; field in class:AquaFocus.FocusedIcon 116 public FocusedIcon(final Icon icon, fina argument [all...] |
/openjdk7/jdk/src/share/classes/sun/swing/icon/ |
H A D | SortArrowIcon.java | 25 package sun.swing.icon; 36 * Sorting icon. 59 * @param ascending if true, icon respresenting ascending sort, otherwise 61 * @param color the color to render the icon 74 * @param ascending if true, icon respresenting ascending sort, otherwise
|
/openjdk7/jdk/src/share/demo/jfc/FileChooserDemo/ |
H A D | ExampleFileView.java | 51 * manages name, icon, traversable, and file type information. 58 * file type, icon, and hidden file inforation, this implementation may 150 * Adds an icon based on the file type "dot" extension 153 public void putIcon(String extension, Icon icon) { argument 154 icons.put(extension, icon); 166 Icon icon = null; 169 icon = icons.get(extension); 171 return icon; 180 * return a special icon for the directory that makes it look like a regular
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicRadioButtonUI.java | 47 protected Icon icon; field in class:BasicRadioButtonUI 77 icon = UIManager.getIcon(getPropertyPrefix() + "icon"); 91 return icon; 156 // Use selected icon 246 // find the union of the icon and text rects (from Rectangle.java)
|
H A D | BasicLabelUI.java | 89 Icon icon, 98 icon, 157 Icon icon = (label.isEnabled()) ? label.getIcon() : label.getDisabledIcon(); 159 if ((icon == null) && (text == null)) { 166 if (icon != null) { 167 icon.paintIcon(c, g, paintIconR.x, paintIconR.y); 192 Icon icon = (label.isEnabled()) ? label.getIcon() : 201 return layoutCL(label, fm, text, icon, paintViewR, paintIconR, 209 Icon icon = (label.isEnabled()) ? label.getIcon() : 217 if ((icon 85 layoutCL( JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/ |
H A D | MWindowAttributes.java | 52 java.awt.Image icon; field in class:MWindowAttributes 69 icon = null;
|
/openjdk7/jdk/test/java/awt/TrayIcon/DragEventSource/ |
H A D | DragEventSource.java | 50 static TrayIcon icon = null; field in class:DragEventSource 86 "Drag the mouse from the Tray icon to FileDialog ", 104 icon = new TrayIcon(new BufferedImage(20, 20, BufferedImage.TYPE_INT_RGB)); 105 icon.setImageAutoSize(true); 108 tray.add(icon);
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | SheetDialog.java | 52 Icon icon, Object[] options, Object initialValue) { 69 message = fixWrapping(message, rootPane.getWidth() - 75); // Leave room for icon 72 icon, options, initialValue); 226 Icon icon, Object[] options, Object initialValue) { 227 super(message, messageType, optionType, icon, options, initialValue); 50 showOptionDialog(final VMPanel vmPanel, Object message, int optionType, int messageType, Icon icon, Object[] options, Object initialValue) argument 225 SheetOptionPane(Object message, int messageType, int optionType, Icon icon, Object[] options, Object initialValue) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | NimbusLookAndFeel.java | 205 // FileView icon keys are used by some applications, we don't have 206 // a computer icon at the moment so using home icon for now 359 public Icon getDisabledIcon(JComponent component, Icon icon) { argument 360 if (icon instanceof SynthIcon) { 361 SynthIcon si = (SynthIcon)icon; 369 return super.getDisabledIcon(component, icon); 440 * whether the handle icon needs to be shifted to look correct.
|