Searched refs:icon (Results 126 - 150 of 155) sorted by relevance

1234567

/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicOptionPaneUI.java49 * <code>BasicMessagePaneUI</code> provides a means to place an icon,
62 * icon is an instance of <code>Icon</code> that is wrapped inside a
73 * The <code>Container</code>, message, icon, and buttons are all
334 * containing the body of the message. The icon is the created
577 * Creates and adds a JLabel representing the icon returned from
584 /* Create the icon. */
597 * Returns the icon from the {@code JOptionPane} the receiver is providing
598 * the look and feel for, or the default icon as returned from
601 * @return the icon
612 * Returns the icon t
1556 private Icon icon; field in class:BasicOptionPaneUI.ButtonFactory
1559 ButtonFactory(String text, int mnemonic, Icon icon, int minimumWidth) argument
[all...]
H A DBasicInternalFrameUI.java159 frame.setFrameIcon(UIManager.getIcon("InternalFrame.icon"));
1486 JInternalFrame.JDesktopIcon icon = null;
1489 icon = frame.getDesktopIcon();
1491 // the associated icon as well.
1498 // Relocate the icon base on the new parent bounds.
1499 if (icon != null) {
1500 Rectangle iconBounds = icon.getBounds();
1503 icon.setBounds(iconBounds.x, y,
H A DBasicTabbedPaneUI.java74 /** Text icon gap */
912 * @param iconRect the icon rectangle
933 Icon icon = getIconForTab(tabIndex);
935 layoutLabel(tabPlacement, metrics, tabIndex, title, icon,
953 paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected);
1089 * @param icon the icon
1091 * @param iconRect the icon rectangle
1097 String title, Icon icon,
1108 metrics, title, icon,
1095 layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected ) argument
1137 paintIcon(Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected ) argument
[all...]
H A DBasicSliderUI.java1400 Icon icon = label.isEnabled() ? ((JLabel) label).getIcon() : ((JLabel) label).getDisabledIcon();
1402 if (icon instanceof ImageIcon) {
1405 Toolkit.getDefaultToolkit().checkImage(((ImageIcon) icon).getImage(), -1, -1, slider);
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/
H A DJFileChooser.java1478 * the icon that represents a file or the type description of a file.
1581 * Returns the icon for this file or type of file, depending
1588 Icon icon = null;
1591 icon = getFileView().getIcon(f);
1596 if(icon == null && uiFileView != null) {
1597 icon = uiFileView.getIcon(f);
1600 return icon;
H A DDefaultDesktopManager.java155 // If the frame was an icon restore it back to an icon.
202 // The icon is the last frame.
258 // If the frame is not in parent, its icon maybe, check it
485 // Get the icon for this internal frame and its preferred size
488 JInternalFrame.JDesktopIcon icon = f.getDesktopIcon();
489 Dimension prefSize = icon.getPreferredSize();
509 // Iterate through valid default icon locations and return the
532 // Get the icon for this component
542 an icon
[all...]
H A DJInternalFrame.java47 * a native frame, including dragging, closing, becoming an icon,
156 * an icon-image).
170 /** The icon shown in the top-left corner of this internal frame. */
175 * The icon that is displayed when this internal frame is iconified.
221 public static final String IS_ICON_PROPERTY = "icon";
846 * make the <code>JInternalFrame</code> an icon.
907 parent if possible so that we can place the icon in its
1050 // The internal frame or the desktop icon must be showing to allow
1099 * Some look and feels might not support displaying an icon in the titlebar.
1107 * for that situation, such as displaying no icon
1115 setFrameIcon(Icon icon) argument
[all...]
/openjdk9/jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/
H A DConnectDialog.java726 Icon icon = (button.isEnabled()) ? button.getIcon() : button.getDisabledIcon();
728 if (icon == null && button.getUI() instanceof BasicRadioButtonUI) {
729 icon = ((BasicRadioButtonUI)button.getUI()).getDefaultIcon();
732 if ((icon == null) && (text == null)) {
754 icon,
/openjdk9/hotspot/src/share/vm/opto/
H A DphaseX.cpp728 ConINode* icon = _icons[i-_icon_min]; local
729 if (icon != NULL && icon->in(TypeFunc::Control) != NULL)
730 return icon;
732 ConINode* icon = (ConINode*) uncached_makecon(TypeInt::make(i)); local
733 assert(icon->is_Con(), "");
735 _icons[i-_icon_min] = icon; // Cache small integers
736 return icon;
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/tree/
H A DDefaultTreeCellEditor.java41 * to the icon in the <code>DefaultTreeCellRenderer</code>.
452 * <code>x</code> is &lt;= the width of the icon and icon gap displayed
671 * icon and use the selection color for the background.
677 // Then the icon.
719 * Calculate the y location for the icon.
721 private int calculateIconY(Icon icon) { argument
722 // To make sure the icon position matches that of the
725 int iconHeight = icon.getIconHeight();
/openjdk9/jdk/src/java.desktop/share/classes/sun/swing/
H A DFilePane.java1112 Icon icon = chooser.getIcon(file);
1113 setIcon(icon);
1392 Icon icon = chooser.getIcon(editFile);
1395 int editX = icon == null ? 20 : icon.getIconWidth() + 4;
1519 Icon icon = getFileChooser().getIcon(file);
1520 if (icon != null) {
1521 setIcon(icon);
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/
H A DFrame.java530 * Returns the image to be displayed as the icon for this frame.
535 * If a list of several images was specified as a Window's icon,
538 * @return the icon image for this frame, or {@code null}
539 * if this frame doesn't have an icon image.
1176 * an optional serializable icon {@code Image}, which is
1180 * @serialData an optional icon {@code Image}
1202 * to read an icon {@code Image}, which is optional
1203 * data available as of 1.4. If an icon {@code Image}
1210 * @exception java.io.OptionalDataException if an icon {@code Image}
1228 Image icon
[all...]
/openjdk9/jdk/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaFileChooserUI.java895 private Object showNewFolderDialog(final Component parentComponent, final Object message, final String title, final int messageType, final Icon icon, final Object[] options, final Object initialSelectionValue) { argument
896 final JOptionPane pane = new JOptionPane(message, messageType, JOptionPane.OK_CANCEL_OPTION, icon, options, null);
924 null, // icon
1034 protected String layoutCL(final JLabel label, final FontMetrics fontMetrics, final String text, final Icon icon, final Rectangle viewR, final Rectangle iconR, final Rectangle textR) { argument
1035 return SwingUtilities.layoutCompoundLabel(label, fontMetrics, text, icon, label.getVerticalAlignment(), label.getHorizontalAlignment(), label.getVerticalTextPosition(), label.getHorizontalTextPosition(), viewR, iconR, textR, label.getIconTextGap());
1040 Icon icon = getIcon();
1041 if (icon != null && !isEnabled()) {
1043 if (disabledIcon != null) icon = disabledIcon;
1046 if ((icon == null) && (text == null)) { return; }
1062 final String clippedText = layoutCL(this, fm, text, icon, paintView
[all...]
H A DAquaTabbedPaneCopyFromBasicUI.java822 final Icon icon = getIconForTab(tabIndex);
824 layoutLabel(tabPlacement, metrics, tabIndex, title, icon, tabRect, iconRect, textRect, isSelected);
836 paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected);
963 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
971 SwingUtilities.layoutCompoundLabel(tabPane, metrics, title, icon, SwingConstants.CENTER, SwingConstants.CENTER, SwingConstants.CENTER, SwingConstants.TRAILING, tabRect, iconRect, textRect, textIconGap);
983 protected void paintIcon(final Graphics g, final int tabPlacement, final int tabIndex, final Icon icon, final Rectangle iconRect, final boolean isSelected) { argument
984 if (icon != null) {
985 icon.paintIcon(tabPane, g, iconRect.x, iconRect.y);
1603 final Icon icon = getIconForTab(tabIndex);
1605 if (icon !
[all...]
H A DAquaImageFactory.java137 // improves icon rendering quality in Quartz
287 Image icon = Toolkit.getDefaultToolkit()
289 return icon;
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/
H A DSynthTreeUI.java603 protected void drawCentered(Component c, Graphics graphics, Icon icon, argument
605 int w = SynthGraphicsUtils.getIconWidth(icon, paintContext);
606 int h = SynthGraphicsUtils.getIconHeight(icon, paintContext);
608 SynthGraphicsUtils.paintIcon(icon, paintContext, graphics,
/openjdk9/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/
H A DJInternalFrameOperator.java645 * Creates an operator for an desktop icon.
647 * @return an icon operator.
657 * @param icon whether the frame needs to be iconified.
659 public void waitIcon(final boolean icon) { argument
663 return ((JInternalFrame) comp).isIcon() == icon;
1104 public void setFrameIcon(final Icon icon) { argument
1108 ((JInternalFrame) getSource()).setFrameIcon(icon);
/openjdk9/jdk/src/java.desktop/unix/classes/sun/awt/X11/
H A DXWindowPeer.java69 private static final PlatformLogger iconLog = PlatformLogger.getLogger("sun.awt.X11.icon.XWindowPeer");
132 * This constant defines icon size recommended for using.
134 * return icon sizes would be most appreciated by the WM.
298 //read icon images from target
313 log.finest("XWindowPeer.updateIconImages: Perhaps the image passed into Java is broken. Skipping this icon.");
327 //target.icons is empty or all icon images are broken
329 //icon is inherited from parent
333 //default icon is used
344 * initial list of the icon images to certainly-acceptable.
353 for (IconInfo icon
[all...]
/openjdk9/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/
H A DCPlatformWindow.java932 * Find image to install into Title or into Application icon. First try
933 * icons installed for toplevel. Null is returned, if there is no icon and
937 CImage icon = null;
939 icon = CImage.getCreator().createFromImages(target.getIconImages());
941 // Perhaps the icon passed into Java is broken. Skipping this icon.
943 return icon;
H A DCAccessibility.java657 Icon icon = l.getIcon();
658 if (icon != null) {
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DMetalTabbedPaneUI.java1232 Icon icon = tabPane.getIconAt( i );
1233 if ( icon != null ) {
1234 if ( icon.getIconHeight() > height ) {
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/util/
H A DSchemaTreeTraverser.java241 * 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);
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/text/html/
H A DFormView.java249 Icon icon = new ImageIcon(srcURL);
250 button = new JButton(icon);
/openjdk9/jdk/src/java.desktop/share/classes/sun/print/
H A DServiceDialog.java2838 * A special widget that groups a JRadioButton with an associated icon,
2852 Icon icon = java.security.AccessController.doPrivileged(
2855 Icon icon = new ImageIcon(imgURL);
2856 return icon;
2859 lbl = new JLabel(icon);
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/
H A DMetacity.java1320 Icon icon = jif.getFrameIcon();
1321 if (icon == null) {
1344 icon.paintIcon(jif, g, x, y);
1348 icon.paintIcon(jif, g, x, y);
1410 } else if ("icon".equals(name)) {

Completed in 388 milliseconds

1234567