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

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

?? ccombo.java

?? 源碼為Eclipse開源開發平臺桌面開發工具SWT的源代碼,
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
* @exception SWTError(ERROR_CANNOT_GET_COUNT)*	when the operation fails*/public int getItemCount () {	checkWidget();	return list.getItemCount ();}/*** Gets the height of one item.* <p>* This operation will fail if the height of* one item could not be queried from the OS.** @return the height of one item in the widget** @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_GET_ITEM_HEIGHT)*	when the operation fails*/public int getItemHeight () {	checkWidget();	return list.getItemHeight ();}/*** Gets the items.* <p>* This operation will fail if the items cannot* be queried from the OS.** @return the items in the widget** @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_GET_ITEM)*	when the operation fails*/public String [] getItems () {	checkWidget();	return list.getItems ();}char getMnemonic (String string) {	int index = 0;	int length = string.length ();	do {		while ((index < length) && (string.charAt (index) != '&')) index++;		if (++index >= length) return '\0';		if (string.charAt (index) != '&') return string.charAt (index);		index++;	} while (index < length); 	return '\0';}/*** Gets the selection.* <p>* @return a point representing the selection start and end** @exception SWTError(ERROR_THREAD_INVALID_ACCESS)*	when called from the wrong thread* @exception SWTError(ERROR_WIDGET_DISPOSED)*	when the widget has been disposed*/public Point getSelection () {	checkWidget();	return text.getSelection ();}/*** Gets the index of the selected item.* <p>* Indexing is zero based.* If no item is selected -1 is returned.** @return the index of the selected 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 int getSelectionIndex () {	checkWidget();	return list.getSelectionIndex ();}public int getStyle () {	int style = super.getStyle();	style &= ~SWT.READ_ONLY;	if (!text.getEditable()) style |= SWT.READ_ONLY; 	return style;}/*** Gets the widget text.* <p>* If the widget has no text, an empty string is returned.** @return 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*/public String getText () {	checkWidget();	return text.getText ();}/*** Gets the height of the combo's text field.* <p>* The operation will fail if the height cannot * be queried from the OS.* @return the height of the combo's text field.* * @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_ERROR_CANNOT_GET_ITEM_HEIGHT)*	when the operation fails*/public int getTextHeight () {	checkWidget();	return text.getLineHeight();}/*** Gets the text limit.* <p>* @return the 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*/public int getTextLimit () {	checkWidget();	return text.getTextLimit ();}/** * Gets the number of items that are visible in the drop * down portion of the receiver's list. * * @return the number of items that are 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 int getVisibleItemCount () {	checkWidget ();	return visibleItemCount;}void handleFocus (int type) {	if (isDisposed()) return;	switch (type) {		case SWT.FocusIn: {			if (hasFocus) return;			if (getEditable ()) text.selectAll ();			hasFocus = true;			Shell shell = getShell ();			shell.removeListener(SWT.Deactivate, listener);			shell.addListener(SWT.Deactivate, listener);			Display display = getDisplay();			display.removeFilter(SWT.FocusIn, filter);			display.addFilter(SWT.FocusIn, filter);			Event e = new Event();			notifyListeners(SWT.FocusIn, e);			break;		}		case SWT.FocusOut: {			if (!hasFocus) return;			Control focusControl = getDisplay().getFocusControl();			if (focusControl == arrow || focusControl == list || focusControl == text) return;			hasFocus = false;			Shell shell = getShell ();			shell.removeListener(SWT.Deactivate, listener);			Display display = getDisplay();			display.removeFilter(SWT.FocusIn, filter);			Event e = new Event();			notifyListeners(SWT.FocusOut, e);			break;		}	}}/*** Gets the index of an item.* <p>* The list is searched starting at 0 until an* item is found that is equal to the search item.* If no item is found, -1 is returned.  Indexing* is zero based.** @param string the search item* @return 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_NULL_ARGUMENT)*	when string is null*/public int indexOf (String string) {	checkWidget();	if (string == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);	return list.indexOf (string);}/*** Gets the index of an item.* <p>* The widget is searched starting at start including* the end position until an item is found that* is equal to the search itenm.  If no item is* found, -1 is returned.  Indexing is zero based.** @param string the search item* @param start the starting position* @return 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_NULL_ARGUMENT)*	when string is null*/public int indexOf (String string, int start) {	checkWidget();	if (string == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);	return list.indexOf (string, start);}void initAccessible() {	AccessibleAdapter accessibleAdapter = new AccessibleAdapter() {		public void getName(AccessibleEvent e) {			String name = null;			Label label = getAssociatedLabel ();			if (label != null) {				name = stripMnemonic(label.getText());			}			e.result = name;		}		public void getKeyboardShortcut(AccessibleEvent e) {			String shortcut = null;			Label label = getAssociatedLabel ();			if (label != null) {				String text = label.getText();				if (text != null) {					char mnemonic = getMnemonic(text);					if (mnemonic != '\0') {						shortcut = "Alt+"+mnemonic; //$NON-NLS-1$					}				}			}			e.result = shortcut;		}		public void getHelp(AccessibleEvent e) {			e.result = getToolTipText();		}	};	getAccessible().addAccessibleListener(accessibleAdapter);	text.getAccessible().addAccessibleListener(accessibleAdapter);	list.getAccessible().addAccessibleListener(accessibleAdapter);		getAccessible().addAccessibleTextListener(new AccessibleTextAdapter() {		public void getCaretOffset(AccessibleTextEvent e) {			e.offset = text.getCaretPosition();		}	});		getAccessible().addAccessibleControlListener(new AccessibleControlAdapter() {		public void getChildAtPoint(AccessibleControlEvent e) {			Point testPoint = toControl(new Point(e.x, e.y));			if (getBounds().contains(testPoint)) {				e.childID = ACC.CHILDID_SELF;			}		}				public void getLocation(AccessibleControlEvent e) {			Rectangle location = getBounds();			Point pt = toDisplay(new Point(location.x, location.y));			e.x = pt.x;			e.y = pt.y;			e.width = location.width;			e.height = location.height;		}				public void getChildCount(AccessibleControlEvent e) {			e.detail = 0;		}				public void getRole(AccessibleControlEvent e) {			e.detail = ACC.ROLE_COMBOBOX;		}				public void getState(AccessibleControlEvent e) {			e.detail = ACC.STATE_NORMAL;		}		public void getValue(AccessibleControlEvent e) {			e.result = getText();		}	});}boolean isDropped () {	return popup.getVisible ();}public boolean isFocusControl () {	checkWidget();	if (text.isFocusControl() || arrow.isFocusControl() || list.isFocusControl() || popup.isFocusControl()) {		return true;	} 	return super.isFocusControl();}void internalLayout () {	if (isDropped ()) dropDown (false);		Rectangle rect = getClientArea();	int width = rect.width;	int height = rect.height;	Point arrowSize = arrow.computeSize(SWT.DEFAULT, height);	text.setBounds (0, 0, width - arrowSize.x, height);	arrow.setBounds (width - arrowSize.x, 0, arrowSize.x, arrowSize.y);}void listEvent (Event event) {	switch (event.type) {		case SWT.Dispose:			if (getShell() != popup.getParent()) {				String[] items = list.getItems();				int selectionIndex = list.getSelectionIndex();				popup = null;				list = null;				createPopup(items, selectionIndex);			}			break;		case SWT.FocusIn: {			handleFocus (SWT.FocusIn);			break;		}		case SWT.MouseUp: {			if (event.button != 1) return;			dropDown (false);			break;		}		case SWT.Selection: {			int index = list.getSelectionIndex ();			if (index == -1) return;			text.setText (list.getItem (index));			text.selectAll ();			list.setSelection(index);			Event e = new Event();			e.time = event.time;			e.stateMask = event.stateMask;			e.doit = event.doit;			notifyListeners(SWT.Selection, e);			event.doit = e.doit;			break;		}		case SWT.Traverse: {			switch (event.detail) {				case SWT.TRAVERSE_RETURN:				case SWT.TRAVERSE_ESCAPE:				case SWT.TRAVERSE_ARROW_PREVIOUS:				case SWT.TRAVERSE_ARROW_NEXT:					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;		}		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.KeyDown: {			if (event.character == SWT.ESC) { 				// Escape key cancels popup list				dropDown (false);			}			if ((event.stateMask & SWT.ALT) != 0 && (event.keyCode == SWT.ARROW_UP || event.keyCode == SWT.ARROW_DOWN)) {				dropDown (false);			}			if (event.character == SWT.CR) {				// Enter causes default selection				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;			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;					}	}}void popupEvent(Event event) {	switch (event.type) {		case SWT.Paint:			// draw black rectangle around list			Rectangle listRect = list.getBounds();			Color black = getDisplay().getSystemColor(SWT.COLOR_BLACK);			event.gc.setForeground(black);			event.gc.drawRectangle(0, 0, listRect.width + 1, listRect.height + 1);			break;		case SWT.Close:			event.doit = false;			dropDown (false);			break;		case SWT.Deactivate:			dropDown (false);			break;	}}public void redraw () {	super.redraw();	text.redraw();	arrow.redraw();	if (popup.isVisible()) list.redraw();}public void redraw (int x, int y, int width, int height, boolean all) {	super.redraw(x, y, width, height, true);}/*** Removes an item at an index.* <p>* Indexing is zero based.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产伦精品一区二区三区视频青涩| 国产麻豆一精品一av一免费| 乱一区二区av| 波多野结衣的一区二区三区| 69久久夜色精品国产69蝌蚪网| 久久亚洲二区三区| 一区二区三区中文字幕电影 | 777奇米成人网| 国产丝袜在线精品| 亚洲国产美女搞黄色| 国产精品一区二区三区乱码| 欧美日韩三级在线| 国产欧美久久久精品影院| 亚洲超丰满肉感bbw| 国精产品一区一区三区mba桃花| 欧美在线播放高清精品| 国产精品另类一区| 激情五月婷婷综合网| 欧美美女一区二区三区| 亚洲免费观看视频| 波多野结衣中文字幕一区二区三区 | 91福利视频网站| 日本一区二区电影| 精品制服美女久久| 欧美久久久久免费| 亚洲柠檬福利资源导航| 成人免费视频国产在线观看| 日韩欧美国产三级电影视频| 午夜国产不卡在线观看视频| 一本色道久久综合精品竹菊| 国产清纯白嫩初高生在线观看91| 狠狠色综合播放一区二区| 欧美精品123区| 亚洲一区二区偷拍精品| 色8久久精品久久久久久蜜| 自拍偷拍国产亚洲| www.亚洲色图.com| 亚洲国产精品v| 99精品国产一区二区三区不卡| 国产婷婷精品av在线| 国产一区二区影院| 精品va天堂亚洲国产| 国精产品一区一区三区mba视频 | 国产视频一区不卡| 另类小说视频一区二区| 日韩欧美区一区二| 久久电影国产免费久久电影| 久久久午夜精品理论片中文字幕| 国产精品一二二区| 自拍偷拍欧美精品| 欧美色网一区二区| 美腿丝袜亚洲一区| 久久综合九色综合97婷婷女人| 国产91露脸合集magnet| 中文字幕亚洲在| 欧洲一区在线电影| 午夜精品福利一区二区三区蜜桃| 欧美精品vⅰdeose4hd| 免费成人小视频| 亚洲精品一区二区三区在线观看 | 色婷婷亚洲一区二区三区| 亚洲一区二区成人在线观看| 欧美日韩中文字幕一区| 日本一区中文字幕| 国产午夜精品一区二区三区视频| av激情综合网| 久久激五月天综合精品| 国产精品丝袜91| 欧美人体做爰大胆视频| 日韩二区三区四区| 国产偷v国产偷v亚洲高清| 在线亚洲免费视频| 蜜臀av性久久久久蜜臀aⅴ流畅 | 亚洲国产精品尤物yw在线观看| 欧美一区二区三区不卡| 国产精品18久久久久久久久久久久 | 日韩欧美一级片| caoporn国产一区二区| 日本三级亚洲精品| 国产精品久久久久一区二区三区共 | 精品久久久久久久人人人人传媒 | 极品美女销魂一区二区三区免费| 国产婷婷色一区二区三区四区| 欧美写真视频网站| 国产在线精品免费av| 一区二区三区蜜桃| 中文字幕精品综合| 精品国精品自拍自在线| 色婷婷综合久色| 成人晚上爱看视频| 日韩高清不卡在线| 亚洲日韩欧美一区二区在线| 日韩一区二区免费在线观看| 色综合色狠狠综合色| 国产寡妇亲子伦一区二区| 首页国产欧美久久| 综合色中文字幕| 日本一区二区成人在线| 日韩精品一区二区在线| 欧美日韩另类国产亚洲欧美一级| 风流少妇一区二区| 国产精品123| 久久99精品久久久久久动态图| 亚洲国产成人av| 亚洲国产精品久久不卡毛片| 亚洲狼人国产精品| 亚洲欧美怡红院| 国产精品久久夜| 一区在线观看视频| 日本一区二区成人在线| 国产日韩av一区二区| 久久久99精品久久| 久久综合色8888| 久久综合五月天婷婷伊人| 日韩欧美一二三区| 欧美一区午夜视频在线观看| 欧美理论电影在线| 欧美日韩国产高清一区二区三区 | 国产91丝袜在线播放| 国产精品99久久久久久宅男| 国产毛片精品国产一区二区三区| 精品一区二区三区免费观看| 精品一区二区日韩| 国产真实乱对白精彩久久| 国产一区二区三区四区五区入口| 精品一区二区三区影院在线午夜| 激情综合一区二区三区| 国内精品不卡在线| 高清av一区二区| 在线一区二区三区四区五区| 欧美在线观看一区| 666欧美在线视频| 精品处破学生在线二十三| www亚洲一区| 国产精品久久久久久久久免费樱桃| 国产精品理伦片| 性做久久久久久| 国产一区在线观看视频| 高清久久久久久| 日本韩国欧美三级| 欧美一区二区三区四区久久| 久久精品视频在线免费观看| 国产精品精品国产色婷婷| 亚洲国产精品麻豆| 久久国产成人午夜av影院| 成人性生交大片免费看视频在线| 色哟哟一区二区在线观看| 7777精品伊人久久久大香线蕉完整版 | 久久久精品综合| 日韩一区在线看| 亚洲成人激情社区| 国产一区二区三区香蕉| 在线免费观看一区| 日韩久久久精品| 亚洲欧美日韩系列| 天天操天天色综合| 国产91色综合久久免费分享| 欧美狂野另类xxxxoooo| 国产日韩在线不卡| 午夜精品久久久久久久99水蜜桃| 国产成人在线色| 日韩午夜精品电影| 亚洲欧美综合在线精品| 日韩av在线发布| 91在线免费看| 久久久青草青青国产亚洲免观| 有坂深雪av一区二区精品| 国产在线一区观看| 欧美精品一级二级三级| 国产精品美女久久久久久久| 日本aⅴ免费视频一区二区三区 | 国产精品麻豆欧美日韩ww| 日本欧美在线看| 在线观看日产精品| 国产清纯美女被跳蛋高潮一区二区久久w | 欧美午夜精品久久久久久孕妇| www国产亚洲精品久久麻豆| 亚洲一区二区欧美日韩| 91欧美一区二区| 国产精品沙发午睡系列990531| 免费观看久久久4p| 欧美理论在线播放| 亚洲一区二区三区三| 99综合电影在线视频| 久久精品欧美日韩| 精品中文字幕一区二区| 欧美一激情一区二区三区| 亚洲一区二区av在线| 色综合天天综合色综合av| 国产午夜精品一区二区三区视频| 久久精品国产精品青草| 欧美视频一区二区三区在线观看| 亚洲欧美一区二区三区极速播放 | 国产精品网站一区| 激情图片小说一区| 91精品久久久久久久99蜜桃| 日韩在线一区二区| 欧美美女直播网站| 首页国产欧美久久| 91精品国产综合久久福利|