com.sun.j2ee.blueprints.ui.autocomplete
Class CompletionResult

java.lang.Object
  extended bycom.sun.j2ee.blueprints.ui.autocomplete.CompletionResult

public class CompletionResult
extends java.lang.Object

Class which gathers completion results from event handlers


Method Summary
 void addItem(java.lang.String item)
          Add the given String into the set of completion items returned to the browser
 void addItems(java.util.Collection items)
          Add all the items in the given collection of Strings into the set of completion items returned to the browser
 void addItems(java.lang.String[] items)
          Add all the items in the given String artray into the set of completion items returned to the browser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addItem

public void addItem(java.lang.String item)
Add the given String into the set of completion items returned to the browser

Parameters:
item - The item to be added to the completion result

addItems

public void addItems(java.lang.String[] items)
Add all the items in the given String artray into the set of completion items returned to the browser

Parameters:
items - The item array to be added to the completion result

addItems

public void addItems(java.util.Collection items)
Add all the items in the given collection of Strings into the set of completion items returned to the browser

Parameters:
items - The collection of Strings to be added