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

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

?? tableitem.java

?? 源碼為Eclipse開源開發平臺桌面開發工具SWT的源代碼,
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
	parent.setScrollWidth (this, false);	redraw (-1, true, true);}/** * Sets the font that the receiver will use to paint textual information * for the specified cell in this item to the font specified by the  * argument, or to the default font for that kind of control if the  * argument is null. * * @param index the column index * @param font the new font (or null) * * @exception IllegalArgumentException <ul> *    <li>ERROR_INVALID_ARGUMENT - if the argument 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> *  * @since 3.0 */public void setFont (int index, Font font) {	checkWidget ();	if (font != null && font.isDisposed ()) {		SWT.error (SWT.ERROR_INVALID_ARGUMENT);	}	int count = Math.max (1, parent.getColumnCount ());	if (0 > index || index > count - 1) return;	int hFont = -1;	if (font != null) {		parent.customDraw = true;		hFont = font.handle;	}	if (cellFont == null) {		cellFont = new int [count];		for (int i = 0; i < count; i++) {			cellFont [i] = -1;		}	}	if (cellFont [index] == hFont) return;	cellFont [index] = hFont;	if (index == 0) {		/*		* Bug in Windows.  Despite the fact that every item in the		* table always has LPSTR_TEXTCALLBACK, Windows caches the		* bounds for the selected items.  This means that 		* when you change the string to be something else, Windows		* correctly asks you for the new string but when the item		* is selected, the selection draws using the bounds of the		* previous item.  The fix is to reset LPSTR_TEXTCALLBACK		* even though it has not changed, causing Windows to flush		* cached bounds.		*/		if ((parent.style & SWT.VIRTUAL) == 0 && cached) {			int itemIndex = parent.indexOf (this);			if (itemIndex != -1) {				int hwnd = parent.handle;				LVITEM lvItem = new LVITEM ();				lvItem.mask = OS.LVIF_TEXT;				lvItem.iItem = itemIndex;				lvItem.pszText = OS.LPSTR_TEXTCALLBACK;				OS.SendMessage (hwnd, OS.LVM_SETITEM, 0, lvItem);				cached = false;			}		}		parent.setScrollWidth (this, false);	}		redraw (index, true, true);}/** * Sets the receiver's foreground color to the color specified * by the argument, or to the default system color for the item * if the argument is null. * * @param color the new color (or null) * * @exception IllegalArgumentException <ul> *    <li>ERROR_INVALID_ARGUMENT - if the argument 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> *  * @since 2.0 *  */public void setForeground (Color color){	checkWidget ();	if (color != null && color.isDisposed ()) {		SWT.error (SWT.ERROR_INVALID_ARGUMENT);	}	int pixel = -1;	if (color != null) {		parent.customDraw = true;		pixel = color.handle;	}	if (foreground == pixel) return;	foreground = pixel;	redraw (-1, true, true);}/** * Sets the foreground color at the given column index in the receiver  * to the color specified by the argument, or to the default system color for the item * if the argument is null. * * @param index the column index * @param color the new color (or null) * * @exception IllegalArgumentException <ul> *    <li>ERROR_INVALID_ARGUMENT - if the argument 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> *  * @since 3.0 *  */public void setForeground (int index, Color color){	checkWidget ();	if (color != null && color.isDisposed ()) {		SWT.error (SWT.ERROR_INVALID_ARGUMENT);	}	int count = Math.max (1, parent.getColumnCount ());	if (0 > index || index > count - 1) return;	int pixel = -1;	if (color != null) {		parent.customDraw = true;		pixel = color.handle;	}	if (cellForeground == null) {		cellForeground = new int [count];		for (int i = 0; i < count; i++) {			cellForeground [i] = -1;		}	}	if (cellForeground [index] == pixel) return;	cellForeground [index] = pixel;	redraw (index, true, true);}/** * Sets the grayed state of the checkbox for this item.  This state change  * only applies if the Table was created with the SWT.CHECK style. * * @param grayed the new grayed state of the checkbox;  * * @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 setGrayed (boolean grayed) {	checkWidget();	if ((parent.style & SWT.CHECK) == 0) return;	if (this.grayed == grayed) return;	this.grayed = grayed;	redraw (-1, true, true);}/** * Sets the image for multiple columns in the Table.  *  * @param images the array of new images * * @exception IllegalArgumentException <ul> *    <li>ERROR_NULL_ARGUMENT - if the array of images is null</li> *    <li>ERROR_INVALID_ARGUMENT - if one of the images 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 [] images) {	checkWidget();	if (images == null) error (SWT.ERROR_NULL_ARGUMENT);	for (int i=0; i<images.length; i++) {		setImage (i, images [i]);	}}/** * Sets the receiver's image at a column. * * @param index the column index * @param image the new image * * @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 (int index, Image image) {	checkWidget();	if (image != null && image.isDisposed ()) {		error(SWT.ERROR_INVALID_ARGUMENT);	}	if (index == 0) {		if (image != null && image.type == SWT.ICON) {			if (image.equals (this.image)) return;		}		super.setImage (image);	}	int count = Math.max (1, parent.getColumnCount ());	if (0 > index || index > count - 1) return;	if (images == null && index != 0) images = new Image [count];	if (images != null) {		if (image != null && image.type == SWT.ICON) {			if (image.equals (images [index])) return;		}		images [index] = image;	}		/* Ensure that the image list is created */	parent.imageIndex (image);		if (index == 0) parent.setScrollWidth (this, false);	redraw (index, false, true);}public void setImage (Image image) {	checkWidget ();	setImage (0, image);}/** * Sets the indent of the first column's image, expressed in terms of the image's width. * * @param indent the new indent * * </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 setImageIndent (int indent) {	checkWidget();	if (indent < 0) return;	if (imageIndent == indent) return;	imageIndent = indent;	if ((parent.style & SWT.VIRTUAL) == 0) {		int index = parent.indexOf (this);		if (index != -1) {			int hwnd = parent.handle;			LVITEM lvItem = new LVITEM ();			lvItem.mask = OS.LVIF_INDENT;			lvItem.iItem = index;			lvItem.iIndent = indent;			OS.SendMessage (hwnd, OS.LVM_SETITEM, 0, lvItem);		}	}	parent.setScrollWidth (this, false);	redraw (-1, true, true);}/** * Sets the text for multiple columns in the table.  *  * @param strings the array of new strings * * @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 [] strings) {	checkWidget();	if (strings == null) error (SWT.ERROR_NULL_ARGUMENT);	for (int i=0; i<strings.length; i++) {		String string = strings [i];		if (string != null) setText (i, string);	}}/** * Sets the receiver's text at a column * * @param index the column index * @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 (int index, String string) {	checkWidget();	if (string == null) error (SWT.ERROR_NULL_ARGUMENT);	if (index == 0) {		if (string.equals (text)) return;		super.setText (string);	}	int count = Math.max (1, parent.getColumnCount ());	if (0 > index || index > count - 1) return;	if (strings == null && index != 0) strings = new String [count];	if (strings != null) {		if (string.equals (strings [index])) return;		strings [index] = string;	}	if (index == 0) {		/*		* Bug in Windows.  Despite the fact that every item in the		* table always has LPSTR_TEXTCALLBACK, Windows caches the		* bounds for the selected items.  This means that 		* when you change the string to be something else, Windows		* correctly asks you for the new string but when the item		* is selected, the selection draws using the bounds of the		* previous item.  The fix is to reset LPSTR_TEXTCALLBACK		* even though it has not changed, causing Windows to flush		* cached bounds.		*/		if ((parent.style & SWT.VIRTUAL) == 0 && cached) {			int itemIndex = parent.indexOf (this);			if (itemIndex != -1) {				int hwnd = parent.handle;				LVITEM lvItem = new LVITEM ();				lvItem.mask = OS.LVIF_TEXT;				lvItem.iItem = itemIndex;				lvItem.pszText = OS.LPSTR_TEXTCALLBACK;				OS.SendMessage (hwnd, OS.LVM_SETITEM, 0, lvItem);				cached = false;			}		}		parent.setScrollWidth (this, false);	}	redraw (index, true, false);}public void setText (String string) {	checkWidget();	setText (0, string);}}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精选一区二区三区| 美女在线一区二区| 欧美日韩成人在线| 日本不卡一区二区三区| 欧美tickling网站挠脚心| 国产99一区视频免费| 国产精品视频麻豆| 色婷婷亚洲综合| 午夜精品福利一区二区三区av| 91.麻豆视频| 成熟亚洲日本毛茸茸凸凹| 国产区在线观看成人精品| 欧美探花视频资源| 日韩国产欧美三级| 国产精品你懂的在线| 色综合久久六月婷婷中文字幕| 亚洲第一成人在线| 久久综合九色综合欧美亚洲| 99精品国产一区二区三区不卡| 日韩精品五月天| 自拍偷拍欧美激情| 26uuu国产电影一区二区| 成人久久18免费网站麻豆| 日韩精品视频网| 亚洲欧美激情小说另类| 欧美tickling网站挠脚心| 欧美影院一区二区| 国产成人午夜精品5599 | 亚洲国产高清在线| 欧美精品18+| av在线播放一区二区三区| 久久er精品视频| 亚洲无线码一区二区三区| 国产精品白丝在线| 久久久不卡网国产精品一区| 在线播放中文一区| 在线观看日韩高清av| av一本久道久久综合久久鬼色| 另类小说色综合网站| 亚洲综合久久久久| 亚洲欧美日韩久久精品| 国产精品久久久久久久久久久免费看 | 国产成人欧美日韩在线电影| 蜜桃久久av一区| 日韩av中文在线观看| 午夜a成v人精品| 午夜精品久久久久久久| 一区二区三区国产精品| 一级特黄大欧美久久久| 中文字幕亚洲精品在线观看| 国产精品―色哟哟| 国产精品美女久久久久aⅴ国产馆| 欧美精品一区男女天堂| 日韩精品在线一区| 日韩美一区二区三区| 精品日本一线二线三线不卡| 7777女厕盗摄久久久| 91精品欧美一区二区三区综合在 | 伊人夜夜躁av伊人久久| 中文字幕一区二区不卡| 亚洲天堂久久久久久久| 一区在线观看免费| 亚洲区小说区图片区qvod| 亚洲欧美日韩人成在线播放| 亚洲黄色小视频| 一区二区三区欧美激情| 亚洲综合精品自拍| 日韩综合小视频| 视频精品一区二区| 美女视频黄 久久| 麻豆成人在线观看| 国产一区二区三区电影在线观看| 精品一二线国产| 国产精品资源在线看| 99综合电影在线视频| 99国产欧美另类久久久精品| 色视频成人在线观看免| 欧美精品久久99久久在免费线 | 中文字幕一区二区在线观看| 最新成人av在线| 亚洲成人免费视| 久久精品国产澳门| 国产不卡在线一区| 欧洲精品在线观看| 欧美一区二区三区啪啪| 久久综合狠狠综合久久综合88| 久久久欧美精品sm网站| 综合久久久久久| 亚洲成av人综合在线观看| 极品少妇一区二区三区精品视频 | 色欧美日韩亚洲| 宅男在线国产精品| 国产亚洲综合在线| 亚洲精品五月天| 日本不卡在线视频| k8久久久一区二区三区| 欧美吞精做爰啪啪高潮| 精品久久久久av影院| 日韩码欧中文字| 日本在线不卡一区| 粉嫩一区二区三区性色av| 欧美综合视频在线观看| 欧美成人在线直播| 亚洲久草在线视频| 美女视频黄免费的久久| 91丨porny丨户外露出| 在线不卡免费欧美| 国产精品家庭影院| 蜜桃精品在线观看| 欧洲精品视频在线观看| 久久久国产综合精品女国产盗摄| 1024成人网| 国产一区91精品张津瑜| 欧美日韩黄色一区二区| 国产性天天综合网| 日韩高清欧美激情| 日本韩国一区二区三区视频| 精品国产99国产精品| 亚洲精品国产a久久久久久| 国产精品伊人色| 欧美一级专区免费大片| 亚洲精品视频免费观看| 国产精品夜夜爽| 在线不卡一区二区| 亚洲一区二区三区美女| 99久久777色| 久久久美女毛片| 日韩av电影免费观看高清完整版| 色婷婷久久综合| 中文字幕一区二区三区四区| 国内精品自线一区二区三区视频| 91国偷自产一区二区使用方法| 国产欧美一区二区在线| 蜜桃久久精品一区二区| 5月丁香婷婷综合| 午夜精品久久久久久不卡8050| 91亚洲精品乱码久久久久久蜜桃| 国产日韩成人精品| 国产一区二区三区四| 欧美一级日韩不卡播放免费| 五月天亚洲精品| 欧美亚洲综合久久| 亚洲免费伊人电影| 99久久国产综合精品女不卡| 欧美精彩视频一区二区三区| 激情深爱一区二区| 久久免费国产精品| 国产精品一区二区你懂的| 精品国产一区二区精华| 久久激情五月激情| 久久只精品国产| 国产又粗又猛又爽又黄91精品| 日韩久久免费av| 久久99国产精品久久99果冻传媒| 91精品国产综合久久婷婷香蕉| 亚洲国产成人av网| 欧美高清视频在线高清观看mv色露露十八| 亚洲综合色成人| 欧美色综合天天久久综合精品| 午夜不卡av在线| 日韩一级视频免费观看在线| 蜜臀av在线播放一区二区三区| 日韩三级视频在线观看| 久久国产福利国产秒拍| 欧美电视剧在线看免费| 国内一区二区在线| 国产日韩影视精品| 成人avav影音| 亚洲午夜日本在线观看| 欧美一区二区三区喷汁尤物| 精品一区二区三区免费视频| 国产日韩精品一区二区三区在线| 国产91对白在线观看九色| 综合久久久久综合| 欧美高清视频不卡网| 另类小说视频一区二区| 中文字幕精品一区| 91香蕉视频污| 天堂在线一区二区| 26uuu久久天堂性欧美| 不卡欧美aaaaa| 亚洲第一精品在线| 亚洲精品一线二线三线| 懂色av一区二区三区蜜臀 | 欧美高清在线一区二区| 91老师片黄在线观看| 婷婷综合另类小说色区| 2020国产精品自拍| 色综合久久久久| 美女在线观看视频一区二区| 国产欧美综合在线| 欧美视频在线一区| 国精产品一区一区三区mba视频 | 高潮精品一区videoshd| 亚洲综合色成人| 久久久国产综合精品女国产盗摄| 色综合网站在线| 精品亚洲国内自在自线福利| 中文字幕在线一区二区三区| 日韩一区二区三区电影|