Lines Matching defs:target

123     XChoicePeer(Choice target) {
124 super(target);
129 Choice target = (Choice)this.target;
130 int numItems = target.getItemCount();
131 unfurledChoice = new UnfurledChoice(target);
139 target.getFont(),
149 Choice target = (Choice)this.target;
150 int numItems = target.getItemCount();
154 helper.add(target.getItem(i));
157 helper.select(target.getSelectedIndex());
158 helper.setFocusedIndex(target.getSelectedIndex());
231 ((Choice)target).select(newIdx);
232 postEvent(new ItemEvent((Choice)target,
234 ((Choice)target).getItem(newIdx),
246 ((Choice)target).select(newIdx);
247 postEvent(new ItemEvent((Choice)target,
249 ((Choice)target).getItem(newIdx),
261 ((Choice)target).select(newIdx);
262 postEvent(new ItemEvent((Choice)target,
264 ((Choice)target).getItem(newIdx),
276 ((Choice)target).select(newIdx);
277 postEvent(new ItemEvent((Choice)target,
279 ((Choice)target).getItem(newIdx),
296 ((Choice)target).select(newIdx);
297 postEvent(new ItemEvent((Choice)target,
299 ((Choice)target).getItem(newIdx),
411 ((Choice)target).select(dragStartIdx);
445 // Update the selected item in the target now that
448 ((Choice)target).select(newIdx);
453 ((Choice)target).select(dragStartIdx);
462 postEvent(new ItemEvent((Choice)target,
464 ((Choice)target).getItem(newIdx),
504 FontMetrics fm = getFontMetrics(target.getFont());
505 Choice c = (Choice)target;
519 Dimension size = target.getSize();
520 Font f = target.getFont();
521 FontMetrics fm = target.getFontMetrics(f);
522 String text = ((Choice)target).getLabel();
545 myCheckMark = AffineTransform.getScaleInstance((double)target.getFont().getSize() / MASTER_SIZE, (double)target.getFont().getSize() / MASTER_SIZE).createTransformedShape(MASTER_CHECKMARK);
753 // First try - use Choice as the target
755 public UnfurledChoice(Component target) {
756 super(target);
761 // A parent of this window is the target, at this point: wrong.
772 // x = target.x
773 // y = target.y + target.height
774 // w = Max(target.width, getLongestItemWidth) + possible vertScrollbar
775 // h = Min(MAX_UNFURLED_ITEMS, target.getItemCount()) * itemHeight
898 + ", newIdx=" + newIdx + " on " + target);
937 Choice choice = (Choice)target;
1030 InvocationEvent ev = new InvocationEvent(target, new Runnable() {
1032 if(target.isFocusable() &&
1082 InvocationEvent ev = new InvocationEvent(target, new Runnable() {