Searched defs:arrowIcon (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthMenuItemUI.java119 arrowIcon = style.getIcon(context, prefix + ".arrowIcon");
214 Icon arrowIcon,
219 context, accContext, c, checkIcon, arrowIcon,
282 Icon arrowIcon = style.getIcon(context, prefix + ".arrowIcon");
283 SynthGraphicsUtils.paint(context, accContext, g, checkIcon, arrowIcon,
212 getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) argument
H A DSynthMenuUI.java99 arrowIcon = style.getIcon(context, prefix + ".arrowIcon");
103 arrowIcon = null;
215 Icon arrowIcon,
220 context, accContext, c, checkIcon, arrowIcon,
282 Icon arrowIcon = style.getIcon(context, prefix + ".arrowIcon");
283 SynthGraphicsUtils.paint(context, accContext, g, checkIcon, arrowIcon,
213 getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) argument
H A DSynthMenuItemLayoutHelper.java108 JMenuItem mi, Icon checkIcon, Icon arrowIcon,
119 reset(mi, checkIcon, arrowIcon, viewRect, gap, accDelimiter,
107 SynthMenuItemLayoutHelper(SynthContext context, SynthContext accContext, JMenuItem mi, Icon checkIcon, Icon arrowIcon, Rectangle viewRect, int gap, String accDelimiter, boolean isLeftToRight, boolean useCheckAndArrow, String propertyPrefix) argument
H A DSynthGraphicsUtils.java429 Icon checkIcon, Icon arrowIcon, int defaultTextIconGap,
435 context, accContext, mi, checkIcon, arrowIcon,
488 Icon checkIcon, Icon arrowIcon, String acceleratorDelimiter,
499 context, accContext, mi, checkIcon, arrowIcon, viewRect,
427 getPreferredMenuItemSize(SynthContext context, SynthContext accContext, JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap, String acceleratorDelimiter, boolean useCheckAndArrow, String propertyPrefix) argument
487 paint(SynthContext context, SynthContext accContext, Graphics g, Icon checkIcon, Icon arrowIcon, String acceleratorDelimiter, int defaultTextIconGap, String propertyPrefix) argument
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsMenuUI.java278 Icon arrowIcon,
281 Dimension d = super.getPreferredMenuItemSize(c, checkIcon, arrowIcon,
276 getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) argument
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifComboBoxUI.java48 Icon arrowIcon; field in class:MotifComboBoxUI
57 arrowIcon = new MotifComboBoxArrowIcon(UIManager.getColor("controlHighlight"),
149 arrowIcon.paintIcon(c,g,r.x,r.y);
212 b.x = b.x + b.width - HORIZ_MARGIN - arrowIcon.getIconWidth();
217 b.y = b.y + (b.height - arrowIcon.getIconHeight()) / 2;
218 b.width = arrowIcon.getIconWidth();
219 b.height = arrowIcon.getIconHeight();
243 return arrowIcon.getIconWidth() + (2 * HORIZ_MARGIN);
245 return arrowIcon.getIconWidth() + (3 * HORIZ_MARGIN) + 2;
H A DMotifGraphicsUtils.java147 Icon checkIcon, Icon arrowIcon,
202 checkIcon, arrowIcon,
320 if (arrowIcon != null) {
324 arrowIcon.paintIcon(c, g, arrowRect.x, arrowRect.y);
347 Icon arrowIcon,
401 /* Initialize the arrowIcon bounds rectangle arrowIconR.
404 if (arrowIcon != null) {
405 arrowIconR.width = arrowIcon.getIconWidth();
406 arrowIconR.height = arrowIcon.getIconHeight();
146 paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) argument
339 layoutMenuItem( JComponent c, FontMetrics fm, String text, FontMetrics fmAccel, String acceleratorText, Icon icon, Icon checkIcon, Icon arrowIcon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, Rectangle acceleratorR, Rectangle checkIconR, Rectangle arrowIconR, int textIconGap, int menuItemGap ) argument
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicMenuItemUI.java83 protected Icon arrowIcon = null; field in class:BasicMenuItemUI
179 if (arrowIcon == null ||
180 arrowIcon instanceof UIResource) {
181 arrowIcon = UIManager.getIcon(prefix + ".arrowIcon");
257 if (arrowIcon instanceof UIResource)
258 arrowIcon = null;
369 arrowIcon,
385 Icon arrowIcon,
413 arrowIcon, MenuItemLayoutHelpe
383 getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) argument
480 paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) argument
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaMenuPainter.java156 protected void paintMenuItem(final Client client, final Graphics g, final JComponent c, final Icon checkIcon, final Icon arrowIcon, final Color background, final Color foreground, final Color disabledForeground, final Color selectionForeground, final int defaultTextIconGap, final Font acceleratorFont) { argument
209 final String text = layoutMenuItem(b, fm, b.getText(), fmAccel, keyString, modifiersString, b.getIcon(), checkIcon, arrowIcon, b.getVerticalAlignment(), b.getHorizontalAlignment(), b.getVerticalTextPosition(), b.getHorizontalTextPosition(), viewRect, iconRect, textRect, acceleratorRect, checkIconRect, arrowIconRect, b.getText() == null ? 0 : defaultTextIconGap, defaultTextIconGap);
292 if (arrowIcon != null) {
293 paintArrow(g, b, model, arrowIcon, arrowIconRect);
302 protected Dimension getPreferredMenuItemSize(final JComponent c, final Icon checkIcon, final Icon arrowIcon, final int defaultTextIconGap, final Font acceleratorFont) { argument
333 layoutMenuItem(b, fm, text, fmAccel, keyString, modifiersString, icon, checkIcon, arrowIcon, b.getVerticalAlignment(), b.getHorizontalAlignment(), b.getVerticalTextPosition(), b.getHorizontalTextPosition(), viewRect, iconRect, textRect, acceleratorRect, checkIconRect, arrowIconRect, text == null ? 0 : defaultTextIconGap, defaultTextIconGap);
352 // Add in the arrowIcon space
398 protected void paintArrow(Graphics g, JMenuItem c, ButtonModel model, Icon arrowIcon, Rectangle arrowIconRect) { argument
401 if (c instanceof JMenu && (model.isArmed() || model.isSelected()) && arrowIcon instanceof InvertableIcon) {
402 ((InvertableIcon)arrowIcon)
439 layoutMenuItem(final JMenuItem menuItem, final FontMetrics fm, final String text, final FontMetrics fmAccel, String keyString, final String modifiersString, final Icon icon, final Icon checkIcon, final Icon arrowIcon, final int verticalAlignment, final int horizontalAlignment, final int verticalTextPosition, final int horizontalTextPosition, final Rectangle viewR, final Rectangle iconR, final Rectangle textR, final Rectangle acceleratorR, final Rectangle checkIconR, final Rectangle arrowIconR, final int textIconGap, final int menuItemGap) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/swing/
H A DMenuItemLayoutHelper.java67 private Icon arrowIcon; field in class:MenuItemLayoutHelper
103 public MenuItemLayoutHelper(JMenuItem mi, Icon checkIcon, Icon arrowIcon, argument
107 reset(mi, checkIcon, arrowIcon, viewRect, gap, accDelimiter,
111 protected void reset(JMenuItem mi, Icon checkIcon, Icon arrowIcon, argument
134 this.arrowIcon = arrowIcon;
287 if (arrowIcon != null) {
288 arrowSize.width = arrowIcon.getIconWidth();
289 arrowSize.height = arrowIcon.getIconHeight();
894 return arrowIcon;
1017 setArrowIcon(Icon arrowIcon) argument
[all...]

Completed in 76 milliseconds