Searched refs:menuWidth (Results 1 - 6 of 6) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsMenuUI.java150 int menuWidth = menu.getWidth();
158 g.fillRect(0,0, menuWidth, menuHeight);
164 g.drawLine(0,0, menuWidth - 1,0);
168 g.drawLine(menuWidth - 1,0, menuWidth - 1,menuHeight - 2);
169 g.drawLine(0,menuHeight - 2, menuWidth - 1,menuHeight - 2);
183 g.fillRect(0, 0, menuWidth, menuHeight);
187 g.drawLine(0,0, menuWidth - 1,0);
191 g.drawLine(menuWidth - 1,0, menuWidth
[all...]
H A DWindowsMenuItemUI.java113 int menuWidth = menuItem.getWidth();
118 g.fillRect(0,0, menuWidth, menuHeight);
125 menuWidth,
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaMenuUI.java64 public void paintBackground(final Graphics g, final JComponent c, final int menuWidth, final int menuHeight) { argument
71 AquaMenuPainter.instance().paintSelectedMenuTitleBackground(g, menuWidth, menuHeight);
73 AquaMenuPainter.instance().paintSelectedMenuItemBackground(g, menuWidth, menuHeight);
77 AquaMenuPainter.instance().paintMenuBarBackground(g, menuWidth, menuHeight, c);
80 g.fillRect(0, 0, menuWidth, menuHeight);
H A DAquaMenuItemUI.java122 public void paintBackground(final Graphics g, final JComponent c, final int menuWidth, final int menuHeight) { argument
127 g.fillRect(0, 0, menuWidth, menuHeight);
130 AquaMenuPainter.instance().paintSelectedMenuItemBackground(g, menuWidth, menuHeight);
132 //getTheme().drawMenuItem(c, g, 0, 0, menuWidth, menuHeight);
138 g.fillRect(0, 0, menuWidth, menuHeight);
142 g.fillRect(0, 0, menuWidth, menuHeight);
143 //super.paintBackground(g,c,menuWidth, menuHeight); //getTheme().drawMenuBackground((Component)c, g, (short)1, 0, 0, menuWidth, menuHeight);
H A DAquaMenuPainter.java80 public void paintBackground(Graphics g, JComponent c, int menuWidth, int menuHeight); argument
161 final int menuWidth = b.getWidth();
165 Rectangle viewRect = new Rectangle(0, 0, menuWidth, menuHeight);
182 client.paintBackground(g, c, menuWidth, menuHeight);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicMenuItemUI.java644 int menuWidth = menuItem.getWidth();
650 g.fillRect(0,0, menuWidth, menuHeight);
653 g.fillRect(0,0, menuWidth, menuHeight);
660 g.fillRect(0,0, menuWidth, menuHeight);

Completed in 38 milliseconds