Searched defs:iconRect (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicToggleButtonUI.java90 Rectangle iconRect = new Rectangle();
101 viewRect, iconRect, textRect,
112 paintIcon(g, b, iconRect);
127 paintFocus(g, b, viewRect, textRect, iconRect);
131 protected void paintIcon(Graphics g, AbstractButton b, Rectangle iconRect) { argument
164 icon.paintIcon(b, g, iconRect.x, iconRect.y);
H A DBasicRadioButtonUI.java103 private static Rectangle iconRect = new Rectangle(); field in class:BasicRadioButtonUI
123 iconRect.x = iconRect.y = iconRect.width = iconRect.height = 0;
134 viewRect, iconRect, textRect,
176 altIcon.paintIcon(c, g, iconRect.x, iconRect.y);
179 getDefaultIcon().paintIcon(c, g, iconRect.x, iconRect
[all...]
H A DBasicButtonUI.java193 private static Rectangle iconRect = new Rectangle(); field in class:BasicButtonUI
216 paintIcon(g,c,iconRect);
230 paintFocus(g,b,viewRect,textRect,iconRect);
234 protected void paintIcon(Graphics g, JComponent c, Rectangle iconRect){ argument
289 icon.paintIcon(c, g, iconRect.x + getTextShiftOffset(),
290 iconRect.y + getTextShiftOffset());
292 icon.paintIcon(c, g, iconRect.x, iconRect.y);
342 Rectangle viewRect, Rectangle textRect, Rectangle iconRect){
443 iconRect
341 paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) argument
[all...]
H A DBasicTabbedPaneUI.java824 Rectangle iconRect = new Rectangle(),
835 paintTab(g, tabPlacement, rects, j, iconRect, textRect);
843 paintTab(g, tabPlacement, rects, selectedIndex, iconRect, textRect);
849 Rectangle iconRect, Rectangle textRect) {
868 tabRect, iconRect, textRect, isSelected);
885 paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected);
888 iconRect, textRect, isSelected);
1018 Rectangle tabRect, Rectangle iconRect,
1020 textRect.x = textRect.y = iconRect.x = iconRect
847 paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect) argument
1015 layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected ) argument
1048 paintIcon(Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected ) argument
1135 paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalButtonUI.java162 Rectangle viewRect, Rectangle textRect, Rectangle iconRect){
174 focusRect.setBounds( iconRect.union( textRect ) );
179 focusRect.setBounds( iconRect );
161 paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) argument
H A DMetalToggleButtonUI.java186 Rectangle viewRect, Rectangle textRect, Rectangle iconRect){
198 focusRect.setBounds( iconRect.union( textRect ) );
203 focusRect.setBounds( iconRect );
214 * space <code>iconRect</code>.
218 * @param iconRect space to render in
222 protected void paintIcon(Graphics g, AbstractButton b, Rectangle iconRect) { argument
223 super.paintIcon(g, b, iconRect);
185 paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) argument
H A DMetalTabbedPaneUI.java853 Rectangle iconRect, Rectangle textRect,
851 paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected) argument
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifButtonUI.java112 protected void paintIcon(Graphics g, JComponent c, Rectangle iconRect) { argument
123 super.paintIcon(g, c, iconRect);
127 protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect){ argument
H A DMotifTabbedPaneUI.java236 Rectangle iconRect, Rectangle textRect,
234 paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected) argument
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsButtonUI.java124 protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect){ argument
H A DWindowsToggleButtonUI.java158 Rectangle viewRect, Rectangle textRect, Rectangle iconRect) {
157 paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) argument
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaButtonUI.java257 Rectangle iconRect = new Rectangle();
295 paintFocus(g, b, viewRect, textRect, iconRect);
300 final String text = layoutAndGetText(g, b, aquaBorder, i, viewRect, iconRect, textRect);
304 paintIcon(g, b, iconRect);
321 protected String layoutAndGetText(final Graphics g, final AbstractButton b, final AquaButtonBorder aquaBorder, final Insets i, Rectangle viewRect, Rectangle iconRect, Rectangle textRect) { argument
330 iconRect.x = iconRect.y = iconRect.width = iconRect.height = 0;
338 final String text = SwingUtilities.layoutCompoundLabel(b, fm, originalText, b.getIcon(), b.getVerticalAlignment(), b.getHorizontalAlignment(), b.getVerticalTextPosition(), b.getHorizontalTextPosition(), viewRect, iconRect, textRec
[all...]
H A DAquaTabbedPaneUI.java269 protected void paintContents(final Graphics g, final int tabPlacement, final int tabIndex, final Rectangle tabRect, final Rectangle iconRect, final Rectangle textRect, final boolean isSelected) { argument
300 layoutLabel(tabPlacement, metrics, tabIndex < 0 ? 0 : tabIndex, title, icon, fContentRect, iconRect, textRect, false); // Never give it "isSelected" - ApprMgr handles this
303 transposeRect(iconRect);
317 rotateGraphics(g2d, tabRect, textRect, iconRect, tabPlacement);
326 paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected);
361 protected void rotateGraphics(final Graphics2D g2d, final Rectangle tabRect, final Rectangle textRect, final Rectangle iconRect, final int tabPlacement) { argument
364 int yIconDiff = 0; // iconRect.y - tabRect.y;
365 int xIconDiff = 0; // (tabRect.x+tabRect.width) - (iconRect.x + iconRect.width);
378 xIconDiff = iconRect
412 paintTabNormalFromRect(final Graphics g, final int tabPlacement, final Rectangle tabRect, final int nonRectIndex, final Rectangle iconRect, final Rectangle textRect, final boolean active, final boolean frameActive, final boolean isLeftToRight) argument
[all...]
H A DAquaTabbedPaneCopyFromBasicUI.java785 final Rectangle iconRect = new Rectangle(), textRect = new Rectangle();
795 paintTab(g, tabPlacement, rects, j, iconRect, textRect);
803 paintTab(g, tabPlacement, rects, selectedIndex, iconRect, textRect);
807 protected void paintTab(final Graphics g, final int tabPlacement, final Rectangle[] rects, final int tabIndex, final Rectangle iconRect, final Rectangle textRect) { argument
823 layoutLabel(tabPlacement, metrics, tabIndex, title, icon, tabRect, iconRect, textRect, isSelected);
835 paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected);
837 paintFocusIndicator(g, tabPlacement, rects, tabIndex, iconRect, textRect, isSelected);
962 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
963 textRect.x = textRect.y = iconRect.x = iconRect
982 paintIcon(final Graphics g, final int tabPlacement, final int tabIndex, final Icon icon, final Rectangle iconRect, final boolean isSelected) argument
1058 paintFocusIndicator(final Graphics g, final int tabPlacement, final Rectangle[] rects, final int tabIndex, final Rectangle iconRect, final Rectangle textRect, final boolean isSelected) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthTabbedPaneUI.java96 private Rectangle iconRect = new Rectangle(); field in class:SynthTabbedPaneUI
396 iconRect.setBounds(0, 0, 0, 0);
402 iconRect, textRect, textIconGap);
534 iconRect.setBounds(0, 0, 0, 0);
544 paintTab(tabContext, g, tabPlacement, rects, j, iconRect,
553 iconRect, textRect);
590 Rectangle iconRect, Rectangle textRect) {
647 tabRect, iconRect, textRect, isSelected);
652 paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected);
659 Rectangle tabRect, Rectangle iconRect,
588 paintTab(SynthContext ss, Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect) argument
656 layoutLabel(SynthContext ss, int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected ) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/swing/
H A DMenuItemLayoutHelper.java251 // iconRect
300 Rectangle iconRect = new Rectangle();
304 viewRect, iconRect, textRect, gap);
306 Rectangle labelRect = iconRect.union(textRect);
556 lr.iconRect.y += delta;
567 lr.iconRect.width = iconSize.maxWidth;
573 lr.iconRect, lr.textRect);
577 lr.iconRect.x += afterCheckIconGap - gap;
598 lr.setLabelRect(lr.textRect.union(lr.iconRect));
633 lr.iconRect
1127 private Rectangle iconRect; field in class:MenuItemLayoutHelper.LayoutResult
1143 LayoutResult(Rectangle iconRect, Rectangle textRect, Rectangle accRect, Rectangle checkRect, Rectangle arrowRect, Rectangle labelRect) argument
1158 setIconRect(Rectangle iconRect) argument
[all...]

Completed in 95 milliseconds