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

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

?? shell.java

?? 源碼為Eclipse開源開發平臺桌面開發工具SWT的源代碼,
?? JAVA
?? 第 1 頁 / 共 4 頁
字號:
void removeMenu (Menu menu) {	super.removeMenu (menu);	if (menu == activeMenu) activeMenu = null;}/** * Removes the listener from the collection of listeners who will * be notified when operations are performed on the receiver. * * @param listener the listener which should no longer 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 ShellListener * @see #addShellListener */public void removeShellListener (ShellListener listener) {	checkWidget ();	if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);	if (eventTable == null) return;	eventTable.unhook (SWT.Close, listener);	eventTable.unhook (SWT.Iconify,listener);	eventTable.unhook (SWT.Deiconify,listener);	eventTable.unhook (SWT.Activate, listener);	eventTable.unhook (SWT.Deactivate, listener);}LRESULT selectPalette (int hPalette) {	int hDC = OS.GetDC (handle);	int hOld = OS.SelectPalette (hDC, hPalette, false);	int result = OS.RealizePalette (hDC);	if (result > 0) {		OS.InvalidateRect (handle, null, true);	} else {		OS.SelectPalette (hDC, hOld, true);		OS.RealizePalette (hDC);	}	OS.ReleaseDC (handle, hDC);	return (result > 0) ? LRESULT.ONE : LRESULT.ZERO;}/** * Moves the receiver to the top of the drawing order for * the display on which it was created (so that all other * shells on that display, which are not the receiver's * children will be drawn behind it) and asks the window * manager to make the shell active. * * @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> * * @since 2.0 * @see Control#moveAbove * @see Control#setFocus * @see Control#setVisible * @see Display#getActiveShell * @see Decorations#setDefaultButton * @see Shell#open * @see Shell#setActive */public void setActive () {	checkWidget ();	bringToTop ();}void setActiveControl (Control control) {	if (control != null && control.isDisposed ()) control = null;	if (lastActive != null && lastActive.isDisposed ()) lastActive = null;	if (lastActive == control) return;		/*	* Compute the list of controls to be activated and	* deactivated by finding the first common parent	* control.	*/	Control [] activate = (control == null) ? new Control [0] : control.getPath ();	Control [] deactivate = (lastActive == null) ? new Control [0] : lastActive.getPath ();	lastActive = control;	int index = 0, length = Math.min (activate.length, deactivate.length);	while (index < length) {		if (activate [index] != deactivate [index]) break;		index++;	}		/*	* It is possible (but unlikely), that application	* code could have destroyed some of the widgets. If	* this happens, keep processing those widgets that	* are not disposed.	*/	for (int i=deactivate.length-1; i>=index; --i) {		if (!deactivate [i].isDisposed ()) {			deactivate [i].sendEvent (SWT.Deactivate);		}	}	for (int i=activate.length-1; i>=index; --i) {		if (!activate [i].isDisposed ()) {			activate [i].sendEvent (SWT.Activate);		}	}}void setBounds (int x, int y, int width, int height, int flags) {	if (OS.IsWinCE) {		swFlags = OS.SW_RESTORE;	} else {		if (OS.IsIconic (handle) || OS.IsZoomed (handle)) {			setPlacement (x, y, width, height, flags);			return;		}	}	SetWindowPos (handle, 0, x, y, width, height, flags);}public void setEnabled (boolean enabled) {	checkWidget ();	if (((state & DISABLED) == 0) == enabled) return;	super.setEnabled (enabled);	if (enabled && handle == OS.GetActiveWindow ()) {		if (!restoreFocus ()) traverseGroup (true);	}}/** * Sets the input method editor mode to the argument which  * should be the result of bitwise OR'ing together one or more * of the following constants defined in class <code>SWT</code>: * <code>NONE</code>, <code>ROMAN</code>, <code>DBCS</code>,  * <code>PHONETIC</code>, <code>NATIVE</code>, <code>ALPHA</code>. * * @param mode the new IME mode * * @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 SWT */public void setImeInputMode (int mode) {	checkWidget ();	if (!OS.IsDBLocale) return;	boolean imeOn = mode != SWT.NONE && mode != SWT.ROMAN;	int hIMC = OS.ImmGetContext (handle);	OS.ImmSetOpenStatus (hIMC, imeOn);	if (imeOn) {		int [] lpfdwConversion = new int [1], lpfdwSentence = new int [1];		if (OS.ImmGetConversionStatus (hIMC, lpfdwConversion, lpfdwSentence)) {			int newBits = 0;			int oldBits = OS.IME_CMODE_NATIVE | OS.IME_CMODE_KATAKANA;			if ((mode & SWT.PHONETIC) != 0) {				newBits = OS.IME_CMODE_KATAKANA | OS.IME_CMODE_NATIVE;				oldBits = 0;			} else {				if ((mode & SWT.NATIVE) != 0) {					newBits = OS.IME_CMODE_NATIVE;					oldBits = OS.IME_CMODE_KATAKANA;				}			}			if ((mode & SWT.DBCS) != 0) {				newBits |= OS.IME_CMODE_FULLSHAPE;			} else {				oldBits |= OS.IME_CMODE_FULLSHAPE;			}			if ((mode & SWT.ROMAN) != 0) {				newBits |= OS.IME_CMODE_ROMAN;			} else {				oldBits |= OS.IME_CMODE_ROMAN;			}			lpfdwConversion [0] |= newBits;  lpfdwConversion [0] &= ~oldBits;			OS.ImmSetConversionStatus (hIMC, lpfdwConversion [0], lpfdwSentence [0]);		}	}	OS.ImmReleaseContext (handle, hIMC);}void setItemEnabled (int cmd, boolean enabled) {	int hMenu = OS.GetSystemMenu (handle, false);	if (hMenu == 0) return;	int flags = OS.MF_ENABLED;	if (!enabled) flags = OS.MF_DISABLED | OS.MF_GRAYED;	OS.EnableMenuItem (hMenu, cmd, OS.MF_BYCOMMAND | flags);}void setParent () {	/* Do nothing.  Not necessary for Shells */}/** * Sets the shape of the shell to the region specified * by the argument.  When the argument is null, the * default shape of the shell is restored.  The shell * must be created with the style SWT.NO_TRIM in order * to specify a region. * * @param region the region that defines the shape of the shell (or null) * * @exception IllegalArgumentException <ul> *    <li>ERROR_INVALID_ARGUMENT - if the region 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> * * @since 3.0 * */public void setRegion (Region region) {	checkWidget ();	if ((style & SWT.NO_TRIM) == 0) return;	if (region != null && region.isDisposed()) error (SWT.ERROR_INVALID_ARGUMENT);	int hRegion = 0;	if (region != null) {		hRegion = OS.CreateRectRgn (0, 0, 0, 0);		OS.CombineRgn (hRegion, region.handle, hRegion, OS.RGN_OR);	}	OS.SetWindowRgn (handle, hRegion, true);	this.region = region;}void setToolTipText (int hwnd, String text) {	if (OS.IsWinCE) return;	if (toolTipHandle == 0) {		toolTipHandle = OS.CreateWindowEx (			0,			new TCHAR (0, OS.TOOLTIPS_CLASS, true),			null,			OS.TTS_ALWAYSTIP,			OS.CW_USEDEFAULT, 0, OS.CW_USEDEFAULT, 0,			handle,			0,			OS.GetModuleHandle (null),			null);		if (toolTipHandle == 0) error (SWT.ERROR_NO_HANDLES);			/*		* Feature in Windows.  Despite the fact that the		* tool tip text contains \r\n, the tooltip will		* not honour the new line unless TTM_SETMAXTIPWIDTH		* is set.  The fix is to set TTM_SETMAXTIPWIDTH to		* a large value.		*/		OS.SendMessage (toolTipHandle, OS.TTM_SETMAXTIPWIDTH, 0, 0x7FFF);	}	TOOLINFO lpti = new TOOLINFO ();	lpti.cbSize = TOOLINFO.sizeof;	lpti.uId = hwnd;	lpti.hwnd = handle;	if (text == null) {		OS.SendMessage (toolTipHandle, OS.TTM_DELTOOL, 0, lpti);	} else {		lpti.uFlags = OS.TTF_IDISHWND | OS.TTF_SUBCLASS;		lpti.lpszText = OS.LPSTR_TEXTCALLBACK;		OS.SendMessage (toolTipHandle, OS.TTM_ADDTOOL, 0, lpti);	}	OS.SendMessage (toolTipHandle, OS.TTM_UPDATE, 0, 0);}void setToolTipText (NMTTDISPINFO lpnmtdi, byte [] buffer) {	/*	* Ensure that the current position of the mouse	* is inside the client area of the shell.  This	* prevents tool tips from popping up over the	* shell trimmings.	*/	if (!hasCursor ()) return;	int hHeap = OS.GetProcessHeap ();	if (lpstrTip != 0) OS.HeapFree (hHeap, 0, lpstrTip);	int byteCount = buffer.length;	lpstrTip = OS.HeapAlloc (hHeap, OS.HEAP_ZERO_MEMORY, byteCount);	OS.MoveMemory (lpstrTip, buffer, byteCount);	lpnmtdi.lpszText = lpstrTip;}void setToolTipText (NMTTDISPINFO lpnmtdi, char [] buffer) {	/*	* Ensure that the current position of the mouse	* is inside the client area of the shell.  This	* prevents tool tips from popping up over the	* shell trimmings.	*/	if (!hasCursor ()) return;	int hHeap = OS.GetProcessHeap ();	if (lpstrTip != 0) OS.HeapFree (hHeap, 0, lpstrTip);	int byteCount = buffer.length * 2;	lpstrTip = OS.HeapAlloc (hHeap, OS.HEAP_ZERO_MEMORY, byteCount);	OS.MoveMemory (lpstrTip, buffer, byteCount);	lpnmtdi.lpszText = lpstrTip;}public void setVisible (boolean visible) {	checkWidget ();	if (drawCount != 0) {		if (((state & HIDDEN) == 0) == visible) return;	} else {		if (visible == OS.IsWindowVisible (handle)) return;	}		/*	* Feature in Windows.  When ShowWindow() is called used to hide	* a window, Windows attempts to give focus to the parent. If the	* parent is disabled by EnableWindow(), focus is assigned to	* another windows on the desktop.  This means that if you hide	* a modal window before the parent is enabled, the parent will	* not come to the front.  The fix is to change the modal state	* before hiding or showing a window so that this does not occur.	*/	int mask = SWT.PRIMARY_MODAL | SWT.APPLICATION_MODAL | SWT.SYSTEM_MODAL;	if ((style & mask) != 0) {		if (visible) {			display.setModalShell (this);			Control control = display.getFocusControl ();			if (control != null && !control.isActive ()) bringToTop ();			int hwndShell = OS.GetActiveWindow ();			if (hwndShell == 0) {				if (parent != null) hwndShell = parent.handle;			}			if (hwndShell != 0) {				OS.SendMessage (hwndShell, OS.WM_CANCELMODE, 0, 0);			}			OS.ReleaseCapture ();		} else {			display.clearModal (this);		}	} else {		updateModal ();	}		/*	* Bug in Windows.  Calling ShowOwnedPopups() to hide the	* child windows of a hidden window causes the application	* to be deactivated.  The fix is to call ShowOwnedPopups()	* to hide children before hiding the parent.	*/	if (showWithParent && !visible) {		if (!OS.IsWinCE) OS.ShowOwnedPopups (handle, false);	}	super.setVisible (visible);	if (isDisposed ()) return;	if (showWithParent == visible) return;	showWithParent = visible;	if (visible) {		if (!OS.IsWinCE) OS.ShowOwnedPopups (handle, true);	}}boolean translateAccelerator (MSG msg) {	if (!isEnabled () || !isActive ()) return false;	if (menuBar != null && !menuBar.isEnabled ()) return false;	return translateMDIAccelerator (msg) || translateMenuAccelerator (msg);}boolean traverseEscape () {	if (parent == null) return false;	if (!isVisible () || !isEnabled ()) return false;	close ();	return true;}void updateModal () {	if (Display.TrimEnabled) {		setItemEnabled (OS.SC_CLOSE, isActive ());	} else {		OS.EnableWindow (handle, isActive ());	}}CREATESTRUCT widgetCreateStruct () {	return null;}int widgetParent () {	if (handle != 0) return handle;	return parent != null ? parent.handle : 0;}int widgetExtStyle () {	int bits = super.widgetExtStyle () & ~OS.WS_EX_MDICHILD;	/*	* Feature in Windows.  When a window that does not have a parent	* is created, it is automatically added to the Windows Task Bar,	* even when it has no title.  The fix is to use WS_EX_TOOLWINDOW	* which does not cause the window to appear in the Task Bar.	*/	if (!OS.IsWinCE) {		if (parent == null) {			if ((style & SWT.ON_TOP) != 0) {				bits |= OS.WS_EX_TOOLWINDOW;			}		}	}		/*	* Bug in Windows 98 and NT.  Creating a window with the	* WS_EX_TOPMOST extended style can result in a dialog shell	* being moved behind its parent.  The exact case where this	* happens is a shell with two dialog shell children where	* each dialog child has another hidden dialog child with	* the WS_EX_TOPMOST extended style.  Clicking on either of	* the visible dialogs causes them to become active but move	* to the back, behind the parent shell.  The fix is to	* disallow the WS_EX_TOPMOST extended style on Windows 98	* and NT.	*/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品国产99国产| 91麻豆精品国产自产在线| 欧美自拍丝袜亚洲| 日韩欧美视频在线| 亚洲在线视频免费观看| 国产69精品一区二区亚洲孕妇 | 亚洲美女视频在线| 国产一区二区影院| 欧美一区二区三区免费观看视频 | 北条麻妃一区二区三区| 欧美一区二区在线播放| 亚洲一区视频在线观看视频| 成人福利视频在线看| 久久女同精品一区二区| 理论电影国产精品| 91精品国产麻豆国产自产在线| 一区二区欧美国产| 色域天天综合网| 日本一区二区高清| 成人性生交大片免费看视频在线| 亚洲精品一区二区三区影院| 蜜桃视频一区二区三区在线观看| 欧美丰满嫩嫩电影| 日韩国产精品久久久| 欧美精品 日韩| 亚洲成人一二三| 91麻豆精品国产91久久久资源速度| 亚洲va在线va天堂| 欧洲另类一二三四区| 亚洲狠狠丁香婷婷综合久久久| 91蝌蚪国产九色| 成人免费小视频| 91在线无精精品入口| 中文字幕一区二区三区四区| 91老司机福利 在线| 亚洲黄色免费网站| 欧美日韩黄视频| 日韩电影在线一区| 日韩午夜精品视频| 精品一区二区国语对白| 久久久久国产精品麻豆ai换脸| 国产成人综合在线| 亚洲品质自拍视频| 欧美日韩亚洲国产综合| 青娱乐精品视频在线| 欧美精品一区视频| 丰满少妇久久久久久久| 亚洲卡通欧美制服中文| 欧美老年两性高潮| 蜜臀av在线播放一区二区三区| 久久麻豆一区二区| 97久久精品人人澡人人爽| 亚洲一区二区三区不卡国产欧美 | 国产欧美日韩在线视频| 成人美女在线视频| 亚洲狠狠爱一区二区三区| 欧美亚洲动漫制服丝袜| 亚洲中国最大av网站| 日韩精品一区二区三区中文精品| 国产裸体歌舞团一区二区| 中文字幕一区二区三区视频| 欧美精品在线一区二区三区| 国产一区二区三区在线观看免费 | 久久色在线观看| 懂色av中文一区二区三区| 亚洲自拍偷拍av| 精品国产免费一区二区三区四区| av一区二区三区在线| 视频在线观看91| 日本一区二区视频在线| 欧美电影影音先锋| av亚洲精华国产精华精华| 青青草国产成人av片免费| 亚洲欧洲国产日韩| 精品国一区二区三区| 欧美性色aⅴ视频一区日韩精品| 日日夜夜精品视频天天综合网| 国产亚洲欧美日韩日本| 欧美日韩黄色一区二区| 成人激情免费网站| 日韩不卡一区二区| 亚洲精品国产a| 中文在线一区二区| 欧美不卡一区二区三区| 欧美无砖专区一中文字| 成人精品小蝌蚪| 蜜臀va亚洲va欧美va天堂| 亚洲一级二级在线| 亚洲欧美另类在线| 国产欧美日韩在线| 久久综合精品国产一区二区三区| 欧美日韩国产综合视频在线观看 | 亚洲女子a中天字幕| 久久看人人爽人人| 日韩一二在线观看| 91麻豆精品国产91久久久更新时间 | 国产精品你懂的在线欣赏| 日韩欧美电影在线| 欧美一区二区三区小说| 在线亚洲人成电影网站色www| 粉嫩久久99精品久久久久久夜| 久久国产夜色精品鲁鲁99| 日日噜噜夜夜狠狠视频欧美人| 亚洲乱码国产乱码精品精小说| 国产嫩草影院久久久久| 欧美精品一区二区三区一线天视频 | 99国产精品99久久久久久| 国产大片一区二区| 国产精品18久久久久久久久久久久| 青青国产91久久久久久| 久久成人av少妇免费| 久久99国产乱子伦精品免费| 精品一区二区三区在线观看 | 精品成人免费观看| 久久网站最新地址| 久久精品视频网| 中文天堂在线一区| 亚洲精品免费看| 亚洲h动漫在线| 日韩成人免费在线| 激情综合亚洲精品| 国产精品18久久久| 99re在线视频这里只有精品| 在线视频一区二区三区| 欧美日韩三级视频| 精品国产一区二区三区不卡 | 久久青草国产手机看片福利盒子| 日韩免费一区二区三区在线播放| 日韩欧美123| 亚洲国产经典视频| 亚洲精品高清在线| 蜜桃视频在线一区| 成人免费毛片片v| 在线观看网站黄不卡| 日韩三级免费观看| 国产午夜精品在线观看| 亚洲三级在线免费观看| 亚洲成精国产精品女| 精彩视频一区二区| 972aa.com艺术欧美| 91精品国产入口| 国产农村妇女精品| 视频一区中文字幕| 大桥未久av一区二区三区中文| 欧美性猛片xxxx免费看久爱| 精品国产成人系列| 国产精品成人免费在线| 日韩中文字幕亚洲一区二区va在线 | 91美女视频网站| 日韩一区二区影院| 国产精品免费视频网站| 亚洲国产成人高清精品| 国产一区二区三区观看| 日本精品裸体写真集在线观看| 日韩精品影音先锋| 欧美经典三级视频一区二区三区| 一区二区三区鲁丝不卡| 精品一区二区三区免费| 日本电影欧美片| 久久婷婷国产综合国色天香| 亚洲国产美国国产综合一区二区| 国产999精品久久| 777亚洲妇女| 一区二区三区在线高清| 成人免费观看男女羞羞视频| 欧美一卡二卡三卡| 一区二区三区在线免费观看| 国产成人亚洲精品青草天美| 91精品国产品国语在线不卡| 亚洲精品视频自拍| 成人国产精品免费网站| 精品少妇一区二区三区在线视频| 一区二区三区美女视频| 成人v精品蜜桃久久一区| 久久一区二区三区国产精品| 日本va欧美va精品| 欧美天堂一区二区三区| 中文字幕五月欧美| 激情亚洲综合在线| 日韩女优制服丝袜电影| 日韩极品在线观看| 日本久久一区二区| 亚洲免费av高清| 91美女视频网站| 亚洲激情五月婷婷| aaa国产一区| 亚洲色图视频网| 99综合电影在线视频| 中文字幕在线一区| 成人精品免费视频| 国产清纯白嫩初高生在线观看91 | 99re这里都是精品| ...xxx性欧美| 99久久婷婷国产综合精品| 国产精品美女久久福利网站| 国产激情一区二区三区| 久久影院午夜论| 懂色av一区二区三区免费看| 欧美激情在线一区二区| 粉嫩aⅴ一区二区三区四区 |