com.leafdigital.ui.api
Interface EditBox.TabCompletion

Enclosing interface:
EditBox

public static interface EditBox.TabCompletion

Handler interface to be implemented by anything that provides completion.


Method Summary
 java.lang.String[] complete(java.lang.String partial, boolean atStart)
          Called the first time the user presses Tab in a particular situation.
 

Method Detail

complete

java.lang.String[] complete(java.lang.String partial,
                            boolean atStart)
Called the first time the user presses Tab in a particular situation.

Parameters:
partial - Beginning of a word
atStart - True if user is at the start of the edit box
Returns:
List of possible words, most likely first


Copyright © 2011 Samuel Marshall. All rights reserved.