jmathlib.ui.swing
Class AutoCompletion

java.lang.Object
  extended by jmathlib.ui.swing.AutoCompletion

public class AutoCompletion
extends java.lang.Object


Constructor Summary
AutoCompletion()
           
 
Method Summary
 java.lang.String[] getMatched(java.lang.String prefix)
          Return those functions starting with the prefix.
 void load()
           
 void load(java.lang.String[] fileDirectories, java.lang.String[] fileExtensions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoCompletion

public AutoCompletion()
Method Detail

load

public void load()

load

public void load(java.lang.String[] fileDirectories,
                 java.lang.String[] fileExtensions)

getMatched

public java.lang.String[] getMatched(java.lang.String prefix)
Return those functions starting with the prefix.

Parameters:
prefix - Prefix of the function name.
Returns:
An array of function (full) names. If nothing can be matched, it returns null