/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | CustomCursor.java | 32 * A class to encapsulate a custom image-based cursor. 40 public CustomCursor(Image cursor, Point hotSpot, String name) argument 43 image = cursor; 49 tracker.addImage(cursor, 0); 54 int width = cursor.getWidth(c); 55 int height = cursor.getHeight(c); 58 // check absence of the image of cursor 59 // If the image is invalid, the cursor will be hidden (made completely 69 cursor = cursor [all...] |
H A D | GlobalCursorManager.java | 77 * The last time the cursor was updated, in milliseconds. 89 * the global cursor, except for Java MOUSE_MOVED events. 102 * @param e the InputEvent which triggered the cursor update. 126 * Set the global cursor to the specified cursor. The component over 130 protected abstract void setCursor(Component comp, Cursor cursor, argument 133 * Returns the global cursor position, in screen coordinates. 142 * under the cursor. This method should return null iff the cursor is 153 * Updates the global cursor [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/ |
H A D | LWCursorManager.java | 49 * Sets the cursor to correspond the component currently under mouse. 60 * Schedules updating the cursor on the corresponding event dispatch 64 * native update cursor request (e.g. WM_SETCURSOR on Windows). 81 final Cursor cursor; 86 cursor = lwpeer.getCursor(new Point(cursorPos.x - p.x, 89 cursor = (c != null) ? c.getCursor() : null; 91 setCursor(cursor); 95 * Returns the first visible, enabled and showing component under cursor. 98 * @param cursorPos Current cursor position. 122 * Returns the current cursor positio 132 setCursor(Cursor cursor) argument [all...] |
/openjdk7/jdk/src/share/demo/jfc/Metalworks/ |
H A D | MetalworksHelp.java | 124 * later than the request so that a cursor change 131 cursor = c; 136 // restore the original cursor 137 html.setCursor(cursor); 151 // schedule the cursor to revert after 159 Cursor cursor; field in class:HtmlPane.PageLoader
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CCustomCursor.java | 42 public CCustomCursor(final Image cursor, final Point hotSpot, final String name) throws IndexOutOfBoundsException, HeadlessException { argument 44 fImage = cursor; 62 // check absence of the image of cursor 63 // If the image is invalid, the cursor will be hidden (made completely 81 // Verify that the hotspot is within cursor bounds. 126 // Called from native when the cursor is set 137 // takes care of invalid cursor images, yet createFromImage() 138 // failed to do its job. Return null to keep the cursor unchanged.
|
H A D | CCursorManager.java | 58 // In order to avoid this, we returns last know cursor position. 68 protected void setCursor(final Cursor cursor) { argument 69 if (cursor == currentCursor) { 72 currentCursor = cursor; 74 if (cursor == null) { 79 if (cursor instanceof CCustomCursor) { 80 final CCustomCursor customCursor = (CCustomCursor) cursor; 89 final int type = cursor.getType(); 95 final String name = cursor.getName(); 105 // package private methods to handle cursor chang [all...] |
H A D | CDragSourceContextPeer.java | 80 public void startDrag(DragSourceContext dsc, Cursor cursor, Image dragImage, Point dragImageOffset) throws InvalidDnDOperationException { argument 84 super.startDrag(dsc, cursor, dragImage, dragImageOffset); 112 // Get drag cursor: 113 Cursor cursor = this.getCursor(); 144 clickCount, timestamp, cursor, fDragCImage, dragImageOffset.x, dragImageOffset.y, 470 Cursor cursor, CImage nsDragImage, int dragImageOffsetX, int dragImageOffsetY, 468 createNativeDragSource(Component component, ComponentPeer peer, long nativePeer, Transferable transferable, InputEvent triggerEvent, int dragPosX, int dragPosY, int extModifiers, int clickCount, long timestamp, Cursor cursor, CImage nsDragImage, int dragImageOffsetX, int dragImageOffsetY, int sourceActions, long[] formats, Map formatMap) argument
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XCustomCursor.java | 32 * A class to encapsulate a custom image-based cursor. 40 public XCustomCursor(Image cursor, Point hotSpot, String name) argument 42 super(cursor, hotSpot, name); 46 * Returns the supported cursor size 51 // check absence of the image of cursor 53 // the largest cursor size that could be dislpayed 110 long cursor = XlibWrapper.XCreatePixmapCursor(display,source,mask,fore_color.pData,back_color.pData,xHotSpot,yHotSpot); 119 XGlobalCursorManager.setPData(this,cursor);
|
H A D | XGlobalCursorManager.java | 64 protected void setCursor(Component comp, Cursor cursor, boolean useCache) { argument 69 Cursor cur = useCache ? cursor : getCapableCursor(comp); 88 //may want to override the cursor over some of their parts. 90 // in case of grab we do for Swing we need to update keep cursor updated 92 // the grabber as a current window and use its cursor. So we need to 93 // change cursor on the grabber too. 100 * Updates cursor on the grabber if it is window peer (i.e. current grab is for 112 // in case we have grabbed input for Swing we need to reset cursor 114 // let's use default cursor for this.
|
/openjdk7/jdk/src/solaris/classes/sun/awt/ |
H A D | X11CustomCursor.java | 34 * A class to encapsulate a custom image-based cursor. 41 public X11CustomCursor(Image cursor, Point hotSpot, String name) argument 43 super(cursor, hotSpot, name); 138 // On Solaris 2.5.x, the above code for cursor of any size runs fine 139 // but on Solaris 2.6, the width of a cursor has to be 8 divisible, 140 // otherwise, the cursor could be displayed as garbaged. 141 // To work around the 2.6 problem, the following code pads any cursor 142 // with a transparent area to make a new cursor of width 8 multiples.
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WCustomCursor.java | 36 * A class to encapsulate a custom image-based cursor. 43 public WCustomCursor(Image cursor, Point hotSpot, String name) argument 45 super(cursor, hotSpot, name);
|
H A D | WGlobalCursorManager.java | 49 protected native void setCursor(Component comp, Cursor cursor, boolean u); argument
|
H A D | WDragSourceContextPeer.java | 164 Cursor cursor, 162 doDragDrop( long nativeCtxt, Cursor cursor, int[] imageData, int imgWidth, int imgHight, int offsetX, int offsetY) argument
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Cursor.h | 71 static void setPData(jobject cursor, jlong pdata) { argument 73 env->CallVoidMethod(cursor, mSetPDataID, pdata); 82 /* data needed to reconstruct new cursor */
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | Queue.java | 136 QueueElement cursor = head; 138 while (cursor != null) { 139 System.err.println(" "+cursor); 140 last = cursor; 141 cursor = cursor.next; 152 QueueElement cursor; field in class:FIFOQueueEnumerator 156 cursor = q.tail; 160 return (cursor != null); 165 if (cursor ! 177 QueueElement cursor; field in class:LIFOQueueEnumerator [all...] |
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | DelayQueue.java | 505 int cursor; // index of next element to return; field in class:DelayQueue.Itr 514 return cursor < array.length; 519 if (cursor >= array.length) 521 lastRet = cursor; 522 return (E)array[cursor++];
|
H A D | PriorityBlockingQueue.java | 875 int cursor; // index of next element to return field in class:PriorityBlockingQueue.Itr 884 return cursor < array.length; 888 if (cursor >= array.length) 890 lastRet = cursor; 891 return (E)array[cursor++];
|
/openjdk7/jdk/src/share/classes/javax/accessibility/ |
H A D | AccessibleComponent.java | 98 * @param cursor the new Cursor for the object 101 public void setCursor(Cursor cursor); argument
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/daemon/ |
H A D | SnmpMibTree.java | 124 TreeNode retrieveMatchingBranch(long[] oid, int cursor) { argument 125 TreeNode node= retrieveChild(oid, cursor); 133 if( cursor + 1 == oid.length) { 139 TreeNode n = node.retrieveMatchingBranch(oid, cursor + 1); 219 private void registerNode(long[] oid, int cursor, SnmpMibAgent agent) { argument 221 if (cursor >= oid.length) 225 TreeNode child = retrieveChild(oid, cursor); 229 long theValue= oid[cursor]; 240 if(cursor == (oid.length - 1)) { 244 child.registerNode(oid, cursor [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | AbstractList.java | 334 int cursor = 0; field in class:AbstractList.Itr 351 return cursor != size(); 357 int i = cursor; 360 cursor = i + 1; 375 if (lastRet < cursor) 376 cursor--; 392 cursor = index; 396 return cursor != 0; 402 int i = cursor - 1; 404 lastRet = cursor [all...] |
H A D | ArrayDeque.java | 607 private int cursor = head; field in class:ArrayDeque.DeqIterator 622 return cursor != fence; 626 if (cursor == fence) 628 E result = elements[cursor]; 633 lastRet = cursor; 634 cursor = (cursor + 1) & (elements.length - 1); 642 cursor = (cursor - 1) & (elements.length - 1); 652 * tail instead of head for initial cursor, an 655 private int cursor = tail; field in class:ArrayDeque.DescendingIterator [all...] |
H A D | PriorityQueue.java | 477 private int cursor = 0; field in class:PriorityQueue.Itr 513 return cursor < size || 520 if (cursor < size) 521 return (E) queue[lastRet = cursor++]; 538 cursor--;
|
/openjdk7/jdk/src/share/classes/java/awt/dnd/ |
H A D | DragSourceContext.java | 67 * By default, {@code DragSourceContext} sets the cursor as appropriate 71 * the move action, the default move cursor is shown. When 73 * the default "no drop" cursor is shown. 75 * This default handling mechanism is disabled when a custom cursor is set 78 * of the developer to keep the cursor up to date, by listening 80 * Alternatively, you can provide custom cursor behavior by providing 144 * the default drag cursor behavior is activated for this drag operation. 160 * or {@code null} for the default cursor handling; 162 * for more details on the cursor handling mechanism during drag and drop 220 cursor 612 private Cursor cursor; field in class:DragSourceContext [all...] |
/openjdk7/jdk/src/share/back/ |
H A D | invoker.c | 65 nextArgumentTypeTag(void **cursor) argument 67 char *tagPtr = *cursor; 85 *cursor = tagPtr; 90 firstArgumentTypeTag(char *signature, void **cursor) argument 93 *cursor = signature + 1; /* skip to the first arg */ 94 return nextArgumentTypeTag(cursor); 110 void *cursor; local 142 argumentTag = firstArgumentTypeTag(request->methodSignature, &cursor); 161 argumentTag = nextArgumentTypeTag(&cursor); 178 argumentTag = firstArgumentTypeTag(request->methodSignature, &cursor); [all...] |
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_impl.h | 95 Cursor cursor; member in struct:Splash
|