Searched refs:getIconWidth (Results 26 - 50 of 90) sorted by relevance

1234

/openjdk9/jdk/test/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/scrollpane/
H A DScrollPaneDemo.java128 hsb.setValue(icon.getIconWidth() / 10);
/openjdk9/jdk/src/java.desktop/share/classes/sun/swing/table/
H A DDefaultTableCellHeaderRenderer.java152 emptyIcon.width = sortArrow.getIconWidth();
186 int x = getWidth() - i.right - sortArrow.getIconWidth();
196 public int getIconWidth() { return width; } method in class:DefaultTableCellHeaderRenderer.EmptyIcon
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/
H A DSynthMenuItemLayoutHelper.java132 getIconSize().setWidth(SynthGraphicsUtils.getIconWidth(getIcon(), context));
167 SynthGraphicsUtils.getIconWidth(getCheckIcon(), context));
174 SynthGraphicsUtils.getIconWidth(getArrowIcon(), context));
H A DSynthToolBarUI.java275 SynthGraphicsUtils.getIconWidth(handleIcon, context);
277 SynthGraphicsUtils.getIconWidth(handleIcon, context),
350 SynthGraphicsUtils.getIconWidth(handleIcon, context) : 0;
387 SynthGraphicsUtils.getIconWidth(handleIcon, context) : 0;
439 SynthGraphicsUtils.getIconWidth(handleIcon, context) : 0;
H A DSynthGraphicsUtils.java289 return new Dimension(getIconWidth(icon, ss) + dx,
427 * The {@code getIconWidth(context)} method is called for {@code SynthIcon}.
433 public static int getIconWidth(Icon icon, SynthContext context) { method in class:SynthGraphicsUtils
438 return ((SynthIcon) icon).getIconWidth(context);
440 return icon.getIconWidth();
715 public int getIconWidth() { method in class:SynthGraphicsUtils.SynthIconWrapper
716 return synthIcon.getIconWidth(context);
H A DSynthTreeUI.java605 int w = SynthGraphicsUtils.getIconWidth(icon, paintContext);
721 imageOffset = currentI.getIconWidth() +
786 public int getIconWidth(SynthContext context) { method in class:SynthTreeUI.ExpandedIconWrapper
790 width = SynthGraphicsUtils.getIconWidth(expandedIcon, context);
793 width = SynthGraphicsUtils.getIconWidth(expandedIcon, context);
/openjdk9/jdk/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaInternalFrameBorder.java167 int iconWidth = getIconWidth(frame);
325 if (icon.getIconWidth() > sMaxIconWidth
329 double xScaleFactor = (double) sMaxIconWidth / icon.getIconWidth();
349 protected int getIconWidth(final JInternalFrame frame) { method in class:AquaInternalFrameBorder
357 width = Math.min(icon.getIconWidth(), sMaxIconWidth);
509 titleWidth += icon.getIconWidth();
H A DScreenMenuItemCheckbox.java176 if (i.getIconWidth() > 0 && i.getIconHeight() > 0) {
H A DScreenMenuItem.java187 if (i.getIconWidth() > 0 && i.getIconHeight() > 0) {
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/
H A DImageIcon.java436 public int getIconWidth() { method in class:ImageIcon
513 if (w != getIconWidth() || h != getIconHeight()) {
532 int w = getIconWidth();
/openjdk9/jdk/src/demo/share/jfc/SampleTree/
H A DSampleTreeCellRenderer.java157 int offset = (currentI.getIconWidth() + getIconTextGap());
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifTreeUI.java129 public int getIconWidth() { return SIZE; } method in class:MotifTreeUI.MotifExpandedIcon
H A DMotifDesktopIconUI.java167 int w = defaultIcon.getIconWidth();
254 return new Dimension(defaultIcon.getIconWidth() + 1,
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DMetalInternalFrameUI.java235 xOffset -= icon.getIconWidth();
239 icon.getIconWidth(), icon.getIconHeight());
H A DMetalComboBoxButton.java207 iconWidth = comboIcon.getIconWidth();
292 ret.width = insets.left + getComboIcon().getIconWidth() + insets.right;
H A DMetalBumps.java116 int iconWidth = getIconWidth();
135 public int getIconWidth() { method in class:MetalBumps
H A DMetalInternalFrameTitlePane.java291 int buttonWidth = closeButton.getIcon().getIconWidth();
441 xOffset -= icon.getIconWidth();
444 xOffset += leftToRight ? icon.getIconWidth() + 5 : -5;
H A DMetalTreeUI.java170 boxWidth = getExpandedIcon().getIconWidth() + 6;
/openjdk9/jdk/src/java.desktop/share/classes/sun/swing/
H A DDefaultLayoutStyle.java188 return insets.left + icon.getIconWidth() + gap;
190 return insets.right + icon.getIconWidth() + gap;
/openjdk9/jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/
H A DMaximizableInternalFrame.java313 public int getIconWidth(){ method in class:MaximizableInternalFrame.MDIButtonIcon
314 return windowsIcon.getIconWidth();
H A DVMPanel.java160 insets.right += connectedIcon24.getIconWidth() + 8;
178 int x = getWidth() - insets.right - icon.getIconWidth() - 4;
184 connectedIconBounds = new Rectangle(x, y, icon.getIconWidth(), icon.getIconHeight());
/openjdk9/jdk/test/javax/swing/JInternalFrame/8146321/
H A DJInternalFrameIconTest.java109 public int getIconWidth() {
152 public int getIconWidth() {
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsInternalFrameTitlePane.java288 (iconWidth = icon.getIconWidth()) > 0 &&
532 if (icon != null && (iconSize = icon.getIconWidth()) > 0) {
550 int size = getIconWidth();
554 if (icon != null && (iconSize = icon.getIconWidth()) > 0) {
564 public int getIconWidth() { method in class:WindowsInternalFrameTitlePane.ScalableIconUIResource
/openjdk9/jdk/test/javax/swing/JMenuItem/6209975/
H A Dbug6209975.java161 public int getIconWidth() { method in class:bug6209975.MyIcon
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKIconFactory.java174 public int getIconWidth(SynthContext context) { method in class:GTKIconFactory.DelegatingIcon
312 public int getIconWidth(SynthContext context) { method in class:GTKIconFactory.ToolBarHandleIcon

Completed in 212 milliseconds

1234