Searched defs:checkIcon (Results 1 - 9 of 9) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthMenuItemUI.java121 checkIcon = style.getIcon(context, prefix + ".checkIcon");
213 Icon checkIcon,
219 context, accContext, c, checkIcon, arrowIcon,
281 Icon checkIcon = style.getIcon(context, prefix + ".checkIcon");
283 SynthGraphicsUtils.paint(context, accContext, g, checkIcon, arrowIcon,
212 getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) argument
H A DSynthMenuUI.java98 checkIcon = style.getIcon(context, prefix + ".checkIcon");
102 checkIcon = null;
214 Icon checkIcon,
220 context, accContext, c, checkIcon, arrowIcon,
281 Icon checkIcon = style.getIcon(context, prefix + ".checkIcon");
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,
165 // checkIcon
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.java277 Icon checkIcon,
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 DMotifGraphicsUtils.java147 Icon checkIcon, Icon arrowIcon,
202 checkIcon, arrowIcon,
217 if (checkIcon != null) {
220 checkIcon.paintIcon(c, g, checkRect.x, checkRect.y);
346 Icon checkIcon,
390 /* Initialize the checkIcon bounds rectangle checkIconR.
393 if (checkIcon != null) {
394 checkIconR.width = checkIcon.getIconWidth();
395 checkIconR.height = checkIcon.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.java84 protected Icon checkIcon = null; field in class:BasicMenuItemUI
183 if (checkIcon == null ||
184 checkIcon instanceof UIResource) {
185 checkIcon = UIManager.getIcon(prefix + ".checkIcon");
188 //then the icon is handled by the checkIcon.
197 && iconFactory.isCompatible(checkIcon, prefix)) {
198 checkIcon = iconFactory.getIcon(menuItem);
259 if (checkIcon instanceof UIResource)
260 checkIcon
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);
247 if (checkIcon != null) {
248 paintCheck(g, b, checkIcon, checkIconRect);
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);
348 // Add in the checkIcon
370 protected void paintCheck(final Graphics g, final JMenuItem item, Icon checkIcon, Rectangle checkIconRect) { argument
373 if (item.isArmed() && checkIcon instanceof InvertableIcon) {
374 ((InvertableIcon)checkIcon)
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.java66 private Icon checkIcon; 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
132 this.checkIcon = checkIcon;
200 // then the icon is handled by the checkIcon.
206 || !iconFactory.isCompatible(checkIcon, propertyPrefix)) {
281 // checkIcon
282 if (checkIcon !
1013 setCheckIcon(Icon checkIcon) argument
[all...]

Completed in 47 milliseconds