AtkComponentIface iface = getComponentIface (atkObject); if (iface != null && iface.ref_accessible_at_point != 0) { parentResult = ATK.call (iface.ref_accessible_at_point, atkObject, x, y, coord_type);
AtkComponentIface iface = getComponentIface (atkObject); if (iface != null && iface.ref_accessible_at_point != 0) { parentResult = ATK.call (iface.ref_accessible_at_point, atkObject, x, y, coord_type);
AtkComponentIface iface = getComponentIface (atkObject); if (iface != null && iface.ref_accessible_at_point != 0) { parentResult = ATK.call (iface.ref_accessible_at_point, atkObject, x, y, coord_type);
static long /*int*/ atkComponent_get_size (long /*int*/ atkObject, long /*int*/ width, long /*int*/ height, long /*int*/ coord_type) { if (DEBUG) print ("-->atkComponent_get_size"); AccessibleObject object = getAccessibleObject (atkObject); OS.memmove (width, new int[] {0}, 4); OS.memmove (height, new int[] {0}, 4); AtkComponentIface iface = getComponentIface (atkObject); if (iface != null && iface.get_size != 0) { ATK.call (iface.get_size, atkObject, width, height, coord_type); } if (object != null) { Accessible accessible = object.accessible; List<AccessibleControlListener> listeners = accessible.accessibleControlListeners; int length = size(listeners); if (length > 0) { int[] parentWidth = new int [1], parentHeight = new int [1]; OS.memmove (parentWidth, width, 4); OS.memmove (parentHeight, height, 4); AccessibleControlEvent event = new AccessibleControlEvent (accessible); event.childID = object.id; event.width = parentWidth [0]; event.height = parentHeight [0]; for (int i = 0; i < length; i++) { AccessibleControlListener listener = listeners.get (i); listener.getLocation (event); } OS.memmove (width, new int[] {event.width}, 4); OS.memmove (height, new int[] {event.height}, 4); } } return 0; }
static int /*long*/ atkComponent_get_size (int /*long*/ atkObject, int /*long*/ width, int /*long*/ height, int /*long*/ coord_type) { if (DEBUG) print ("-->atkComponent_get_size"); AccessibleObject object = getAccessibleObject (atkObject); OS.memmove (width, new int[] {0}, 4); OS.memmove (height, new int[] {0}, 4); AtkComponentIface iface = getComponentIface (atkObject); if (iface != null && iface.get_size != 0) { ATK.call (iface.get_size, atkObject, width, height, coord_type); } if (object != null) { Accessible accessible = object.accessible; List<AccessibleControlListener> listeners = accessible.accessibleControlListeners; int length = size(listeners); if (length > 0) { int[] parentWidth = new int [1], parentHeight = new int [1]; OS.memmove (parentWidth, width, 4); OS.memmove (parentHeight, height, 4); AccessibleControlEvent event = new AccessibleControlEvent (accessible); event.childID = object.id; event.width = parentWidth [0]; event.height = parentHeight [0]; for (int i = 0; i < length; i++) { AccessibleControlListener listener = listeners.get (i); listener.getLocation (event); } OS.memmove (width, new int[] {event.width}, 4); OS.memmove (height, new int[] {event.height}, 4); } } return 0; }
static int /*long*/ atkComponent_get_size (int /*long*/ atkObject, int /*long*/ width, int /*long*/ height, int /*long*/ coord_type) { if (DEBUG) print ("-->atkComponent_get_size"); AccessibleObject object = getAccessibleObject (atkObject); OS.memmove (width, new int[] {0}, 4); OS.memmove (height, new int[] {0}, 4); AtkComponentIface iface = getComponentIface (atkObject); if (iface != null && iface.get_size != 0) { ATK.call (iface.get_size, atkObject, width, height, coord_type); } if (object != null) { Accessible accessible = object.accessible; List<AccessibleControlListener> listeners = accessible.accessibleControlListeners; int length = size(listeners); if (length > 0) { int[] parentWidth = new int [1], parentHeight = new int [1]; OS.memmove (parentWidth, width, 4); OS.memmove (parentHeight, height, 4); AccessibleControlEvent event = new AccessibleControlEvent (accessible); event.childID = object.id; event.width = parentWidth [0]; event.height = parentHeight [0]; for (int i = 0; i < length; i++) { AccessibleControlListener listener = listeners.get (i); listener.getLocation (event); } OS.memmove (width, new int[] {event.width}, 4); OS.memmove (height, new int[] {event.height}, 4); } } return 0; }
OS.memmove (x, new int[] {0}, 4); OS.memmove (y, new int[] {0}, 4); AtkComponentIface iface = getComponentIface (atkObject); if (iface != null && iface.get_position != 0) { ATK.call (iface.get_position, atkObject, x, y, coord_type);
OS.memmove (x, new int[] {0}, 4); OS.memmove (y, new int[] {0}, 4); AtkComponentIface iface = getComponentIface (atkObject); if (iface != null && iface.get_position != 0) { ATK.call (iface.get_position, atkObject, x, y, coord_type);
OS.memmove (x, new int[] {0}, 4); OS.memmove (y, new int[] {0}, 4); AtkComponentIface iface = getComponentIface (atkObject); if (iface != null && iface.get_position != 0) { ATK.call (iface.get_position, atkObject, x, y, coord_type);
OS.memmove (width, new int[] {0}, 4); OS.memmove (height, new int[] {0}, 4); AtkComponentIface iface = getComponentIface (atkObject); if (iface != null && iface.get_extents != 0) { ATK.call (iface.get_extents, atkObject, x, y, width, height, coord_type);
OS.memmove (width, new int[] {0}, 4); OS.memmove (height, new int[] {0}, 4); AtkComponentIface iface = getComponentIface (atkObject); if (iface != null && iface.get_extents != 0) { ATK.call (iface.get_extents, atkObject, x, y, width, height, coord_type);
OS.memmove (width, new int[] {0}, 4); OS.memmove (height, new int[] {0}, 4); AtkComponentIface iface = getComponentIface (atkObject); if (iface != null && iface.get_extents != 0) { ATK.call (iface.get_extents, atkObject, x, y, width, height, coord_type);