Searched refs:ITEM_MARGIN (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DListHelper.java52 private final int ITEM_MARGIN; // Margin between the border of the list field in class:ListHelper
121 ITEM_MARGIN = MARGIN;
259 * Height of an item (this doesn't include ITEM_MARGIN)
268 + ",item_margin=" + ITEM_MARGIN);
271 int newIdx = firstDisplayedIndex() + ((y - 2*ITEM_MARGIN) / (getItemHeight() + 2*ITEM_MARGIN));
507 int x = BORDER_WIDTH + ITEM_MARGIN;
508 int width = bounds.width - 2*ITEM_MARGIN - 2*BORDER_WIDTH - (vsbVis ? SCROLLBAR_WIDTH : 0);
510 int y = BORDER_WIDTH + ITEM_MARGIN;
517 y += height + 2*ITEM_MARGIN;
[all...]
H A DXChoicePeer.java55 public final static int ITEM_MARGIN = 1; field in class:XChoicePeer
142 ITEM_MARGIN,
800 numItemsDisplayed*(helper.getItemHeight()+2*ITEM_MARGIN);
805 helper.getMaxItemWidth() + 2 * (BORDER_WIDTH + ITEM_MARGIN + TEXT_SPACE) + (helper.isVSBVisible() ? SCROLLBAR_WIDTH : 0));
807 numItemsDisplayed*(helper.getItemHeight()+2*ITEM_MARGIN);

Completed in 95 milliseconds