站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

CompletionQuery.AbstractResult (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

org.netbeans.editor.ext
Class CompletionQuery.AbstractResult

java.lang.Object
  extended by 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.


Constructor Summary
CompletionQuery.AbstractResult(List data, String title)
           
 
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
 
Methods inherited from interface org.netbeans.editor.ext.CompletionQuery.Result
substituteCommonText, substituteText
 

Constructor Detail

CompletionQuery.AbstractResult

public CompletionQuery.AbstractResult(List data,
                                      String title)
Method Detail

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

org.netbeans.modules.editor.lib/1 1.14.0 3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.