Lines Matching defs:id
1411 private int getListenersCount(int id, boolean enabledOnToolkit) {
1416 switch (id) {
1427 final int createHierarchyEvents(int id, Component changed,
1431 int listeners = getListenersCount(id, enabledOnToolkit);
1434 count -= component.get(i).createHierarchyEvents(id, changed,
1438 super.createHierarchyEvents(id, changed, changedParent,
1442 final void createChildHierarchyEvents(int id, long changeFlags,
1449 int listeners = getListenersCount(id, enabledOnToolkit);
1452 count -= component.get(i).createHierarchyEvents(id, this, parent,
2200 int id = e.getID();
2202 if (id == ContainerEvent.COMPONENT_ADDED ||
2203 id == ContainerEvent.COMPONENT_REMOVED) {
3097 * @param id one of KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,
3107 * @throws IllegalArgumentException if id is not one of
3120 public void setFocusTraversalKeys(int id,
3123 if (id < 0 || id >= KeyboardFocusManager.TRAVERSAL_KEY_LENGTH) {
3129 setFocusTraversalKeys_NoIDCheck(id, keystrokes);
3142 * @param id one of KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,
3154 * @throws IllegalArgumentException if id is not one of
3161 public Set<AWTKeyStroke> getFocusTraversalKeys(int id) {
3162 if (id < 0 || id >= KeyboardFocusManager.TRAVERSAL_KEY_LENGTH) {
3168 return getFocusTraversalKeys_NoIDCheck(id);
3177 * @param id one of KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,
3184 * @throws IllegalArgumentException if id is not one of
3191 public boolean areFocusTraversalKeysSet(int id) {
3192 if (id < 0 || id >= KeyboardFocusManager.TRAVERSAL_KEY_LENGTH) {
3196 return (focusTraversalKeys != null && focusTraversalKeys[id] != null);
4469 int id = e.getID();
4479 if (!isMouseGrab(e) && id != MouseEvent.MOUSE_CLICKED) {
4484 switch (id) {
4489 retargetMouseEvent(mouseEventTarget, id, e);
4492 retargetMouseEvent(mouseEventTarget, id, e);
4501 retargetMouseEvent(mouseOver, id, e);
4505 retargetMouseEvent(mouseEventTarget, id, e);
4509 retargetMouseEvent(mouseEventTarget, id, e);
4521 retargetMouseEvent(mouseOver, id, e);
4525 if (id != MouseEvent.MOUSE_WHEEL) {
4533 int id = e.getID();
4561 switch (id) {
4566 retargetMouseEvent(mouseOver, id, e);
4581 int id = e.getID();
4584 id == MouseEvent.MOUSE_ENTERED &&
4591 } else if ( id != MouseEvent.MOUSE_EXITED &&
4592 id != MouseEvent.MOUSE_DRAGGED &&
4593 id != LWD_MOUSE_DRAGGED_OVER &&
4598 } else if ( id == MouseEvent.MOUSE_EXITED ) {
4614 if (id == MouseEvent.MOUSE_EXITED) {
4622 if (id == MouseEvent.MOUSE_ENTERED) {
4670 (e.id == MouseEvent.MOUSE_DRAGGED) &&
4765 void retargetMouseEvent(Component target, int id, MouseEvent e) {
4783 id,
4787 } else if (id == MouseEvent.MOUSE_WHEEL) {
4789 id,
4805 id,
4835 if (id == MouseEvent.MOUSE_WHEEL && retargeted.isConsumed()) {