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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? button.java

?? 源碼為Eclipse開(kāi)源開(kāi)發(fā)平臺(tái)桌面開(kāi)發(fā)工具SWT的源代碼,
?? JAVA
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
	return Character.toUpperCase (key) == Character.toUpperCase (mnemonic);}void releaseWidget () {	super.releaseWidget ();	image = null;}/** * Removes the listener from the collection of listeners who will * be notified when the control is selected. * * @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 SelectionListener * @see #addSelectionListener */public void removeSelectionListener (SelectionListener listener) {	checkWidget ();	if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);	if (eventTable == null) return;	eventTable.unhook (SWT.Selection, listener);	eventTable.unhook (SWT.DefaultSelection,listener);	}void selectRadio () {	/*	* This code is intentionally commented.  When two groups	* of radio buttons with the same parent are separated by	* another control, the correct behavior should be that	* the two groups act independently.  This is consistent	* with radio tool and menu items.  The commented code	* implements this behavior.	*///	int index = 0;//	Control [] children = parent._getChildren ();//	while (index < children.length && children [index] != this) index++;//	int i = index - 1;//	while (i >= 0 && children [i].setRadioSelection (false)) --i;//	int j = index + 1;//	while (j < children.length && children [j].setRadioSelection (false)) j++;//	setSelection (true);	Control [] children = parent._getChildren ();	for (int i=0; i<children.length; i++) {		Control child = children [i];		if (this != child) child.setRadioSelection (false);	}	setSelection (true);}/** * Controls how text, images and arrows will be displayed * in the receiver. The argument should be one of * <code>LEFT</code>, <code>RIGHT</code> or <code>CENTER</code> * unless the receiver is an <code>ARROW</code> button, in  * which case, the argument indicates the direction of * the arrow (one of <code>LEFT</code>, <code>RIGHT</code>,  * <code>UP</code> or <code>DOWN</code>). * * @param alignment the new alignment  * * @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 setAlignment (int alignment) {	checkWidget ();	if ((style & SWT.ARROW) != 0) {		if ((style & (SWT.UP | SWT.DOWN | SWT.LEFT | SWT.RIGHT)) == 0) return; 		style &= ~(SWT.UP | SWT.DOWN | SWT.LEFT | SWT.RIGHT);		style |= alignment & (SWT.UP | SWT.DOWN | SWT.LEFT | SWT.RIGHT);		OS.InvalidateRect (handle, null, true);		return;	}	if ((alignment & (SWT.LEFT | SWT.RIGHT | SWT.CENTER)) == 0) return;	style &= ~(SWT.LEFT | SWT.RIGHT | SWT.CENTER);	style |= alignment & (SWT.LEFT | SWT.RIGHT | SWT.CENTER);	int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);	bits &= ~(OS.BS_LEFT | OS.BS_CENTER | OS.BS_RIGHT);	if ((style & SWT.LEFT) != 0) bits |= OS.BS_LEFT;	if ((style & SWT.CENTER) != 0) bits |= OS.BS_CENTER;	if ((style & SWT.RIGHT) != 0) bits |= OS.BS_RIGHT;	OS.SetWindowLong (handle, OS.GWL_STYLE, bits);	OS.InvalidateRect (handle, null, true);}void setDefault (boolean value) {	if ((style & SWT.PUSH) == 0) return;	int hwndShell = menuShell ().handle;	int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);	if (value) {		bits |= OS.BS_DEFPUSHBUTTON;		OS.SendMessage (hwndShell, OS.DM_SETDEFID, handle, 0);	} else {		bits &= ~OS.BS_DEFPUSHBUTTON;		OS.SendMessage (hwndShell, OS.DM_SETDEFID, 0, 0);	}	OS.SendMessage (handle, OS.BM_SETSTYLE, bits, 1);}/** * Sets the receiver's image to the argument, which may be * null indicating that no image should be displayed. * * @param image the image to display on the receiver (may be 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> */public void setImage (Image image) {	checkWidget ();	int hImage = 0, imageBits = 0, fImageType = 0;	if (image != null) {		if (image.isDisposed()) error(SWT.ERROR_INVALID_ARGUMENT);		hImage = image.handle;		switch (image.type) {			case SWT.BITMAP:				imageBits = OS.BS_BITMAP;				fImageType = OS.IMAGE_BITMAP;				break;			case SWT.ICON:				imageBits = OS.BS_ICON;				fImageType = OS.IMAGE_ICON;				break;			default:				return;		}	}	this.image = image;	int newBits = OS.GetWindowLong (handle, OS.GWL_STYLE);	int oldBits = newBits;	newBits &= ~(OS.BS_BITMAP | OS.BS_ICON);	newBits |= imageBits;	if (newBits != oldBits) {		OS.SetWindowLong (handle, OS.GWL_STYLE, newBits);	}	OS.SendMessage (handle, OS.BM_SETIMAGE, fImageType, hImage);}boolean setRadioFocus () {	if ((style & SWT.RADIO) == 0 || !getSelection ()) return false;	return setFocus ();}boolean setRadioSelection (boolean value) {	if ((style & SWT.RADIO) == 0) return false;	if (getSelection () != value) {		setSelection (value);		postEvent (SWT.Selection);	}	return true;}boolean setSavedFocus () {	/*	* Feature in Windows.  When a radio button gets focus, 	* it selects the button in WM_SETFOCUS.  If the previous	* saved focus widget was a radio button, allowing the shell	* to automatically restore the focus to the previous radio	* button will unexpectedly check that button.  The fix is	* to disallow focus to be restored to radio button that is	* not selected.	*/	if ((style & SWT.RADIO) != 0 && !getSelection ()) return false;	return super.setSavedFocus ();}/** * Sets the selection state of the receiver, if it is of type <code>CHECK</code>,  * <code>RADIO</code>, or <code>TOGGLE</code>. * * <p> * When the receiver is of type <code>CHECK</code> or <code>RADIO</code>, * it is selected when it is checked. When it is of type <code>TOGGLE</code>, * it is selected when it is pushed in. * * @param selected the new selection 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 setSelection (boolean selected) {	checkWidget ();	if ((style & (SWT.CHECK | SWT.RADIO | SWT.TOGGLE)) == 0) return;	int flags = selected ? OS.BST_CHECKED : OS.BST_UNCHECKED;		/*	* Feature in Windows. When BM_SETCHECK is used	* to set the checked state of a radio or check	* button, it sets the WM_TABSTOP style.  This	* is undocumented and unwanted.  The fix is	* to save and restore the window style bits.	*/	int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);	OS.SendMessage (handle, OS.BM_SETCHECK, flags, 0);	OS.SetWindowLong (handle, OS.GWL_STYLE, bits);     }/** * Sets the receiver's text. * <p> * This method sets the button label.  The label may include * the mnemonic character but must not contain line delimiters. * </p> * <p> * Mnemonics are indicated by an '&amp' that causes the next * character to be the mnemonic.  When the user presses a * key sequence that matches the mnemonic, a selection * event occurs. On most platforms, the mnemonic appears * underlined but may be emphasised in a platform specific * manner.  The mnemonic indicator character '&amp' can be * escaped by doubling it in the string, causing a single *'&amp' to be displayed. * </p> *  * @param string the new text * * @exception IllegalArgumentException <ul> *    <li>ERROR_NULL_ARGUMENT - if the text 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> */public void setText (String string) {	checkWidget ();	if (string == null) error (SWT.ERROR_NULL_ARGUMENT);	if ((style & SWT.ARROW) != 0) return;	int newBits = OS.GetWindowLong (handle, OS.GWL_STYLE);	int oldBits = newBits;	newBits &= ~(OS.BS_BITMAP | OS.BS_ICON);	if (newBits != oldBits) {		OS.SetWindowLong (handle, OS.GWL_STYLE, newBits);	}	TCHAR buffer = new TCHAR (getCodePage (), string, true);	OS.SetWindowText (handle, buffer);}int widgetStyle () {	int bits = super.widgetStyle ();	if ((style & SWT.FLAT) != 0) bits |= OS.BS_FLAT;	if ((style & SWT.ARROW) != 0) return bits | OS.BS_OWNERDRAW;	if ((style & SWT.LEFT) != 0) bits |= OS.BS_LEFT;	if ((style & SWT.CENTER) != 0) bits |= OS.BS_CENTER;	if ((style & SWT.RIGHT) != 0) bits |= OS.BS_RIGHT;	if ((style & SWT.PUSH) != 0) return bits | OS.BS_PUSHBUTTON | OS.WS_TABSTOP;	if ((style & SWT.CHECK) != 0) return bits | OS.BS_CHECKBOX | OS.WS_TABSTOP;	if ((style & SWT.RADIO) != 0) return bits | OS.BS_RADIOBUTTON;	if ((style & SWT.TOGGLE) != 0) return bits | OS.BS_PUSHLIKE | OS.BS_CHECKBOX;	return bits | OS.BS_PUSHBUTTON | OS.WS_TABSTOP;}TCHAR windowClass () {	return ButtonClass;}int windowProc () {	return ButtonProc;}LRESULT WM_GETDLGCODE (int wParam, int lParam) {	LRESULT result = super.WM_GETDLGCODE (wParam, lParam);	if (result != null) return result;	if ((style & SWT.ARROW) != 0) {		return new LRESULT (OS.DLGC_STATIC);	}	return result;}LRESULT WM_KILLFOCUS (int wParam, int lParam) {	LRESULT result = super.WM_KILLFOCUS (wParam, lParam);	if ((style & SWT.PUSH) != 0 && getDefault ()) {		menuShell ().setDefaultButton (null, false);	}	return result;}LRESULT WM_SETFOCUS (int wParam, int lParam) {	/*	* Feature in Windows. When Windows sets focus to	* a radio button, it sets the WM_TABSTOP style.	* This is undocumented and unwanted.  The fix is	* to save and restore the window style bits.	*/	int bits = 0;	if ((style & SWT.RADIO) != 0) {		bits = OS.GetWindowLong (handle, OS.GWL_STYLE);	}	LRESULT result = super.WM_SETFOCUS (wParam, lParam);	if ((style & SWT.RADIO) != 0) {		OS.SetWindowLong (handle, OS.GWL_STYLE, bits);	}	if ((style & SWT.PUSH) != 0) {		menuShell ().setDefaultButton (this, false);	}	return result;}LRESULT wmCommandChild (int wParam, int lParam) {	int code = wParam >> 16;	switch (code) {		case OS.BN_CLICKED:		case OS.BN_DOUBLECLICKED:			if ((style & (SWT.CHECK | SWT.TOGGLE)) != 0) {				setSelection (!getSelection ());			} else {				if ((style & SWT.RADIO) != 0) {					if ((parent.getStyle () & SWT.NO_RADIO_GROUP) != 0) {						setSelection (!getSelection ());					} else {						selectRadio ();					}				}			}			postEvent (SWT.Selection);	}	return super.wmCommandChild (wParam, lParam);}LRESULT wmDrawChild (int wParam, int lParam) {	if ((style & SWT.ARROW) == 0) return super.wmDrawChild (wParam, lParam);	DRAWITEMSTRUCT struct = new DRAWITEMSTRUCT ();	OS.MoveMemory (struct, lParam, DRAWITEMSTRUCT.sizeof);	int uState = OS.DFCS_SCROLLLEFT;	switch (style & (SWT.UP | SWT.DOWN | SWT.LEFT | SWT.RIGHT)) {		case SWT.UP: uState = OS.DFCS_SCROLLUP; break;		case SWT.DOWN: uState = OS.DFCS_SCROLLDOWN; break;		case SWT.LEFT: uState = OS.DFCS_SCROLLLEFT; break;		case SWT.RIGHT: uState = OS.DFCS_SCROLLRIGHT; break;	}	if (!getEnabled ()) uState |= OS.DFCS_INACTIVE;	if ((style & SWT.FLAT) == SWT.FLAT) uState |= OS.DFCS_FLAT;	if ((struct.itemState & OS.ODS_SELECTED) != 0) uState |= OS.DFCS_PUSHED;	RECT rect = new RECT ();	OS.SetRect (rect, struct.left, struct.top, struct.right, struct.bottom);	OS.DrawFrameControl (struct.hDC, rect, OS.DFC_SCROLL, uState);	return null;}}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美mv日韩mv国产| av在线一区二区三区| 国产午夜亚洲精品羞羞网站| 欧美在线观看一区二区| 一区二区三区欧美在线观看| 91美女片黄在线| 亚洲综合偷拍欧美一区色| 欧美日韩国产一级| 欧美aaaaa成人免费观看视频| 欧美mv日韩mv国产网站app| 国产剧情一区二区三区| 国产精品乱码一区二三区小蝌蚪| 91蝌蚪国产九色| 日韩精品电影在线观看| 国产亚洲女人久久久久毛片| 99久久久久久| 蜜臀va亚洲va欧美va天堂| 久久久www成人免费毛片麻豆| 91色在线porny| 天堂资源在线中文精品| 久久精品无码一区二区三区| eeuss鲁片一区二区三区在线看| 亚洲一区二区三区四区中文字幕| 欧美成人性福生活免费看| 久久99精品久久久| 国产一区二区在线影院| 亚洲欧美综合网| 欧美这里有精品| 激情综合一区二区三区| 亚洲欧洲无码一区二区三区| 51精品国自产在线| gogogo免费视频观看亚洲一| 日韩av不卡在线观看| 中文字幕一区二区三区乱码在线| 欧美一卡二卡在线| 99精品偷自拍| 韩国av一区二区三区四区| 亚洲一区二区三区中文字幕在线| 精品电影一区二区| 欧美剧在线免费观看网站| 成人黄色国产精品网站大全在线免费观看 | 国产精品亚洲一区二区三区妖精| 亚洲免费在线观看视频| 欧美国产精品一区| 亚洲不卡一区二区三区| 国产无人区一区二区三区| 欧美网站大全在线观看| 成人动漫中文字幕| 国内欧美视频一区二区| 日韩国产欧美在线视频| 亚洲日本电影在线| 欧美国产综合色视频| 精品久久一区二区| 欧美日韩国产天堂| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 欧美一区二区免费观在线| 91蜜桃视频在线| 成熟亚洲日本毛茸茸凸凹| 精品一区二区三区免费| 视频在线观看一区| 午夜精品福利视频网站| 亚洲精品乱码久久久久| 亚洲婷婷国产精品电影人久久| 2014亚洲片线观看视频免费| 不卡高清视频专区| 久久蜜桃av一区精品变态类天堂| 欧美天天综合网| 色呦呦日韩精品| av午夜精品一区二区三区| 丰满亚洲少妇av| 国产麻豆精品视频| 国产一区二区三区不卡在线观看 | 色欧美日韩亚洲| www.综合网.com| 99精品视频在线观看免费| 99久久精品久久久久久清纯| hitomi一区二区三区精品| av电影在线观看一区| 色综合一个色综合| 欧洲激情一区二区| 欧美日韩国产中文| 正在播放亚洲一区| 日韩免费电影一区| 337p日本欧洲亚洲大胆色噜噜| 2024国产精品视频| 久久久五月婷婷| 国产精品毛片久久久久久| 亚洲欧美一区二区久久| 99精品视频在线播放观看| 国产欧美精品一区aⅴ影院| 日韩一级免费观看| 精品久久久久久久人人人人传媒| 日韩视频一区二区三区在线播放| 精品少妇一区二区三区视频免付费| 欧美大片一区二区三区| 久久久精品国产免费观看同学| 久久久久九九视频| 亚洲人成在线播放网站岛国| 一片黄亚洲嫩模| 另类调教123区 | 国产精品电影一区二区三区| 亚洲精品亚洲人成人网| 日本女人一区二区三区| 国产一区在线视频| 99久免费精品视频在线观看| 欧美亚一区二区| 精品国产免费视频| 亚洲男人天堂一区| 蓝色福利精品导航| 波多野结衣91| 91精品国产综合久久久久久漫画 | 欧美高清视频在线高清观看mv色露露十八| 在线不卡一区二区| 国产精品毛片久久久久久久| 亚洲国产日韩一级| 懂色一区二区三区免费观看| 欧美曰成人黄网| 国产日韩欧美a| 亚洲国产精品麻豆| 国产.精品.日韩.另类.中文.在线.播放| 91在线观看污| 日韩欧美你懂的| 亚洲综合色婷婷| 国产精品一区二区x88av| 欧美性猛片xxxx免费看久爱| 久久影院午夜片一区| 亚洲成人激情自拍| 成人性生交大片免费看中文| 欧美一区二区在线不卡| 日韩美女精品在线| 国内精品免费在线观看| 欧美精品粉嫩高潮一区二区| 亚洲人成在线播放网站岛国| 国产酒店精品激情| 欧美一区二区三区免费观看视频| 亚洲图片激情小说| 国产精品白丝jk黑袜喷水| 欧美精品v国产精品v日韩精品| 中文字幕一区二区三区在线观看| 毛片av中文字幕一区二区| 在线视频你懂得一区| 中文文精品字幕一区二区| 男人的天堂亚洲一区| 欧美亚洲自拍偷拍| 国产精品久久久久久久蜜臀| 看电影不卡的网站| 欧美久久婷婷综合色| 一区二区在线电影| 中文成人综合网| 一区二区日韩av| 99re在线精品| 国产精品视频免费看| 久久99国产精品久久| 91精品国产一区二区三区| 亚洲一区二区黄色| 在线亚洲高清视频| 亚洲一区二区欧美日韩| 在线看日韩精品电影| 一区二区三区在线免费观看| 91在线看国产| **网站欧美大片在线观看| 成人黄色av电影| 亚洲丝袜制服诱惑| 一本色道综合亚洲| 一区二区三区美女| 在线免费观看视频一区| 亚洲欧美日韩中文字幕一区二区三区| 日本午夜精品一区二区三区电影 | 欧美一级在线免费| 日韩国产欧美一区二区三区| 欧美群妇大交群中文字幕| 亚洲午夜影视影院在线观看| 欧美中文字幕一区| 午夜成人免费视频| 欧美一区二区在线免费观看| 久久精品国产一区二区三区免费看| 欧美狂野另类xxxxoooo| 免费看欧美女人艹b| 久久免费看少妇高潮| 国产91高潮流白浆在线麻豆| 中文字幕中文字幕中文字幕亚洲无线| 成人午夜看片网址| 一区二区三区欧美激情| 欧美婷婷六月丁香综合色| 日韩电影在线免费看| 精品三级av在线| 成人一级黄色片| 亚洲综合色区另类av| 日韩午夜小视频| 国产.欧美.日韩| 亚洲激情在线播放| 日韩一级二级三级精品视频| 国产精品18久久久久久久久久久久 | 国产在线视频一区二区| 欧美国产日韩在线观看| 色婷婷综合久色| 日本91福利区| 国产精品网友自拍| 欧美午夜不卡在线观看免费| 奇米综合一区二区三区精品视频 |