org.stellarium.ui.components
Class AutoCompleteString

java.lang.Object
  extended by org.stellarium.ui.components.AutoCompleteString

public class AutoCompleteString
extends java.lang.Object


Field Summary
private  int lastMatchPos
           
private  java.util.List<java.lang.String> matches
           
private  int maxMatches
           
private  java.util.List<java.lang.String> options
           
 
Constructor Summary
AutoCompleteString()
           
 
Method Summary
 java.lang.String getFirstMatch()
           
 java.lang.String getOptions()
           
(package private)  boolean hasMatch()
           
 void reset()
           
 void setOptions(java.util.List<java.lang.String> _options)
           
 java.lang.String test(java.lang.String _text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastMatchPos

private int lastMatchPos

maxMatches

private int maxMatches

options

private java.util.List<java.lang.String> options

matches

private java.util.List<java.lang.String> matches
Constructor Detail

AutoCompleteString

public AutoCompleteString()
Method Detail

test

public java.lang.String test(java.lang.String _text)

setOptions

public void setOptions(java.util.List<java.lang.String> _options)

getOptions

public java.lang.String getOptions()

getFirstMatch

public java.lang.String getFirstMatch()

reset

public void reset()

hasMatch

boolean hasMatch()