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

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

public class AutoCompleteHandler
extends java.lang.Object

AJAX event handler(s) for AutoCompleteComponent.


Constructor Summary
AutoCompleteHandler()
           
 
Method Summary
 void completions()
          Respond to an asynchronous request for completions that match the specified prefix.
 java.lang.String getMethod()
          Return the method binding expression we should delegate to.
 java.lang.String getPrefix()
          Return the match prefix we should use for selection.
 void setMethod(java.lang.String method)
          Set the method binding expressino we should delegate to.
 void setPrefix(java.lang.String prefix)
          Set the match prefix we should use for selection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoCompleteHandler

public AutoCompleteHandler()
Method Detail

getMethod

public java.lang.String getMethod()

Return the method binding expression we should delegate to.


setMethod

public void setMethod(java.lang.String method)

Set the method binding expressino we should delegate to.

Parameters:
method - The new method binding expression

getPrefix

public java.lang.String getPrefix()

Return the match prefix we should use for selection.


setPrefix

public void setPrefix(java.lang.String prefix)

Set the match prefix we should use for selection.

Parameters:
prefix - The new match prefix

completions

public void completions()
                 throws java.io.IOException

Respond to an asynchronous request for completions that match the specified prefix.

Throws:
java.io.IOException