⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iautocompleteprovider.java

📁 利用它可以做出非常漂亮的swt界面,包含的组件有PShelf Plist
💻 JAVA
字号:
package com.swtplus.widgets.autocomplete;

/**
 * Provides matching values for auto completion.  Typical autocomplete behavior
 * will show values that begin with the text that has been typed.  This is 
 * how DefaultAutoCompleteProvider behaves.  Other autocomplete behavior can
 * be accomodated by using different provider.  For example, a browser typically
 * shows autocomple values that begin with the typed text with or without the
 * "http://".
 */
public interface IAutoCompleteProvider {
	
	/**
	 * Returns the matching autocompletion values for the current
	 * text value entered by the user.  The values currently set
	 * on the AutoComplete instance are given, but it is up to the 
	 * implementer to determine if they are even required/used.
	 * 
	 * @param values values set on AutoComplete using setValues()
	 * @param typedText current text in the Text widget
	 * @return an array of values to display in the autocomplete popup
	 */
	public String[] getValues(String[] values,String typedText);

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -