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

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

?? control.java

?? 源碼為Eclipse開源開發平臺桌面開發工具SWT的源代碼,
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
	checkWidget ();	return menu;}/** * Returns the receiver's monitor. *  * @return the receiver's monitor *  * @since 3.0 */public Monitor getMonitor () {	checkWidget ();	if (OS.IsWinCE || (OS.WIN32_MAJOR << 16 | OS.WIN32_MINOR) < (4 << 16 | 10)) {		return display.getPrimaryMonitor ();	}	int hmonitor = OS.MonitorFromWindow (handle, OS.MONITOR_DEFAULTTONEAREST);	MONITORINFO lpmi = new MONITORINFO ();	lpmi.cbSize = MONITORINFO.sizeof;	OS.GetMonitorInfo (hmonitor, lpmi);	Monitor monitor = new Monitor ();	monitor.handle = hmonitor;	monitor.x = lpmi.rcMonitor_left;	monitor.y = lpmi.rcMonitor_top;	monitor.width = lpmi.rcMonitor_right - lpmi.rcMonitor_left;	monitor.height = lpmi.rcMonitor_bottom - lpmi.rcMonitor_top;	monitor.clientX = lpmi.rcWork_left;	monitor.clientY = lpmi.rcWork_top;	monitor.clientWidth = lpmi.rcWork_right - lpmi.rcWork_left;	monitor.clientHeight = lpmi.rcWork_bottom - lpmi.rcWork_top;	return monitor;}/** * Returns the receiver's parent, which must be a <code>Composite</code> * or null when the receiver is a shell that was created with null or * a display for a parent. * * @return the receiver's parent * * @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 Composite getParent () {	checkWidget ();	return parent;}Control [] getPath () {	int count = 0;	Shell shell = getShell ();	Control control = this;	while (control != shell) {		count++;		control = control.parent;	}	control = this;	Control [] result = new Control [count];	while (control != shell) {		result [--count] = control;		control = control.parent;	}	return result;}/** * Returns the receiver's shell. For all controls other than * shells, this simply returns the control's nearest ancestor * shell. Shells return themselves, even if they are children * of other shells. * * @return the receiver's shell * * @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 #getParent */public Shell getShell () {	checkWidget ();	return parent.getShell ();}/** * Returns a point describing the receiver's size. The * x coordinate of the result is the width of the receiver. * The y coordinate of the result is the height of the * receiver. * * @return the receiver's size * * @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 Point getSize () {	checkWidget ();	forceResize ();	RECT rect = new RECT ();	OS.GetWindowRect (handle, rect);	int width = rect.right - rect.left;	int height = rect.bottom - rect.top;	return new Point (width, height);}/** * Returns the receiver's tool tip text, or null if it has * not been set. * * @return the receiver's tool tip text * * @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 String getToolTipText () {	checkWidget ();	return toolTipText;}/** * Returns <code>true</code> if the receiver is visible, and * <code>false</code> otherwise. * <p> * If one of the receiver's ancestors is not visible or some * other condition makes the receiver not visible, this method * may still indicate that it is considered visible even though * it may not actually be showing. * </p> * * @return the receiver's visibility 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 boolean getVisible () {	checkWidget ();	if (drawCount != 0) return (state & HIDDEN) == 0;	int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);	return (bits & OS.WS_VISIBLE) != 0;}boolean hasCursor () {	RECT rect = new RECT ();	if (!OS.GetClientRect (handle, rect)) return false;	if (OS.MapWindowPoints (handle, 0, rect, 2) == 0) return false;	POINT pt = new POINT ();	return OS.GetCursorPos (pt) && OS.PtInRect (rect, pt);}boolean hasFocus () {	/*	* If a non-SWT child of the control has focus,	* then this control is considered to have focus	* even though it does not have focus in Windows.	*/	int hwndFocus = OS.GetFocus ();	while (hwndFocus != 0) {		if (hwndFocus == handle) return true;		if (display.getControl (hwndFocus) != null) {			return false;		}		hwndFocus = OS.GetParent (hwndFocus);	}	return false;}/**	  * Invokes platform specific functionality to allocate a new GC handle. * <p> * <b>IMPORTANT:</b> This method is <em>not</em> part of the public * API for <code>Control</code>. It is marked public only so that it * can be shared within the packages provided by SWT. It is not * available on all platforms, and should never be called from * application code. * </p> * * @param data the platform specific GC data  * @return the platform specific GC handle */public int internal_new_GC (GCData data) {	checkWidget();	int hDC;	if (data == null || data.ps == null) {		hDC = OS.GetDC (handle);	} else {		hDC = OS.BeginPaint (handle, data.ps);	}	if (hDC == 0) SWT.error(SWT.ERROR_NO_HANDLES);	if (data != null) {		if (!OS.IsWinCE && (OS.WIN32_MAJOR << 16 | OS.WIN32_MINOR) >= (4 << 16 | 10)) {			int mask = SWT.LEFT_TO_RIGHT | SWT.RIGHT_TO_LEFT;			if ((data.style & mask) != 0) {				data.layout = (data.style & SWT.RIGHT_TO_LEFT) != 0 ? OS.LAYOUT_RTL : 0;			} else {				int flags = OS.GetLayout (hDC);				if ((flags & OS.LAYOUT_RTL) != 0) {					data.style |= SWT.RIGHT_TO_LEFT | SWT.MIRRORED;				} else {					data.style |= SWT.LEFT_TO_RIGHT;				}			}		} else {			data.style |= SWT.LEFT_TO_RIGHT;		}		data.device = display;		data.foreground = getForegroundPixel ();		data.background = getBackgroundPixel ();		data.hFont = OS.SendMessage (handle, OS.WM_GETFONT, 0, 0);		data.hwnd = handle;	}	return hDC;}/**	  * Invokes platform specific functionality to dispose a GC handle. * <p> * <b>IMPORTANT:</b> This method is <em>not</em> part of the public * API for <code>Control</code>. It is marked public only so that it * can be shared within the packages provided by SWT. It is not * available on all platforms, and should never be called from * application code. * </p> * * @param hDC the platform specific GC handle * @param data the platform specific GC data  */public void internal_dispose_GC (int hDC, GCData data) {	checkWidget ();	if (data == null || data.ps == null) {		OS.ReleaseDC (handle, hDC);	} else {		OS.EndPaint (handle, data.ps);	}}boolean isActive () {	Shell dialogShell = display.getModalDialogShell ();	if (dialogShell != null && dialogShell != getShell ()) {		return false;	}	Shell shell = null;	Shell [] modalShells = display.modalShells;	if (modalShells != null) {		int bits = SWT.APPLICATION_MODAL | SWT.SYSTEM_MODAL;		int index = modalShells.length;		while (--index >= 0) {			Shell modal = modalShells [index];			if (modal != null) {				if ((modal.style & bits) != 0) {					Control control = this;					while (control != null) {						if (control == modal) break;						control = control.parent;					}					if (control != modal) return false;					break;				}				if ((modal.style & SWT.PRIMARY_MODAL) != 0) {					if (shell == null) shell = getShell ();					if (modal.parent == shell) return false;				}			}		}	}	if (shell == null) shell = getShell ();	return shell.getEnabled ();}/** * Returns <code>true</code> if the receiver is enabled and all * of the receiver's ancestors are enabled, and <code>false</code> * otherwise. A disabled control is typically not selectable from the * user interface and draws with an inactive or "grayed" look. * * @return the receiver's 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> *  * @see #getEnabled */public boolean isEnabled () {	checkWidget ();	return getEnabled () && parent.isEnabled ();}/** * Returns <code>true</code> if the receiver has the user-interface * focus, and <code>false</code> otherwise. * * @return the receiver's focus 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 boolean isFocusControl () {	checkWidget ();	return hasFocus ();}boolean isFocusAncestor (Control control) {	while (control != null && control != this) {		control = control.parent;	}	return control == this;}/** * Returns <code>true</code> if the underlying operating * system supports this reparenting, otherwise <code>false</code> * * @return <code>true</code> if the widget can be reparented, otherwise <code>false</code> * * @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 boolean isReparentable () {	checkWidget ();	return true;}boolean isShowing () {	/*	* This is not complete.  Need to check if the	* widget is obscurred by a parent or sibling.	*/	if (!isVisible ()) return false;	Control control = this;	while (control != null) {		Point size = control.getSize ();		if (size.x == 0 || size.y == 0) {			return false;		}		control = control.parent;	}	return true;	/*	* Check to see if current damage is included.	*///	if (!OS.IsWindowVisible (handle)) return false;//	int flags = OS.DCX_CACHE | OS.DCX_CLIPCHILDREN | OS.DCX_CLIPSIBLINGS;//	int hDC = OS.GetDCEx (handle, 0, flags);//	int result = OS.GetClipBox (hDC, new RECT ());//	OS.ReleaseDC (handle, hDC);//	return result != OS.NULLREGION;}boolean isTabGroup () {	Control [] tabList = parent._getTabList ();	if (tabList != null) {		for (int i=0; i<tabList.length; i++) {			if (tabList [i] == this) return true;		}	}	int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);	return (bits & OS.WS_TABSTOP) != 0;}boolean isTabItem () {	Control [] tabList = parent._getTabList ();	if (tabList != null) {		for (int i=0; i<tabList.length; i++) {			if (tabList [i] == this) return false;		}	}	int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);	if ((bits & OS.WS_TABSTOP) != 0) return false;	int code = OS.SendMessage (handle, OS.WM_GETDLGCODE, 0, 0);	if ((code & OS.DLGC_STATIC) != 0) return false;	if ((code & OS.DLGC_WANTALLKEYS) != 0) return false;	if ((code & OS.DLGC_WANTARROWS) != 0) return false;	if ((code & OS.DLGC_WANTTAB) != 0) return false;	return true;}/** * Returns <code>true</code> if the receiver is visible and all * of the receiver's ancestors are visible and <code>false</code> * otherwise. * * @return the receiver's visibility 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> * * @see #getVisible */public boolean isVisible () {	checkWidget ();	if (OS.IsWindowVisible (handle)) return true;	return getVisible () && parent.isVisible ();}Decorations menuShell () {	return parent.menuShell ();}boolean mnemonicHit (char key) {	return false;}boolean mnemonicMatch (char key) {	return false;}/** * Moves the receiver above the specified control in the

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美午夜电影网| 国产色产综合色产在线视频| 精品国产百合女同互慰| 亚洲欧美日韩国产一区二区三区| 免费精品99久久国产综合精品| 91在线码无精品| 日本一区二区三区在线不卡| 视频一区视频二区中文| 91网页版在线| 国产精品久久久久久久浪潮网站| 久久爱另类一区二区小说| 欧美亚洲免费在线一区| 成人免费一区二区三区视频| 国产99久久久久久免费看农村| 日韩三级视频在线看| 日韩精品欧美精品| 欧美日韩精品是欧美日韩精品| 国产精品每日更新| 不卡视频在线观看| 国产亚洲精品资源在线26u| 麻豆91精品视频| 日韩一区二区三区观看| 日韩av午夜在线观看| 欧美精品色综合| 亚洲va欧美va人人爽| 欧美日韩一区 二区 三区 久久精品| 中文字幕日韩精品一区| 成人激情综合网站| 国产精品色在线| 不卡视频在线看| 亚洲免费观看高清完整版在线观看熊| 国产成人综合视频| 国产精品网站导航| 99久久伊人网影院| 综合婷婷亚洲小说| 在线看国产一区二区| 亚洲在线观看免费视频| 色偷偷一区二区三区| 亚洲精品成人少妇| 欧美性大战久久久久久久蜜臀| 一区二区三区**美女毛片| 欧美四级电影网| 麻豆91精品视频| 国产网站一区二区三区| 99精品在线观看视频| 亚洲综合激情另类小说区| 欧美日韩一区二区三区视频 | 91精彩视频在线| 日韩理论电影院| 欧美精品99久久久**| 国内精品国产三级国产a久久| 久久久久久久免费视频了| 成人av手机在线观看| 一区二区三区.www| 日韩免费在线观看| k8久久久一区二区三区 | 亚洲成a人在线观看| 日韩视频中午一区| 成人精品鲁一区一区二区| 亚洲婷婷在线视频| 欧美一区二区在线视频| 丁香另类激情小说| 午夜视频在线观看一区二区| 2017欧美狠狠色| 一本久道久久综合中文字幕| 天堂成人免费av电影一区| 久久久精品综合| 精品视频1区2区| 国产成人高清视频| 日韩电影在线观看一区| 国产精品色婷婷| 欧美日韩国产精品成人| 粗大黑人巨茎大战欧美成人| 亚洲福中文字幕伊人影院| 久久精品一区二区| 欧美日韩视频专区在线播放| 高清av一区二区| 免费观看91视频大全| 亚洲视频免费看| 久久精品亚洲麻豆av一区二区 | 国产亚洲成年网址在线观看| 欧美性大战久久久久久久| 丁香婷婷综合五月| 蜜桃一区二区三区在线观看| 一区二区三区中文免费| 国产三级精品三级在线专区| 8v天堂国产在线一区二区| 不卡一区二区三区四区| 国产一区二区三区在线观看精品| 亚洲一二三专区| 国产精品国产精品国产专区不片| 日韩精品一区二区三区视频在线观看| 色综合天天综合网天天看片| 福利91精品一区二区三区| 美腿丝袜亚洲综合| 日本不卡一二三区黄网| 亚洲与欧洲av电影| 一区二区三区中文在线观看| 中文字幕在线观看一区| 中文久久乱码一区二区| 国产亚洲欧美在线| 久久综合狠狠综合久久综合88 | 亚洲欧美经典视频| 国产精品久久久久久久浪潮网站| 久久人人超碰精品| 亚洲精品在线免费播放| 欧美一级理论片| 欧美一二区视频| 日韩精品在线网站| 久久人人爽人人爽| 亚洲国产精品黑人久久久| 国产午夜亚洲精品午夜鲁丝片| 日韩精品一区二区三区四区 | 国产精品福利一区二区三区| 精品剧情在线观看| 精品久久久久99| 久久综合久久综合九色| 久久久久国产免费免费| 国产欧美中文在线| 中文字幕免费不卡| 亚洲日本一区二区| 亚洲最大成人综合| 午夜激情综合网| 理论片日本一区| 国产高清不卡一区二区| 成人免费毛片app| 色综合色综合色综合| 欧美三级蜜桃2在线观看| 欧美一区二区在线看| 久久一区二区视频| 五月天久久比比资源色| 奇米精品一区二区三区在线观看| 琪琪久久久久日韩精品| 国产成人8x视频一区二区| 91免费视频网| 欧美三级蜜桃2在线观看| 欧美变态tickle挠乳网站| 久久精品一区四区| 亚洲一级二级三级在线免费观看| 美国av一区二区| gogo大胆日本视频一区| 欧美三级日本三级少妇99| 欧美videossexotv100| 国产精品超碰97尤物18| 亚洲成人激情自拍| 国产激情一区二区三区四区| 色婷婷精品久久二区二区蜜臂av | 轻轻草成人在线| 成人激情黄色小说| 欧美精品丝袜中出| 国产精品久99| 久久精品国产一区二区三区免费看| 高清免费成人av| 日韩一区二区三区电影在线观看 | 国产视频911| 亚洲午夜三级在线| 国产成人精品免费视频网站| 欧美精品在线视频| 亚洲色图一区二区三区| 精品在线播放免费| 欧美色图免费看| 亚洲欧洲精品一区二区三区| 久久99精品久久久久婷婷| 91久久精品日日躁夜夜躁欧美| 久久综合一区二区| 日本午夜精品视频在线观看 | 精品久久人人做人人爰| 一区二区三区国产精华| 国产精品一二一区| 欧美一级黄色录像| 亚洲国产wwwccc36天堂| 99久久婷婷国产综合精品 | 国产高清亚洲一区| 91精品国产一区二区三区香蕉| 自拍偷拍亚洲欧美日韩| 成人一级视频在线观看| 精品国产亚洲一区二区三区在线观看 | 欧美精品亚洲一区二区在线播放| 国产精品欧美久久久久无广告| 久久国产精品99精品国产 | 91色在线porny| 国产欧美一区二区精品性色超碰| 欧美aaa在线| 欧美日韩不卡视频| 亚洲国产一区二区三区| 欧美怡红院视频| 一个色妞综合视频在线观看| 97精品超碰一区二区三区| 欧美国产一区在线| 国产成人精品在线看| 国产日产精品1区| 国产盗摄一区二区| 国产欧美日韩另类视频免费观看| 精品一区二区三区久久| 日韩小视频在线观看专区| 美女视频一区二区| www日韩大片| 国产a视频精品免费观看| 亚洲国产高清不卡| 成人亚洲一区二区一|