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

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

?? decorations.java

?? 源碼為Eclipse開源開發平臺桌面開發工具SWT的源代碼,
?? JAVA
?? 第 1 頁 / 共 4 頁
字號:
public Rectangle getClientArea () {	checkWidget ();	/* 	* Note: The CommandBar is part of the client area,	* not the trim.  Applications don't expect this so	* subtract the height of the CommandBar.	*/	if (OS.IsHPC) {		Rectangle rect = super.getClientArea ();		if (menuBar != null) {			int hwndCB = menuBar.hwndCB;			int height = OS.CommandBar_Height (hwndCB);			rect.y += height;			rect.height -= height;		}		return rect;	}	if (!OS.IsWinCE) {		if (OS.IsIconic (handle)) {			RECT rect = new RECT ();			WINDOWPLACEMENT lpwndpl = new WINDOWPLACEMENT ();			lpwndpl.length = WINDOWPLACEMENT.sizeof;			OS.GetWindowPlacement (handle, lpwndpl);			int width = lpwndpl.right - lpwndpl.left;			int height = lpwndpl.bottom - lpwndpl.top;			OS.SetRect (rect, 0, 0, width, height);			OS.SendMessage (handle, OS.WM_NCCALCSIZE, 0, rect);			return new Rectangle (0, 0, rect.right, rect.bottom);		}	}	return super.getClientArea ();}/** * Returns the receiver's default button if one had * previously been set, otherwise returns null. * * @return the default button or null * * @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 #setDefaultButton */public Button getDefaultButton () {	checkWidget ();	return defaultButton;}/** * Returns the receiver's image if it had previously been  * set using <code>setImage()</code>. The image is typically * displayed by the window manager when the instance is * marked as iconified, and may also be displayed somewhere * in the trim when the instance is in normal or maximized * states. * <p> * Note: This method will return null if called before * <code>setImage()</code> is called. It does not provide * access to a window manager provided, "default" image * even if one exists. * </p> *  * @return the image * * @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 Image getImage () {	checkWidget ();	return image;}/** * Returns the receiver's images if they had previously been  * set using <code>setImages()</code>. Images are typically * displayed by the window manager when the instance is * marked as iconified, and may also be displayed somewhere * in the trim when the instance is in normal or maximized * states. Depending where the icon is displayed, the platform * chooses the icon with the "best" size. It is expected that * the array will contain the same icon rendered at different * resolutions. *  * <p> * Note: This method will return an empty array if called before * <code>setImages()</code> is called. It does not provide * access to a window manager provided, "default" image * even if one exists. * </p> *  * @return the images * * @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 Image [] getImages () {	checkWidget ();	if (images == null) return new Image [0];	Image [] result = new Image [images.length];	System.arraycopy (images, 0, result, 0, images.length);	return result;}public Point getLocation () {	checkWidget ();	if (!OS.IsWinCE) {		if (OS.IsIconic (handle)) {			WINDOWPLACEMENT lpwndpl = new WINDOWPLACEMENT ();			lpwndpl.length = WINDOWPLACEMENT.sizeof;			OS.GetWindowPlacement (handle, lpwndpl);			return new Point (lpwndpl.left, lpwndpl.top);		}	}	return super.getLocation ();}/** * Returns <code>true</code> if the receiver is currently * maximized, and false otherwise.  * <p> * * @return the maximized 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 #setMaximized */public boolean getMaximized () {	checkWidget ();	if (OS.IsWinCE) return swFlags == OS.SW_SHOWMAXIMIZED;	if (OS.IsWindowVisible (handle)) return OS.IsZoomed (handle);	return swFlags == OS.SW_SHOWMAXIMIZED;}/** * Returns the receiver's menu bar if one had previously * been set, otherwise returns null. * * @return the menu bar or null * * @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 Menu getMenuBar () {	checkWidget ();	return menuBar;}/** * Returns <code>true</code> if the receiver is currently * minimized, and false otherwise.  * <p> * * @return the minimized 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 #setMinimized */public boolean getMinimized () {	checkWidget ();	if (OS.IsWinCE) return false;	if (OS.IsWindowVisible (handle)) return OS.IsIconic (handle);	return swFlags == OS.SW_SHOWMINNOACTIVE;}String getNameText () {	return getText ();}public Point getSize () {	checkWidget ();	if (!OS.IsWinCE) {		if (OS.IsIconic (handle)) {			WINDOWPLACEMENT lpwndpl = new WINDOWPLACEMENT ();			lpwndpl.length = WINDOWPLACEMENT.sizeof;			OS.GetWindowPlacement (handle, lpwndpl);			int width = lpwndpl.right - lpwndpl.left;			int height = lpwndpl.bottom - lpwndpl.top;			return new Point (width, height);		}	}	return super.getSize ();}/** * Returns the receiver's text, which is the string that the * window manager will typically display as the receiver's * <em>title</em>. If the text has not previously been set,  * returns an empty string. * * @return the 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 getText () {	checkWidget ();	int length = OS.GetWindowTextLength (handle);	if (length == 0) return "";	/* Use the character encoding for the default locale */	TCHAR buffer = new TCHAR (0, length + 1);	OS.GetWindowText (handle, buffer, length + 1);	return buffer.toString (0, length);}public boolean isReparentable () {	checkWidget ();	/*	* Feature in Windows.  Calling SetParent() for a shell causes	* a kind of fake MDI to happen.  It doesn't work well on Windows	* and is not supported on the other platforms.  The fix is to	* disallow the SetParent().	*/	return false;}boolean isTabGroup () {	/*	* Can't test WS_TAB bits because they are the same as WS_MAXIMIZEBOX.	*/	return true;}boolean isTabItem () {	/*	* Can't test WS_TAB bits because they are the same as WS_MAXIMIZEBOX.	*/	return false;}Decorations menuShell () {	return this;}void releaseWidget () {	if (menuBar != null) menuBar.releaseResources ();	menuBar = null;	if (menus != null) {		do {			int index = 0;			while (index < menus.length) {				Menu menu = menus [index];				if (menu != null && !menu.isDisposed ()) {					while (menu.getParentMenu () != null) {						menu = menu.getParentMenu ();					}					menu.dispose ();					break;				}				index++;			}			if (index == menus.length) break;		} while (true);	}	menus = null;	super.releaseWidget ();	if (smallImage != null) smallImage.dispose ();	if (largeImage != null) largeImage.dispose ();	smallImage = largeImage = image = null;	images = null;	savedFocus = null;	defaultButton = saveDefault = null;	if (hAccel != 0 && hAccel != -1) OS.DestroyAcceleratorTable (hAccel);	hAccel = -1;}void removeMenu (Menu menu) {	if (menus == null) return;	for (int i=0; i<menus.length; i++) {		if (menus [i] == menu) {			menus [i] = null;			return;		}	}}boolean restoreFocus () {	if (display.ignoreRestoreFocus) return true;	if (savedFocus != null && savedFocus.isDisposed ()) savedFocus = null;	if (savedFocus != null && savedFocus.setSavedFocus ()) return true;	/*	* This code is intentionally commented.  When no widget	* has been given focus, some platforms give focus to the	* default button.  Windows doesn't do this.	*///	if (defaultButton != null && !defaultButton.isDisposed ()) {//		if (defaultButton.setFocus ()) return true;//	}	return false;}void saveFocus () {	Control control = display.getFocusControl ();	if (control != null && control != this && this == control.menuShell ()) {		setSavedFocus (control);	}}void setBounds (int x, int y, int width, int height, int flags) {	if (OS.IsWinCE) {		super.setBounds (x, y, width, height, flags);	}	if (OS.IsIconic (handle) || OS.IsZoomed (handle)) {		setPlacement (x, y, width, height, flags);		return;	}	super.setBounds (x, y, width, height, flags);}/** * If the argument is not null, sets the receiver's default * button to the argument, and if the argument is null, sets * the receiver's default button to the first button which * was set as the receiver's default button (called the  * <em>saved default button</em>). If no default button had * previously been set, or the saved default button was * disposed, the receiver's default button will be set to * null.  * * @param button the new default button * * @exception IllegalArgumentException <ul> *    <li>ERROR_INVALID_ARGUMENT - if the button 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 setDefaultButton (Button button) {	checkWidget ();	setDefaultButton (button, true);}void setDefaultButton (Button button, boolean save) {	if (button == null) {		if (defaultButton == saveDefault) {			if (save) saveDefault = null;			return;		}	} else {		if (button.isDisposed()) error(SWT.ERROR_INVALID_ARGUMENT);		if ((button.style & SWT.PUSH) == 0) return;		if (button == defaultButton) return;	}	if (defaultButton != null) {		if (!defaultButton.isDisposed ()) defaultButton.setDefault (false);	}	if ((defaultButton = button) == null) defaultButton = saveDefault;	if (defaultButton != null) {		if (!defaultButton.isDisposed ()) defaultButton.setDefault (true);	}	if (save) saveDefault = defaultButton;	if (saveDefault != null && saveDefault.isDisposed ()) saveDefault = null;}/** * Sets the receiver's image to the argument, which may * be null. The image is typically displayed by the window * manager when the instance is marked as iconified, and * may also be displayed somewhere in the trim when the * instance is in normal or maximized states. *  * @param image the new image (or null) * * @exception IllegalArgumentException <ul> *    <li>ERROR_INVALID_ARGUMENT - if the image 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> */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美综合色| 国产a级毛片一区| 国产精品一区二区无线| 色综合久久久久网| 久久综合久久综合久久综合| 一区二区三区精品视频在线| 九九精品视频在线看| 欧美午夜精品久久久| 欧美激情一区二区三区蜜桃视频 | 久久久高清一区二区三区| 亚洲国产精品人人做人人爽| 粉嫩aⅴ一区二区三区四区 | 色妹子一区二区| 久久久久99精品国产片| 秋霞成人午夜伦在线观看| 在线观看国产日韩| 亚洲四区在线观看| 国产成人激情av| 精品国产成人在线影院| 日韩精品成人一区二区在线| 在线看日本不卡| 亚洲最新视频在线观看| 99精品视频在线观看| 久久久国产精品午夜一区ai换脸| 久久国内精品自在自线400部| 欧美亚洲一区三区| 一区二区成人在线| 在线亚洲+欧美+日本专区| 亚洲欧洲精品一区二区三区不卡 | 国产喷白浆一区二区三区| 经典三级在线一区| 日韩三级在线免费观看| 丝袜美腿高跟呻吟高潮一区| 在线观看中文字幕不卡| 一区二区不卡在线播放 | 中文字幕在线观看不卡视频| 国产一区二区精品久久99| 久久天堂av综合合色蜜桃网| 国产一区二区在线免费观看| 精品成人私密视频| 国产成人在线影院| 国产精品久久久久久福利一牛影视| 国产精品一区二区久久不卡| 亚洲国产电影在线观看| 99精品偷自拍| 亚洲高清在线视频| 日韩一区二区麻豆国产| 国产在线视频精品一区| 国产精品婷婷午夜在线观看| 91亚洲男人天堂| 亚洲午夜一区二区三区| 91精品国产综合久久精品app| 男男gaygay亚洲| 国产性色一区二区| 91久久线看在观草草青青| 午夜精品久久久久久久| 精品国产人成亚洲区| 成人深夜视频在线观看| 亚洲最大的成人av| 日韩欧美一级在线播放| 99久久伊人精品| 日韩av电影免费观看高清完整版| 精品国产乱码久久久久久老虎| 国产麻豆91精品| 亚洲精品久久久蜜桃| 日韩欧美一区二区免费| a在线播放不卡| 爽爽淫人综合网网站| 国产精品女同互慰在线看| 欧美日产在线观看| 成人黄色在线看| 日本成人在线看| 国产精品福利电影一区二区三区四区| 欧美色综合久久| 国产高清一区日本| 午夜婷婷国产麻豆精品| 国产精品毛片大码女人| 91麻豆精品国产91久久久资源速度| 粉嫩av一区二区三区在线播放 | 国内成人免费视频| 樱桃国产成人精品视频| 337p粉嫩大胆噜噜噜噜噜91av | 亚洲精品一区二区三区蜜桃下载 | 久久久久久久久久电影| 欧美日韩在线一区二区| 成熟亚洲日本毛茸茸凸凹| 视频在线观看一区二区三区| 中文字幕欧美一| 久久久久久一二三区| 91精品久久久久久久91蜜桃| 91看片淫黄大片一级在线观看| 久草精品在线观看| 日本欧美大码aⅴ在线播放| 一区二区三区四区精品在线视频| 亚洲国产电影在线观看| 久久婷婷成人综合色| 日韩亚洲国产中文字幕欧美| 在线观看亚洲精品| 日本韩国一区二区三区| 91免费精品国自产拍在线不卡| 国产精品一二三| 激情另类小说区图片区视频区| 视频一区中文字幕| 香蕉乱码成人久久天堂爱免费| 1024精品合集| |精品福利一区二区三区| 国产精品另类一区| 国产目拍亚洲精品99久久精品| 欧美成人video| 精品国产一区二区三区不卡| 日韩欧美国产麻豆| 亚洲精品在线电影| 久久久久久久国产精品影院| 久久久久久久综合狠狠综合| 久久久精品一品道一区| 国产色91在线| 国产精品网站导航| 综合自拍亚洲综合图不卡区| 国产精品剧情在线亚洲| 国产精品大尺度| 一区二区三区精品在线| 一区二区三区不卡视频| 香蕉影视欧美成人| 麻豆中文一区二区| 国产福利91精品一区二区三区| 国产成人av一区二区三区在线 | 亚洲国产精品久久人人爱蜜臀| 亚洲综合av网| 午夜私人影院久久久久| 男男成人高潮片免费网站| 国产综合色视频| 丁香激情综合五月| 99久久精品99国产精品| 在线视频一区二区免费| 91精品国产福利| 久久视频一区二区| 国产精品久久久久久久久图文区| 亚洲欧洲日韩综合一区二区| 亚洲午夜电影在线观看| 久久国产精品色婷婷| 高清不卡一二三区| 在线免费观看日本欧美| 日韩欧美中文字幕公布| 欧美国产精品中文字幕| 亚洲一区二区高清| 国产综合久久久久久久久久久久 | 欧美日韩精品专区| 欧美电影免费观看高清完整版在线 | 日韩欧美在线一区二区三区| 久久久久久电影| 椎名由奈av一区二区三区| 亚洲一区二区三区四区中文字幕| 久久精品国产亚洲一区二区三区| 成人午夜视频免费看| 在线电影院国产精品| 国产精品久久777777| 午夜精品久久久久久久蜜桃app | 青青草视频一区| eeuss鲁一区二区三区| 日韩一区二区在线观看视频| 欧美国产一区二区在线观看| 一区二区三区免费看视频| 经典三级一区二区| 欧美视频在线一区二区三区| 久久综合资源网| 亚洲成人动漫av| 成人av中文字幕| 久久综合久久综合久久| 亚洲成av人片观看| 91免费国产在线观看| 久久影院午夜片一区| 亚洲v中文字幕| 91美女在线看| 国产午夜三级一区二区三| 日本免费新一区视频| 在线观看视频一区| 中文字幕在线不卡| 国产精品888| 精品久久久久久亚洲综合网| 亚洲成人久久影院| 91豆麻精品91久久久久久| 国产三级一区二区| 激情六月婷婷久久| 精品欧美乱码久久久久久1区2区| 亚洲第一狼人社区| 欧美午夜精品久久久久久孕妇| 亚洲欧美在线高清| 成人高清免费观看| 国产午夜精品一区二区三区嫩草 | 亚洲影院久久精品| 成人蜜臀av电影| 国产欧美一区二区精品仙草咪| 久久成人羞羞网站| 欧美大度的电影原声| 久久99国产精品免费网站| 日韩一级视频免费观看在线| 日韩av成人高清| 日韩情涩欧美日韩视频| 乱一区二区av| 2021中文字幕一区亚洲|