亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? control.java

?? 源碼為Eclipse開源開發平臺桌面開發工具SWT的源代碼,
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
	checkWidget ();	if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);	if (eventTable == null) return;	eventTable.unhook(SWT.Paint, listener);}/** * Removes the listener from the collection of listeners who will * be notified when traversal events occur. * * @param listener the listener which should be notified * * @exception IllegalArgumentException <ul> *    <li>ERROR_NULL_ARGUMENT - if the listener is null</li> * </ul> * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> * * @see TraverseListener * @see #addTraverseListener */public void removeTraverseListener(TraverseListener listener) {	checkWidget ();	if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);	if (eventTable == null) return;	eventTable.unhook (SWT.Traverse, listener);}boolean sendKeyEvent (int type, int msg, int wParam, int lParam) {	Event event = new Event ();	if (!setKeyState (event, type, wParam, lParam)) return true;	return sendKeyEvent (type, msg, wParam, lParam, event);}boolean sendKeyEvent (int type, int msg, int wParam, int lParam, Event event) {	sendEvent (type, event);	// widget could be disposed at this point		/*	* It is possible (but unlikely), that application	* code could have disposed the widget in the key	* events.  If this happens, end the processing of	* the key by returning false.	*/	if (isDisposed ()) return false;	return event.doit;}boolean sendFocusEvent (int type, int hwnd) {	Shell shell = getShell ();		/*	* It is possible (but unlikely), that application	* code could have disposed the widget in the focus	* out event.  If this happens keep going to send	* the deactivate events.	*/	sendEvent (type);	// widget could be disposed at this point		switch (type) {		case SWT.FocusIn:			/*			* It is possible that the shell may be			* disposed at this point.  If this happens			* don't send the activate and deactivate			* events.			*/				if (!shell.isDisposed ()) {				shell.setActiveControl (this);			}			break;		case SWT.FocusOut:			/*			* It is possible that the shell may be			* disposed at this point.  If this happens			* don't send the activate and deactivate			* events.			*/			if (!shell.isDisposed ()) {				Display display = shell.display;				Control control = hwnd != -1 ? display.findControl (hwnd) : display.getFocusControl ();				if (control == null || shell != control.getShell ()) {					shell.setActiveControl (null);				}			}			break;	}	return true;}boolean sendMouseEvent (int type, int button, int msg, int wParam, int lParam) {	Event event = new Event ();	event.button = button;	event.x = (short) (lParam & 0xFFFF);	event.y = (short) (lParam >> 16);	setInputState (event, type);	return sendMouseEvent (type, msg, wParam, lParam, event);}boolean sendMouseEvent (int type, int msg, int wParam, int lParam, Event event) {	postEvent (type, event);	return true;}/** * Sets the receiver's background color to the color specified * by the argument, or to the default system color for the control * if the argument is null. * * @param color the new color (or null) * * @exception IllegalArgumentException <ul> *    <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>  * </ul> * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */public void setBackground (Color color) {	checkWidget ();	int pixel = -1;	if (color != null) {		if (color.isDisposed()) SWT.error(SWT.ERROR_INVALID_ARGUMENT);		pixel = color.handle;	}	setBackgroundPixel (pixel);}void setBackgroundPixel (int pixel) {	if (background == pixel) return;	background = pixel;	OS.InvalidateRect (handle, null, true);}/** * Sets the receiver's size and location to the rectangular * area specified by the arguments. The <code>x</code> and  * <code>y</code> arguments are relative to the receiver's * parent (or its display if its parent is null), unless  * the receiver is a shell. In this case, the <code>x</code> * and <code>y</code> arguments are relative to the display. * <p> * Note: Attempting to set the width or height of the * receiver to a negative number will cause that * value to be set to zero instead. * </p> * * @param x the new x coordinate for the receiver * @param y the new y coordinate for the receiver * @param width the new width for the receiver * @param height the new height for the receiver * * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */public void setBounds (int x, int y, int width, int height) {	checkWidget ();	int flags = OS.SWP_NOZORDER | OS.SWP_DRAWFRAME | OS.SWP_NOACTIVATE;	setBounds (x, y, Math.max (0, width), Math.max (0, height), flags);}void setBounds (int x, int y, int width, int height, int flags) {	if (parent == null) {		SetWindowPos (handle, 0, x, y, width, height, flags);		return;	}	forceResize ();	WINDOWPOS [] lpwp = parent.lpwp;	if (lpwp == null) {		/*		* This code is intentionally commented.  All widgets that		* are created by SWT have WS_CLIPSIBLINGS to ensure that		* application code does not draw outside of the control.		*///		int count = parent.getChildrenCount ();//		if (count > 1) {//			int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);//			if ((bits & OS.WS_CLIPSIBLINGS) == 0) flags |= OS.SWP_NOCOPYBITS;//		}		SetWindowPos (handle, 0, x, y, width, height, flags);		return;	}	int index = 0;	while (index < lpwp.length) {		if (lpwp [index] == null) break;		index ++;	}	if (index == lpwp.length) {		WINDOWPOS [] newLpwp = new WINDOWPOS [lpwp.length + 4];		System.arraycopy (lpwp, 0, newLpwp, 0, lpwp.length);		parent.lpwp = lpwp = newLpwp;	}	WINDOWPOS wp = new WINDOWPOS ();	wp.hwnd = handle;	wp.x = x;	wp.y = y;	wp.cx = width;	wp.cy = height;	wp.flags = flags;	lpwp [index] = wp;}/** * Sets the receiver's size and location to the rectangular * area specified by the argument. The <code>x</code> and  * <code>y</code> fields of the rectangle are relative to * the receiver's parent (or its display if its parent is null). * <p> * Note: Attempting to set the width or height of the * receiver to a negative number will cause that * value to be set to zero instead. * </p> * * @param rect the new bounds for the receiver * * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */public void setBounds (Rectangle rect) {	checkWidget ();	if (rect == null) error (SWT.ERROR_NULL_ARGUMENT);	setBounds (rect.x, rect.y, rect.width, rect.height);}/** * If the argument is <code>true</code>, causes the receiver to have * all mouse events delivered to it until the method is called with * <code>false</code> as the argument. * * @param capture <code>true</code> to capture the mouse, and <code>false</code> to release it * * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */public void setCapture (boolean capture) {	checkWidget ();	if (capture) {		OS.SetCapture (handle);	} else {		if (OS.GetCapture () == handle) {			OS.ReleaseCapture ();		}	}}void setCursor () {	int lParam = OS.HTCLIENT | (OS.WM_MOUSEMOVE << 16);	OS.SendMessage (handle, OS.WM_SETCURSOR, handle, lParam);}/** * Sets the receiver's cursor to the cursor specified by the * argument, or to the default cursor for that kind of control * if the argument is null. * <p> * When the mouse pointer passes over a control its appearance * is changed to match the control's cursor. * </p> * * @param cursor the new cursor (or null) * * @exception IllegalArgumentException <ul> *    <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>  * </ul> * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */public void setCursor (Cursor cursor) {	checkWidget ();	if (cursor != null && cursor.isDisposed()) SWT.error(SWT.ERROR_INVALID_ARGUMENT);	this.cursor = cursor;	if (OS.IsWinCE) {		int hCursor = cursor != null ? cursor.handle : 0;		OS.SetCursor (hCursor);		return;	}	int hwndCursor = OS.GetCapture ();	if (hwndCursor == 0) {		POINT pt = new POINT ();		if (!OS.GetCursorPos (pt)) return;		int hwnd = hwndCursor = OS.WindowFromPoint (pt);		while (hwnd != 0 && hwnd != handle) {			hwnd = OS.GetParent (hwnd);		}		if (hwnd == 0) return;	}	Control control = display.getControl (hwndCursor);	if (control == null) control = this;	control.setCursor ();}void setDefaultFont () {	int hFont = display.systemFont ();	OS.SendMessage (handle, OS.WM_SETFONT, hFont, 0);}/** * Enables the receiver if the argument is <code>true</code>, * and disables it otherwise. A disabled control is typically * not selectable from the user interface and draws with an * inactive or "grayed" look. * * @param enabled the new enabled state * * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */public void setEnabled (boolean enabled) {	checkWidget ();	/*	* Feature in Windows.  If the receiver has focus, disabling	* the receiver causes no window to have focus.  The fix is	* to assign focus to the first ancestor window that takes	* focus.  If no window will take focus, set focus to the	* desktop.	*/	Control control = null;	boolean fixFocus = false;	if (!enabled) {		control = display.getFocusControl ();		fixFocus = isFocusAncestor (control);	}	enableWidget (enabled);	if (fixFocus) fixFocus (control);}/** * Causes the receiver to have the <em>keyboard focus</em>,  * such that all keyboard events will be delivered to it.  Focus * reassignment will respect applicable platform constraints. * * @return <code>true</code> if the control got focus, and <code>false</code> if it was unable to. * * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> * * @see #forceFocus */public boolean setFocus () {	checkWidget ();	if ((style & SWT.NO_FOCUS) != 0) return false;	return forceFocus ();}/** * Sets the font that the receiver will use to paint textual information * to the font specified by the argument, or to the default font for that * kind of control if the argument is null. * * @param font the new font (or null) * * @exception IllegalArgumentException <ul> *    <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>  * </ul> * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */public void setFont (Font font) {	checkWidget ();	int hFont = 0;	if (font != null) { 		if (font.isDisposed()) SWT.error(SWT.ERROR_INVALID_ARGUMENT);		hFont = font.handle;	}	if (hFont == 0) hFont = defaultFont ();	OS.SendMessage (handle, OS.WM_SETFONT, hFont, 1);}/** * Sets the receiver's foreground color to the color specified * by the argument, or to the default system color for the control * if the argument is null. * * @param color the new color (or null) * * @exception IllegalArgumentException <ul> *    <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>  * </ul> * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */public void setForeground (Color color) {	checkWidget ();	int pixel = -1;	if (color != null) {		if (color.isDisposed()) SWT.error(SWT.ERROR_INVALID_ARGUMENT);		pixel = color.handle;	}	setForegroundPixel (pixel);}void setForegroundPixel (int pixel) {	if (foreground == pixel) return;	foreground = pixel;	OS.InvalidateRect (handle, null, true);}/** * Sets the layout data associated with the receiver to the argument. *  * @param layoutData the new layout data for the receiver. *  * @

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩1区2区3区| 极品少妇xxxx精品少妇偷拍| 久久九九影视网| 日韩欧美一级二级| 91精品国产麻豆| 91精品国产欧美一区二区| 欧美日韩国产成人在线免费| 欧美日韩国产高清一区二区三区 | 亚洲愉拍自拍另类高清精品| 国产精品的网站| 亚洲精品免费电影| 亚洲一二三区视频在线观看| 首页国产丝袜综合| 蜜臀av一区二区三区| 精品无人码麻豆乱码1区2区| 高清不卡在线观看| 91成人看片片| 91超碰这里只有精品国产| 日韩一区二区免费电影| 久久久久久亚洲综合| 国产精品无人区| 亚洲一区二区在线免费看| 亚洲午夜成aⅴ人片| 久久精品99久久久| a美女胸又www黄视频久久| 欧美色图在线观看| 精品成人一区二区三区| 亚洲天堂a在线| 久久精品二区亚洲w码| 在线不卡中文字幕| 久久综合九色综合97婷婷女人 | 久久久久99精品一区| 亚洲欧洲国产日本综合| 无码av中文一区二区三区桃花岛| 91精品国产全国免费观看| 欧美高清在线一区二区| 国产91在线看| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 成人精品一区二区三区中文字幕| 国产亚洲欧美一级| av成人动漫在线观看| 亚洲欧美日韩在线| 欧美日韩黄色一区二区| 日本一道高清亚洲日美韩| 欧美本精品男人aⅴ天堂| 激情六月婷婷久久| 国产精品网站在线观看| 欧美在线观看一二区| 日韩av高清在线观看| 精品国产露脸精彩对白| 成人黄色在线视频| 亚洲一区二区在线播放相泽| 欧美精品第一页| 国产精品99久| 亚洲麻豆国产自偷在线| 在线观看91av| 粉嫩av一区二区三区粉嫩| 亚洲美女少妇撒尿| 欧美大片在线观看| 97精品超碰一区二区三区| 亚洲第一成人在线| 久久免费美女视频| 日本丶国产丶欧美色综合| 日韩中文字幕区一区有砖一区| 精品成人a区在线观看| 色狠狠色噜噜噜综合网| 久久国产婷婷国产香蕉| 亚洲视频你懂的| 精品久久人人做人人爽| 色婷婷国产精品综合在线观看| 久久精品噜噜噜成人av农村| 亚洲欧美区自拍先锋| 欧美喷水一区二区| 成人aa视频在线观看| 性做久久久久久免费观看| 亚洲国产精品精华液ab| 这里只有精品电影| 99vv1com这只有精品| 精品一区二区三区欧美| 伊人开心综合网| 国产色产综合产在线视频| 欧美精品色一区二区三区| 成人美女视频在线观看| 久久精品国产色蜜蜜麻豆| 亚洲国产成人精品视频| 国产精品欧美久久久久一区二区| 欧美一区二区三区电影| 欧美最新大片在线看| av中文字幕一区| 国产经典欧美精品| 免费日本视频一区| 亚洲一区在线观看免费| 亚洲视频在线观看三级| 欧美激情一区三区| 337p粉嫩大胆色噜噜噜噜亚洲| 欧美日免费三级在线| 99精品黄色片免费大全| 成人一级片网址| 国产999精品久久久久久绿帽| 另类综合日韩欧美亚洲| 日本不卡在线视频| 亚洲成人一区在线| 亚洲国产精品久久人人爱| 中文字幕中文乱码欧美一区二区| 国产亚洲污的网站| 2022国产精品视频| 精品捆绑美女sm三区| 日韩精品最新网址| 精品免费一区二区三区| 久久亚洲捆绑美女| 久久免费午夜影院| 欧美国产丝袜视频| 国产精品美女久久久久久| 欧美国产日韩精品免费观看| 国产午夜亚洲精品理论片色戒| 久久久久久亚洲综合影院红桃| www国产亚洲精品久久麻豆| 精品精品国产高清a毛片牛牛| 亚洲精品一区二区三区四区高清| 欧美成人三级在线| 久久久久久久网| 欧美国产欧美亚州国产日韩mv天天看完整| 久久青草国产手机看片福利盒子| 国产日本一区二区| 自拍偷拍国产亚洲| 亚洲一级不卡视频| 麻豆国产一区二区| 国产一二三精品| www.亚洲精品| 在线免费观看日本一区| 337p亚洲精品色噜噜狠狠| 日韩视频不卡中文| 国产片一区二区| 亚洲一区二区在线免费看| 日韩激情视频在线观看| 久久99精品国产91久久来源| 国产成人夜色高潮福利影视| 色综合久久综合中文综合网| 欧美日韩精品一区二区| 精品国产凹凸成av人导航| 欧美国产一区二区| 午夜精品久久久久久久99水蜜桃| 国产一区二区久久| 一本到高清视频免费精品| 91精品国产乱| 国产精品久久久久久久久免费丝袜| 一区二区三区免费在线观看| 麻豆国产欧美日韩综合精品二区| 国产成+人+日韩+欧美+亚洲| 在线视频一区二区免费| 久久综合久久久久88| 亚洲乱码国产乱码精品精的特点| 蜜桃av噜噜一区| av在线不卡网| 精品少妇一区二区| 一区二区三区免费网站| 激情六月婷婷久久| 欧美老肥妇做.爰bbww| 国产欧美日韩综合精品一区二区| 亚洲亚洲人成综合网络| 国产在线精品一区在线观看麻豆| 91福利区一区二区三区| 国产日韩欧美激情| 欧美aⅴ一区二区三区视频| 北岛玲一区二区三区四区| 精品成人一区二区三区| 亚洲gay无套男同| 成人小视频在线观看| 欧美va亚洲va国产综合| 亚洲午夜电影在线| 91看片淫黄大片一级| 国产欧美中文在线| 久久精品国产网站| 欧美丰满嫩嫩电影| 一区二区三区鲁丝不卡| 成人晚上爱看视频| 久久亚洲捆绑美女| 狠狠色丁香婷综合久久| 欧美精品粉嫩高潮一区二区| 亚洲欧美另类小说视频| 成人黄色免费短视频| 久久你懂得1024| 久久99久国产精品黄毛片色诱| 欧美日韩国产一级二级| 一区二区三区国产精品| 色网综合在线观看| 国产精品久久久久久久久久久免费看| 国产一区二区电影| 精品国产91乱码一区二区三区| 日本成人在线不卡视频| 在线电影院国产精品| 婷婷久久综合九色综合绿巨人| 欧美日韩亚洲高清一区二区| 亚洲美女在线一区| 在线视频欧美精品| 亚洲一区电影777| 欧美日韩精品是欧美日韩精品| 亚洲成人中文在线| 制服.丝袜.亚洲.中文.综合| 亚洲成人精品影院|