Searched refs:itemHeight (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWTextComponentPeer.java107 final int itemHeight = (fm != null) ? fm.getHeight() : 10;
109 rows * itemHeight + borderHeight);
H A DLWListPeer.java150 final int itemHeight = (fm.getHeight() - fm.getLeading()) + (2 * space);
153 (fm == null ? 10 : itemHeight) * rows + (2 * margin));
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXMenuBarPeer.java258 int itemHeight = BAR_ITEM_MARGIN_TOP + maxHeight + BAR_ITEM_MARGIN_BOTTOM;
277 Rectangle bounds = new Rectangle(nextOffset, BAR_SPACING_TOP, itemWidth, itemHeight);
290 MappingData mappingData = new MappingData(mappedVector, BAR_SPACING_TOP + itemHeight + BAR_SPACING_BOTTOM);
H A DXMenuWindow.java257 int itemHeight = WINDOW_ITEM_MARGIN_TOP + dim.height + WINDOW_ITEM_MARGIN_BOTTOM;
258 Rectangle bounds = new Rectangle(WINDOW_SPACING_LEFT, nextOffset, itemWidth, itemHeight);
259 int y = (itemHeight + dim.height) / 2 - metrics.getTextBaseline();
261 nextOffset += itemHeight;
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Choice.cpp203 int itemHeight =(int)::SendMessage(GetHWnd(), CB_GETITEMHEIGHT, (UINT)0,0); local
208 return itemHeight*numItemsToShow + itemHeight/2;
H A Dawt_MenuItem.cpp479 measureInfo.itemHeight = height;
480 measureInfo.itemHeight += measureInfo.itemHeight/3;
H A Dawt_List.cpp279 LRESULT itemHeight = SendListMessage(LB_GETITEMHEIGHT, 0); local
301 SendListMessage(LB_SETITEMHEIGHT, 0, MAKELPARAM(itemHeight, 0));
H A Dawt_Component.cpp4258 measureInfo.itemHeight =

Completed in 259 milliseconds