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

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

?? display.java

?? 源碼為Eclipse開源開發平臺桌面開發工具SWT的源代碼,
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
		if (list == null) break;		if (list.getImageSize().equals(size)) {			list.addRef();			return list;		}		i++;	}		if (i == length) {		ImageList [] newList = new ImageList [length + 4];		System.arraycopy (toolHotImageList, 0, newList, 0, length);		toolHotImageList = newList;	}		ImageList list = new ImageList();	toolHotImageList [i] = list;	list.addRef();	return list;}ImageList getToolDisabledImageList (Point size) {	if (toolDisabledImageList == null) toolDisabledImageList = new ImageList [4];		int i = 0;	int length = toolDisabledImageList.length; 	while (i < length) {		ImageList list = toolDisabledImageList [i];		if (list == null) break;		if (list.getImageSize().equals(size)) {			list.addRef();			return list;		}		i++;	}		if (i == length) {		ImageList [] newList = new ImageList [length + 4];		System.arraycopy (toolDisabledImageList, 0, newList, 0, length);		toolDisabledImageList = newList;	}		ImageList list = new ImageList();	toolDisabledImageList [i] = list;	list.addRef();	return list;}int getLastEventTime () {	return OS.IsWinCE ? OS.GetTickCount () : OS.GetMessageTime ();}MenuItem getMenuItem (int id) {	if (items == null) return null;	id = id - ID_START;	if (0 <= id && id < items.length) return items [id];	return null;}int getMessageCount () {	return synchronizer.getMessageCount ();}Shell getModalShell () {	if (modalShells == null) return null;	int index = modalShells.length;	while (--index >= 0) {		Shell shell = modalShells [index];		if (shell != null) return shell;	}	return null;}Shell getModalDialogShell () {	if (modalDialogShell != null && modalDialogShell.isDisposed ()) modalDialogShell = null;	return modalDialogShell;}/** * Returns an array of monitors attached to the device. *  * @return the array of monitors *  * @since 3.0 */public Monitor [] getMonitors () {	checkDevice ();	if (OS.IsWinCE || (OS.WIN32_MAJOR << 16 | OS.WIN32_MINOR) < (4 << 16 | 10)) {		return new Monitor [] {getPrimaryMonitor ()};	}	monitors = new Monitor [4];	Callback callback = new Callback (this, "monitorEnumProc", 4); //$NON-NLS-1$	int lpfnEnum = callback.getAddress ();	OS.EnumDisplayMonitors (0, null, lpfnEnum, 0);	callback.dispose ();	Monitor [] result = new Monitor [monitorCount];	System.arraycopy (monitors, 0, result, 0, monitorCount);	monitors = null;	monitorCount = 0;	return result;}int getMsgProc (int code, int wParam, int lParam) {	if (embeddedHwnd == 0) {		int hInstance = OS.GetModuleHandle (null);		embeddedHwnd = OS.CreateWindowEx (0,			windowClass,			null,			OS.WS_OVERLAPPED,			0, 0, 0, 0,			0,			0,			hInstance,			null);		embeddedCallback = new Callback (this, "embeddedProc", 4); //$NON-NLS-1$		embeddedProc = embeddedCallback.getAddress ();		if (embeddedProc == 0) error (SWT.ERROR_NO_MORE_CALLBACKS);		OS.SetWindowLong (embeddedHwnd, OS.GWL_WNDPROC, embeddedProc);	}	if (code >= 0 && wParam != OS.PM_NOREMOVE) {		MSG msg = new MSG ();		OS.MoveMemory (msg, lParam, MSG.sizeof);		switch (msg.message) {			case SWT_RESIZE: {				if (msg.hwnd == 0 && msg.wParam != 0) {					OS.PostMessage (embeddedHwnd, SWT_RESIZE, msg.wParam, msg.lParam);					msg.message = OS.WM_NULL;					OS.MoveMemory (lParam, msg, MSG.sizeof);				}				break;			}			case OS.WM_KEYDOWN:			case OS.WM_KEYUP:			case OS.WM_SYSKEYDOWN:			case OS.WM_SYSKEYUP: {				int hHeap = OS.GetProcessHeap ();				int keyMsg = OS.HeapAlloc (hHeap, OS.HEAP_ZERO_MEMORY, MSG.sizeof);				OS.MoveMemory (keyMsg, msg, MSG.sizeof);				OS.PostMessage (hwndMessage, SWT_KEYMSG, wParam, keyMsg);				msg.message = OS.WM_NULL;				OS.MoveMemory (lParam, msg, MSG.sizeof);			}		}	}	return OS.CallNextHookEx (msgHook, code, wParam, lParam);}/** * Returns the primary monitor for that device. *  * @return the primary monitor *  * @since 3.0 */public Monitor getPrimaryMonitor () {	checkDevice ();	if (OS.IsWinCE || (OS.WIN32_MAJOR << 16 | OS.WIN32_MINOR) < (4 << 16 | 10)) {		Monitor monitor = new Monitor();		int width = OS.GetSystemMetrics (OS.SM_CXSCREEN);		int height = OS.GetSystemMetrics (OS.SM_CYSCREEN);		monitor.width = width;		monitor.height = height;		RECT rect = new RECT ();		OS.SystemParametersInfo (OS.SPI_GETWORKAREA, 0, rect, 0);		monitor.clientX = rect.left;		monitor.clientY = rect.top;		monitor.clientWidth = rect.right - rect.left;		monitor.clientHeight = rect.bottom - rect.top;		return monitor;	}	monitors = new Monitor [4];	Callback callback = new Callback (this, "monitorEnumProc", 4); //$NON-NLS-1$	int lpfnEnum = callback.getAddress ();	OS.EnumDisplayMonitors (0, null, lpfnEnum, 0);	callback.dispose ();	Monitor result = null;	MONITORINFO lpmi = new MONITORINFO ();	lpmi.cbSize = MONITORINFO.sizeof;	for (int i = 0; i < monitorCount; i++) {		Monitor monitor = monitors [i];		OS.GetMonitorInfo (monitors [i].handle, lpmi);		if ((lpmi.dwFlags & OS.MONITORINFOF_PRIMARY) != 0) {			result = monitor;			break;		} 				}	monitors = null;	monitorCount = 0;	return result;		}/** * Returns an array containing all shells which have not been * disposed and have the receiver as their display. * * @return the receiver's shells * * @exception SWTException <ul> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> *    <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li> * </ul> */public Shell [] getShells () {	checkDevice ();	int count = 0;	for (int i=0; i<controlTable.length; i++) {		Control control = controlTable [i];		if (control != null && control instanceof Shell) count++;	}	int index = 0;	Shell [] result = new Shell [count];	for (int i=0; i<controlTable.length; i++) {		Control control = controlTable [i];		if (control != null && control instanceof Shell) {			result [index++] = (Shell) control;		}	}	return result;}/** * Returns the thread that has invoked <code>syncExec</code> * or null if no such runnable is currently being invoked by * the user-interface thread. * <p> * Note: If a runnable invoked by asyncExec is currently * running, this method will return null. * </p> * * @return the receiver's sync-interface thread *  * @exception SWTException <ul> *    <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li> * </ul> */public Thread getSyncThread () {	if (isDisposed ()) error (SWT.ERROR_DEVICE_DISPOSED);	return synchronizer.syncThread;}/** * Returns the matching standard color for the given * constant, which should be one of the color constants * specified in class <code>SWT</code>. Any value other * than one of the SWT color constants which is passed * in will result in the color black. This color should * not be free'd because it was allocated by the system, * not the application. * * @param id the color constant * @return the matching color * * @exception SWTException <ul> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> *    <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li> * </ul> * * @see SWT */public Color getSystemColor (int id) {	checkDevice ();	int pixel = 0x02000000;	switch (id) {		case SWT.COLOR_WIDGET_DARK_SHADOW:		pixel = OS.GetSysColor (OS.COLOR_3DDKSHADOW);	break;		case SWT.COLOR_WIDGET_NORMAL_SHADOW:	pixel = OS.GetSysColor (OS.COLOR_3DSHADOW); 	break;		case SWT.COLOR_WIDGET_LIGHT_SHADOW: 	pixel = OS.GetSysColor (OS.COLOR_3DLIGHT);  	break;		case SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW:	pixel = OS.GetSysColor (OS.COLOR_3DHIGHLIGHT);  break;		case SWT.COLOR_WIDGET_BACKGROUND: 		pixel = OS.GetSysColor (OS.COLOR_3DFACE);  	break;		case SWT.COLOR_WIDGET_BORDER: 		pixel = OS.GetSysColor (OS.COLOR_WINDOWFRAME);  break;		case SWT.COLOR_WIDGET_FOREGROUND:		case SWT.COLOR_LIST_FOREGROUND: 		pixel = OS.GetSysColor (OS.COLOR_WINDOWTEXT);	break;		case SWT.COLOR_LIST_BACKGROUND: 		pixel = OS.GetSysColor (OS.COLOR_WINDOW);  	break;		case SWT.COLOR_LIST_SELECTION: 		pixel = OS.GetSysColor (OS.COLOR_HIGHLIGHT);	break;		case SWT.COLOR_LIST_SELECTION_TEXT: 	pixel = OS.GetSysColor (OS.COLOR_HIGHLIGHTTEXT);break;		case SWT.COLOR_INFO_FOREGROUND:		pixel = OS.GetSysColor (OS.COLOR_INFOTEXT);	break;		case SWT.COLOR_INFO_BACKGROUND:		pixel = OS.GetSysColor (OS.COLOR_INFOBK);		break;		case SWT.COLOR_TITLE_FOREGROUND: 		pixel = OS.GetSysColor (OS.COLOR_CAPTIONTEXT);	break;		case SWT.COLOR_TITLE_BACKGROUND:		pixel = OS.GetSysColor (OS.COLOR_ACTIVECAPTION);		break;		case SWT.COLOR_TITLE_BACKGROUND_GRADIENT: 			pixel = OS.GetSysColor (OS.COLOR_GRADIENTACTIVECAPTION);			if (pixel == 0) pixel = OS.GetSysColor (OS.COLOR_ACTIVECAPTION);			break;		case SWT.COLOR_TITLE_INACTIVE_FOREGROUND: 		pixel = OS.GetSysColor (OS.COLOR_INACTIVECAPTIONTEXT);	break;		case SWT.COLOR_TITLE_INACTIVE_BACKGROUND:			pixel = OS.GetSysColor (OS.COLOR_INACTIVECAPTION);		break;		case SWT.COLOR_TITLE_INACTIVE_BACKGROUND_GRADIENT:				pixel = OS.GetSysColor (OS.COLOR_GRADIENTINACTIVECAPTION);			if (pixel == 0) pixel = OS.GetSysColor (OS.COLOR_INACTIVECAPTION);			break;		default:			return super.getSystemColor (id);	}	return Color.win32_new (this, pixel);}/** * Returns the matching standard platform cursor for the given * constant, which should be one of the cursor constants * specified in class <code>SWT</code>. This cursor should * not be free'd because it was allocated by the system, * not the application.  A value of <code>null</code> will * be returned if the supplied constant is not an swt cursor * constant.  * * @param id the swt cursor constant * @return the corresponding cursor or <code>null</code> * * @exception SWTException <ul> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> *    <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li> * </ul> * * @see SWT#CURSOR_ARROW * @see SWT#CURSOR_WAIT * @see SWT#CURSOR_CROSS * @see SWT#CURSOR_APPSTARTING * @see SWT#CURSOR_HELP * @see SWT#CURSOR_SIZEALL * @see SWT#CURSOR_SIZENESW * @see SWT#CURSOR_SIZENS * @see SWT#CURSOR_SIZENWSE * @see SWT#CURSOR_SIZEWE * @see SWT#CURSOR_SIZEN * @see SWT#CURSOR_SIZES * @see SWT#CURSOR_SIZEE * @see SWT#CURSOR_SIZEW * @see SWT#CURSOR_SIZENE * @see SWT#CURSOR_SIZESE * @see SWT#CURSOR_SIZESW * @see SWT#CURSOR_SIZENW * @see SWT#CURSOR_UPARROW * @see SWT#CURSOR_IBEAM * @see SWT#CURSOR_NO * @see SWT#CURSOR_HAND *  * @since 3.0 */public Cursor getSystemCursor (int id) {	checkDevice ();	if (!(0 <= id && id < cursors.length)) return null;	if (cursors [id] == null) {		cursors [id] = new Cursor (this, id);	}	return cursors [id];}/** * Returns a reasonable font for applications to use. * On some platforms, this will match the "default font" * or "system font" if such can be found.  This font * should not be free'd because it was allocated by the * system, not the application. * <p> * Typically, applications which want the default look * should simply not set the font on the widgets they * create. Widgets are always created with the correct * default font for the class of user-interface component * they represent. * </p> * * @return a font * * @exception SWTException <ul> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> *    <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li> * </ul> */public Font getSystemFont () {	checkDevice ();	int hFont = systemFont ();	return Font.win32_new (this, hFont);	}/** * Returns the matching standard platform image for the given * constant, which should be one of the icon constants * specified in class <code>SWT</code>. This image should * not be free'd because it was allocated by the system, * not the application.  A value of <code>null</code> will * be returned either if the supplied constant is not an * swt icon constant or if the platform does not define an * image that corresponds to the constant.  * * @param id the swt icon constant * @return the corresponding image or <code>null</code> * * @exception SWTException <ul> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> *    <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li> * </ul> * * @see SWT#ICON_ERROR * @see SWT#ICON_INFORMATION * @see SWT#ICON_QUESTION * @see SWT#ICON_WARNING * @see SWT#ICON_WORKING *  * @since 3.0 */public Image getSystemImage (int id) {	checkDevice ();	int hIcon = 0;	switch (id) {		case SWT.ICON_ERROR:			if (errorIcon == 0) {				errorIcon = OS.LoadImage (0, OS.OIC_HAND, OS.IMAGE_ICON, 0, 0, OS.LR_SHARED);			}			hIcon = errorIcon;			break;		case SWT.ICON_WORKING:		case SWT.ICON_INFORMATION:			if (infoIcon == 0) {				infoIcon = OS.LoadImage (0, OS.OIC_INFORMATION, OS.IMAGE_ICON, 0, 0, OS.LR_SHARED);			}			hIcon = infoIcon;			break;		case SWT.ICON_QUESTION:			if (questionIcon == 0) {				questionIcon = OS.LoadImage (0, OS.OIC_QUES, OS.IMAGE_ICON, 0, 0, OS.LR_SHARED);			}			hIcon = questionIcon;			break;		case SWT.ICON_WARNING:			if (warningIcon == 0) {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲色图欧美在线| 国产成人av电影在线| 久久99精品久久只有精品| 成人av高清在线| 欧美成人伊人久久综合网| 一区二区三区四区在线| 国产电影一区二区三区| 日韩免费观看高清完整版在线观看| 一区二区三区四区亚洲| 国产激情一区二区三区| 日韩欧美国产电影| 亚洲va国产va欧美va观看| 99精品视频免费在线观看| 日韩精品一区在线观看| 亚洲成人手机在线| 在线观看国产日韩| 亚洲免费视频中文字幕| 风间由美性色一区二区三区| 精品久久久久一区二区国产| 日本不卡视频一二三区| 欧美午夜精品一区二区蜜桃| 国产精品久久夜| 国产成人精品三级| 久久久www免费人成精品| 久久精品久久精品| 欧美高清视频不卡网| 亚洲精品五月天| 91美女片黄在线观看91美女| 中文字幕欧美三区| kk眼镜猥琐国模调教系列一区二区 | 国产成人午夜高潮毛片| 精品日韩在线观看| 国产美女精品人人做人人爽| 国产亚洲精久久久久久| 国产91精品一区二区麻豆网站 | 亚洲欧洲综合另类| 91免费国产在线| 亚洲小少妇裸体bbw| 欧美在线看片a免费观看| 亚洲午夜激情网页| 欧美精品欧美精品系列| 日本在线不卡一区| 欧美sm极限捆绑bd| 国产福利不卡视频| 亚洲天堂av老司机| 欧美亚洲日本一区| 日韩二区三区四区| 欧美tickle裸体挠脚心vk| 国产精品一区二区你懂的| 国产精品视频yy9299一区| 99精品视频一区| 亚洲综合精品久久| 日韩无一区二区| 国产成人在线网站| 一区二区三区在线视频观看| 欧美日韩另类一区| 国产在线国偷精品产拍免费yy| 国产精品―色哟哟| 欧美在线你懂的| 久久99精品国产91久久来源| 中文一区在线播放| 7799精品视频| 国产精品一品二品| 亚洲一二三区不卡| 亚洲精品一线二线三线| 91麻豆精东视频| 久久99精品网久久| 一区二区三区四区精品在线视频| 日韩一区二区精品葵司在线| 国产成都精品91一区二区三| 亚洲成a人在线观看| 国产偷国产偷精品高清尤物 | 亚洲黄色在线视频| 精品国产乱码久久| 欧美亚洲图片小说| 国v精品久久久网| 日本vs亚洲vs韩国一区三区二区 | 日本福利一区二区| 国产专区欧美精品| 视频一区二区三区在线| 亚洲欧洲av色图| 亚洲精品在线免费播放| 欧美视频中文字幕| 99久久伊人网影院| 国产精品一卡二卡在线观看| 五月天欧美精品| 亚洲欧美日韩电影| 国产精品污网站| 欧美成人性战久久| 在线播放欧美女士性生活| jlzzjlzz欧美大全| 国产精品亚洲一区二区三区在线| 免费观看91视频大全| 亚洲一区精品在线| 亚洲久草在线视频| 国产精品国产馆在线真实露脸| 精品国产免费人成电影在线观看四季 | 久久你懂得1024| 日韩欧美在线网站| 欧美日韩精品一区二区天天拍小说| 波多野结衣中文一区| 国产精品综合一区二区| 美女网站色91| 免费高清视频精品| 免费亚洲电影在线| 美女视频免费一区| 日韩激情视频网站| 亚洲国产aⅴ天堂久久| 一区二区三区中文在线| 樱花草国产18久久久久| 亚洲欧美日韩国产成人精品影院| 中文子幕无线码一区tr| 中国色在线观看另类| 国产欧美日韩综合| 国产精品美女久久久久久久久 | 综合久久综合久久| 国产精品美女视频| 亚洲欧美日韩在线| 亚洲一区在线观看视频| 亚洲国产另类精品专区| 五月综合激情日本mⅴ| 日韩专区在线视频| 免费在线观看不卡| 韩国毛片一区二区三区| 成人一区在线观看| 色婷婷综合久久久| 欧美丰满少妇xxxbbb| 欧美电视剧免费全集观看| 久久久亚洲高清| 日韩久久久精品| 91亚洲男人天堂| 色狠狠色噜噜噜综合网| 欧洲亚洲国产日韩| 欧美一级午夜免费电影| 久久综合九色综合97_久久久| 日韩欧美国产高清| 国产日韩精品一区二区三区| 中文字幕日本乱码精品影院| 亚洲精品免费在线| 青青青伊人色综合久久| 色综合久久88色综合天天6| 99久久国产综合色|国产精品| 在线观看亚洲a| 日韩免费福利电影在线观看| 国产亚洲精品超碰| 亚洲资源在线观看| 精品一二三四区| 91网站最新网址| 欧美一区二区三区免费在线看 | 久久er99热精品一区二区| 国产一区二区三区电影在线观看| 成人av小说网| 欧美视频一区在线| 精品剧情在线观看| 亚洲男人的天堂在线aⅴ视频| 日韩高清在线一区| 成人h动漫精品一区二| 欧美日韩成人激情| 中文一区二区完整视频在线观看| 一区二区三区在线免费播放| 国产美女精品一区二区三区| 97久久超碰国产精品电影| 91精品国产综合久久久蜜臀粉嫩| 亚洲国产成人一区二区三区| 日韩电影在线观看电影| 色综合av在线| 国产日韩欧美制服另类| 亚洲成a人片在线不卡一二三区 | 久久99在线观看| 欧美中文字幕亚洲一区二区va在线 | 国产激情91久久精品导航| 精品视频在线看| 亚洲成av人片一区二区三区| 国产三级欧美三级| 午夜精品爽啪视频| 波多野结衣91| 日韩欧美高清在线| 亚洲综合一区二区三区| 高清成人免费视频| 欧美成人精品3d动漫h| 亚洲成人手机在线| 欧洲一区二区三区免费视频| 国产精品午夜春色av| 国产精品一区二区你懂的| 日韩一二三四区| 日韩电影在线免费观看| 欧美在线观看一区| 亚洲一区在线视频观看| 日本道精品一区二区三区| 国产精品不卡在线| 成人黄色片在线观看| 久久精子c满五个校花| 激情图区综合网| 精品免费一区二区三区| 免费欧美在线视频| 日韩欧美国产高清| 久久91精品久久久久久秒播| 日韩精品一区国产麻豆| 麻豆精品国产91久久久久久| 日韩小视频在线观看专区|