当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
CompletionQuery.AbstractResult (Editor Library) - NetBeans API Javadoc (Current Development Version)
org.netbeans.editor.ext
Class CompletionQuery.AbstractResult
java.lang.Object
org.netbeans.editor.ext.CompletionQuery.AbstractResult
- All Implemented Interfaces:
- CompletionQuery.Result
- Direct Known Subclasses:
- CompletionQuery.DefaultResult
- Enclosing interface:
- CompletionQuery
public abstract static class CompletionQuery.AbstractResult
- extends Object
- implements CompletionQuery.Result
The very basic funztionality of Result is implemented by this class,
but parts general enough to not need to be overriden.
Method Summary |
List |
getData()
Get the list with the items satisfying the query. |
String |
getTitle()
Get the title describing the result or null if there's no title. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompletionQuery.AbstractResult
public CompletionQuery.AbstractResult(List data,
String title)
getData
public List getData()
- Description copied from interface:
CompletionQuery.Result
- Get the list with the items satisfying the query. The list
must always be non-null. If there are no data it will have a zero size.
- Specified by:
getData
in interface CompletionQuery.Result
- Returns:
- List of objects implementing ResultItem.
getTitle
public String getTitle()
- Description copied from interface:
CompletionQuery.Result
- Get the title describing the result or null if there's no title.
- Specified by:
getTitle
in interface CompletionQuery.Result