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

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

?? ccombo.java

?? 源碼為Eclipse開源開發平臺桌面開發工具SWT的源代碼,
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
** This operation will fail when the index is out* of range or an item could not be removed from* the OS.** @param index the index of the item** @exception SWTError(ERROR_THREAD_INVALID_ACCESS)*	when called from the wrong thread* @exception SWTError(ERROR_WIDGET_DISPOSED)*	when the widget has been disposed* @exception SWTError(ERROR_ITEM_NOT_REMOVED)*	when the operation fails*/public void remove (int index) {	checkWidget();	list.remove (index);}/*** Removes a range of items.* <p>* Indexing is zero based.  The range of items* is from the start index up to and including* the end index.** This operation will fail when the index is out* of range or an item could not be removed from* the OS.** @param start the start of the range* @param end the end of the range** @exception SWTError(ERROR_THREAD_INVALID_ACCESS)*	when called from the wrong thread* @exception SWTError(ERROR_WIDGET_DISPOSED)*	when the widget has been disposed* @exception SWTError(ERROR_ITEM_NOT_REMOVED)*	when the operation fails*/public void remove (int start, int end) {	checkWidget();	list.remove (start, end);}/*** Removes an item.* <p>* This operation will fail when the item* could not be removed from the OS.** @param string the search item** @exception SWTError(ERROR_THREAD_INVALID_ACCESS)*	when called from the wrong thread* @exception SWTError(ERROR_WIDGET_DISPOSED)*	when the widget has been disposed* @exception SWTError(ERROR_NULL_ARGUMENT)*	when string is null* @exception SWTError(ERROR_ITEM_NOT_REMOVED)*	when the operation fails*/public void remove (String string) {	checkWidget();	if (string == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);	list.remove (string);}/*** Removes all items.* <p>* @exception SWTError(ERROR_THREAD_INVALID_ACCESS)*	when called from the wrong thread* @exception SWTError(ERROR_WIDGET_DISPOSED)*	when the widget has been disposed*/public void removeAll () {	checkWidget();	text.setText (""); //$NON-NLS-1$	list.removeAll ();}/**	 * Removes the listener.* <p>** @param listener the listener** @exception SWTError(ERROR_THREAD_INVALID_ACCESS)*	when called from the wrong thread* @exception SWTError(ERROR_WIDGET_DISPOSED)*	when the widget has been disposed* @exception SWTError(ERROR_NULL_ARGUMENT)*	when listener is null*/public void removeModifyListener (ModifyListener listener) {	checkWidget();	if (listener == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);	removeListener(SWT.Modify, listener);	}/**	 * Removes the listener.* <p>** @param listener the listener** @exception SWTError(ERROR_THREAD_INVALID_ACCESS)*	when called from the wrong thread* @exception SWTError(ERROR_WIDGET_DISPOSED)*	when the widget has been disposed* @exception SWTError(ERROR_NULL_ARGUMENT)*	when listener is null*/public void removeSelectionListener (SelectionListener listener) {	checkWidget();	if (listener == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);	removeListener(SWT.Selection, listener);	removeListener(SWT.DefaultSelection,listener);	}/*** Selects an item.* <p>* If the item at an index is not selected, it is* selected. Indices that are out of* range are ignored.  Indexing is zero based.** @param index the index of the item** @exception SWTError(ERROR_THREAD_INVALID_ACCESS)*	when called from the wrong thread* @exception SWTError(ERROR_WIDGET_DISPOSED)*	when the widget has been disposed*/public void select (int index) {	checkWidget();	if (index == -1) {		list.deselectAll ();		text.setText (""); //$NON-NLS-1$		return;	}	if (0 <= index && index < list.getItemCount()) {		if (index != getSelectionIndex()) {			text.setText (list.getItem (index));			text.selectAll ();			list.select (index);			list.showSelection ();		}	}}public void setBackground (Color color) {	super.setBackground(color);	background = color;	if (text != null) text.setBackground(color);	if (list != null) list.setBackground(color);	if (arrow != null) arrow.setBackground(color);}/** * Sets the editable state. * * @param editable the new editable 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> * * @since 3.0 * */public void setEditable (boolean editable) {	checkWidget ();	text.setEditable(editable);}public void setEnabled (boolean enabled) {	super.setEnabled(enabled);	if (popup != null) popup.setVisible (false);	if (text != null) text.setEnabled(enabled);	if (arrow != null) arrow.setEnabled(enabled);}public boolean setFocus () {	checkWidget();	return text.setFocus ();}public void setFont (Font font) {	super.setFont (font);	this.font = font;	text.setFont (font);	list.setFont (font);	internalLayout ();}public void setForeground (Color color) {	super.setForeground(color);	foreground = color;	if (text != null) text.setForeground(color);	if (list != null) list.setForeground(color);	if (arrow != null) arrow.setForeground(color);}/*** Sets the text of an item; indexing is zero based.** This operation will fail when the index is out* of range or an item could not be changed in* the OS.** @param index the index for the item* @param string the item** @exception SWTError(ERROR_THREAD_INVALID_ACCESS)*	when called from the wrong thread* @exception SWTError(ERROR_WIDGET_DISPOSED)*	when the widget has been disposed* @exception SWTError(ERROR_NULL_ARGUMENT)*	when items is null* @exception SWTError(ERROR_ITEM_NOT_MODIFIED)*	when the operation fails*/public void setItem (int index, String string) {	checkWidget();	if (string == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);	list.setItem (index, string);}/*** Sets all items.** @param items the array of items** @exception SWTError(ERROR_THREAD_INVALID_ACCESS)*	when called from the wrong thread* @exception SWTError(ERROR_WIDGET_DISPOSED)*	when the widget has been disposed* @exception SWTError(ERROR_NULL_ARGUMENT)*	when items is null* @exception SWTError(ERROR_ITEM_NOT_ADDED)*	when the operation fails*/public void setItems (String [] items) {	checkWidget();	if (items == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);	if (!text.getEditable()) text.setText (""); //$NON-NLS-1$	list.setItems (items);}/*** Sets the new selection.** @param selection point representing the start and the end of the new selection** @exception SWTError(ERROR_THREAD_INVALID_ACCESS)*	when called from the wrong thread* @exception SWTError(ERROR_WIDGET_DISPOSED)*	when the widget has been disposed* @exception SWTError(ERROR_NULL_ARGUMENT)*	when selection is null*/public void setSelection (Point selection) {	checkWidget();	if (selection == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);	text.setSelection (selection.x, selection.y);}/*** Sets the widget text.** @param string the widget text** @exception SWTError(ERROR_THREAD_INVALID_ACCESS)*	when called from the wrong thread* @exception SWTError(ERROR_WIDGET_DISPOSED)*	when the widget has been disposed* @exception SWTError(ERROR_NULL_ARGUMENT)*	when string is null*/public void setText (String string) {	checkWidget();	if (string == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);	int index = list.indexOf (string);	if (index == -1) {		list.deselectAll ();		text.setText (string);		return;	}	text.setText (string);	text.selectAll ();	list.setSelection (index);	list.showSelection ();}/*** Sets the text limit.* * @param limit new text limit** @exception SWTError(ERROR_THREAD_INVALID_ACCESS)*	when called from the wrong thread* @exception SWTError(ERROR_WIDGET_DISPOSED)*	when the widget has been disposed* @exception SWTError(ERROR_CANNOT_BE_ZERO)*	when limit is 0*/public void setTextLimit (int limit) {	checkWidget();	text.setTextLimit (limit);}public void setToolTipText (String string) {	checkWidget();	super.setToolTipText(string);	arrow.setToolTipText (string);	text.setToolTipText (string);		}public void setVisible (boolean visible) {	super.setVisible(visible);	if (!visible) popup.setVisible(false);}/** * Sets the number of items that are visible in the drop * down portion of the receiver's list. * * @param count the new number of items to be visible * * @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 setVisibleItemCount (int count) {	checkWidget ();	if (count < 0) return;	visibleItemCount = count;}String stripMnemonic (String string) {	int index = 0;	int length = string.length ();	do {		while ((index < length) && (string.charAt (index) != '&')) index++;		if (++index >= length) return string;		if (string.charAt (index) != '&') {			return string.substring(0, index-1) + string.substring(index, length);		}		index++;	} while (index < length); 	return string;}void textEvent (Event event) {	switch (event.type) {		case SWT.FocusIn: {			handleFocus (SWT.FocusIn);			break;		}		case SWT.KeyDown: {			if (event.character == SWT.CR) {				dropDown (false);				Event e = new Event();				e.time = event.time;				e.stateMask = event.stateMask;				notifyListeners(SWT.DefaultSelection, e);			}			//At this point the widget may have been disposed.			// If so, do not continue.			if (isDisposed()) break;						if (event.keyCode == SWT.ARROW_UP || event.keyCode == SWT.ARROW_DOWN) {				if ((event.stateMask & SWT.ALT) != 0) {					boolean dropped = isDropped ();					text.selectAll ();					if (!dropped) setFocus ();					dropDown (!dropped);					break;				}				int oldIndex = getSelectionIndex ();				if (event.keyCode == SWT.ARROW_UP) {					select (Math.max (oldIndex - 1, 0));				} else {					select (Math.min (oldIndex + 1, getItemCount () - 1));				}						if (oldIndex != getSelectionIndex ()) {					Event e = new Event();					e.time = event.time;					e.stateMask = event.stateMask;					notifyListeners(SWT.Selection, e);				}				//At this point the widget may have been disposed.				// If so, do not continue.				if (isDisposed()) break;			}						// Further work : Need to add support for incremental search in 			// pop up list as characters typed in text widget									Event e = new Event();			e.time = event.time;			e.character = event.character;			e.keyCode = event.keyCode;			e.stateMask = event.stateMask;			notifyListeners(SWT.KeyDown, e);			break;		}		case SWT.KeyUp: {			Event e = new Event();			e.time = event.time;			e.character = event.character;			e.keyCode = event.keyCode;			e.stateMask = event.stateMask;			notifyListeners(SWT.KeyUp, e);			break;		}		case SWT.Modify: {			list.deselectAll ();			Event e = new Event();			e.time = event.time;			notifyListeners(SWT.Modify, e);			break;		}		case SWT.MouseDown: {			if (event.button != 1) return;			if (text.getEditable ()) return;			boolean dropped = isDropped ();			text.selectAll ();			if (!dropped) setFocus ();			dropDown (!dropped);			break;		}		case SWT.MouseUp: {			if (event.button != 1) return;			if (text.getEditable ()) return;			text.selectAll ();			break;		}		case SWT.Traverse: {					switch (event.detail) {				case SWT.TRAVERSE_RETURN:				case SWT.TRAVERSE_ARROW_PREVIOUS:				case SWT.TRAVERSE_ARROW_NEXT:					// The enter causes default selection and					// the arrow keys are used to manipulate the list contents so					// do not use them for traversal.					event.doit = false;					break;			}						Event e = new Event();			e.time = event.time;			e.detail = event.detail;			e.doit = event.doit;			e.character = event.character;			e.keyCode = event.keyCode;			notifyListeners(SWT.Traverse, e);			event.doit = e.doit;			event.detail = e.detail;			break;		}	}}}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产亚洲精品7777| 免费av网站大全久久| 福利一区二区在线| 欧美精品一区二区蜜臀亚洲| 日日摸夜夜添夜夜添亚洲女人| 欧美日韩一级视频| 日本aⅴ亚洲精品中文乱码| 欧美成人性福生活免费看| 精品一区二区免费在线观看| 国产日韩精品一区二区三区在线| 不卡视频一二三四| 一区二区三区蜜桃| 91精品欧美综合在线观看最新| 美女看a上一区| 国产精品天美传媒| 欧美专区在线观看一区| 久久成人综合网| 中文字幕av免费专区久久| 欧美午夜精品电影| 久久不见久久见免费视频1| 国产日韩影视精品| 欧美日韩一卡二卡三卡 | 韩国成人精品a∨在线观看| 欧美激情一区二区三区四区| 91女厕偷拍女厕偷拍高清| 亚洲成人手机在线| 国产亚洲综合色| 欧美午夜精品一区二区三区| 理论片日本一区| 亚洲欧美日韩在线不卡| 91精品午夜视频| 91老司机福利 在线| 日韩电影在线一区| 最近日韩中文字幕| 日韩手机在线导航| 色综合久久中文综合久久牛| 九一九一国产精品| 一区二区三区资源| 久久久激情视频| 欧美二区在线观看| 91影视在线播放| 极品美女销魂一区二区三区| 亚洲一二三四区| 国产午夜亚洲精品午夜鲁丝片 | 亚洲一区在线观看免费观看电影高清| 日韩精品专区在线| 欧美视频日韩视频在线观看| 成人精品免费看| 精品一区二区免费看| 亚洲18色成人| 国产福利一区在线| 久久超级碰视频| 亚洲人亚洲人成电影网站色| 欧美日韩免费观看一区三区| 成人一级片网址| 精品一区二区三区视频 | 一区二区在线观看免费| 久久一日本道色综合| 91精品国产91综合久久蜜臀| 在线视频欧美区| 99国产麻豆精品| www.久久久久久久久| 国产在线精品国自产拍免费| 久久99日本精品| 日韩电影在线一区二区| 视频一区视频二区在线观看| 亚洲国产va精品久久久不卡综合| **网站欧美大片在线观看| 国产精品视频一二| 国产欧美日韩不卡免费| 久久久99精品免费观看不卡| 精品少妇一区二区三区在线播放 | 国产精品久久久久久亚洲伦 | 国产精品成人免费| 综合色天天鬼久久鬼色| 18欧美乱大交hd1984| 中文字幕永久在线不卡| 国产精品进线69影院| 亚洲欧洲av一区二区三区久久| 国产精品免费观看视频| 一色屋精品亚洲香蕉网站| 亚洲美腿欧美偷拍| 亚洲一区影音先锋| 男人操女人的视频在线观看欧美| 奇米一区二区三区| 国产一区二区三区精品视频| 国产精品一线二线三线| 成人高清免费观看| 色综合一个色综合亚洲| 欧美日韩精品欧美日韩精品| 欧美一区日韩一区| 精品久久久久av影院| 日本一区二区三区四区在线视频| 国产精品免费网站在线观看| 亚洲欧美日韩国产一区二区三区| 亚洲影视资源网| 久久精品久久99精品久久| 国产精品影音先锋| 色噜噜偷拍精品综合在线| 欧美少妇bbb| 精品久久国产老人久久综合| 国产精品久久毛片a| 亚洲午夜精品一区二区三区他趣| 免费成人av在线播放| 成人黄色av网站在线| 欧美日韩成人高清| 26uuu精品一区二区三区四区在线| 中文字幕av一区 二区| 性做久久久久久免费观看| 精品影院一区二区久久久| av电影天堂一区二区在线观看| 欧美日免费三级在线| 日韩欧美中文字幕制服| 一区二区三区四区激情| 激情伊人五月天久久综合| caoporen国产精品视频| 欧美日本一区二区| 欧美经典三级视频一区二区三区| 一级特黄大欧美久久久| 国内欧美视频一区二区| 日本韩国欧美一区| 日韩福利视频网| 欧美一区二区视频观看视频| 欧美电影精品一区二区| 亚洲手机成人高清视频| 日av在线不卡| 成+人+亚洲+综合天堂| 欧美一区二区三区视频| 国产精品久久久久久久久图文区 | 日韩电影在线一区二区| k8久久久一区二区三区| 日韩欧美一二三| 亚洲免费观看高清在线观看| 精品一区二区三区视频在线观看| 在线观看免费成人| 国产精品麻豆网站| 久久99精品国产麻豆婷婷| 欧美性大战久久久久久久| 欧美激情一区三区| 韩国毛片一区二区三区| 欧美一级高清片| 亚洲高清免费在线| 日本韩国精品在线| 中文子幕无线码一区tr| 国产一区二区三区| 日韩一区二区三免费高清| 亚洲一区二区在线播放相泽| 懂色中文一区二区在线播放| 精品国产乱码久久久久久蜜臀| 亚洲国产精品欧美一二99| 一本到一区二区三区| 中文字幕中文乱码欧美一区二区| 国产精品一区在线| 精品免费一区二区三区| 麻豆精品在线播放| 日韩一级黄色大片| 天天综合网 天天综合色| 欧美三级电影一区| 亚洲激情六月丁香| 91偷拍与自偷拍精品| 中文字幕在线免费不卡| 99久久精品一区| 亚洲少妇最新在线视频| 色综合一区二区三区| 一区二区不卡在线播放| 91高清视频免费看| 亚洲最新在线观看| 欧美午夜寂寞影院| 天堂一区二区在线| 欧美一区二区在线不卡| 琪琪久久久久日韩精品| 精品少妇一区二区三区免费观看| 美女一区二区在线观看| 久久嫩草精品久久久精品| 国产suv一区二区三区88区| 久久精品免视看| 不卡一区二区在线| 亚洲精品中文字幕乱码三区| 日本乱码高清不卡字幕| 亚洲一区二区美女| 91精品国产乱码久久蜜臀| 久久爱另类一区二区小说| 国产日产亚洲精品系列| 97久久精品人人爽人人爽蜜臀| 一区二区视频在线看| 在线播放中文一区| 国产乱码精品一品二品| 亚洲欧洲成人精品av97| 欧美三级电影网站| 精品在线播放午夜| 亚洲欧洲韩国日本视频| 欧美精品v日韩精品v韩国精品v| 蜜桃视频在线一区| 18涩涩午夜精品.www| 337p亚洲精品色噜噜| 国产麻豆精品在线| 亚洲影院理伦片| 久久精品亚洲麻豆av一区二区| 99r国产精品| 卡一卡二国产精品|