org.compiere.grid.ed
Class ADempiereAutoCompleteDecorator
java.lang.Object
org.jdesktop.swingx.autocomplete.AutoCompleteDecorator
org.compiere.grid.ed.ADempiereAutoCompleteDecorator
public class ADempiereAutoCompleteDecorator
- extends org.jdesktop.swingx.autocomplete.AutoCompleteDecorator
Adds Ctrl+Tab invoked action to run through all potential auto completion values.
|
Method Summary |
static void |
decorate(JTextComponent textComponent,
org.jdesktop.swingx.autocomplete.AutoCompleteDocument document,
org.jdesktop.swingx.autocomplete.AbstractAutoCompleteAdaptor adaptor)
Decorates a given text component for automatic completion using the
given AutoCompleteDocument and AbstractAutoCompleteAdaptor. |
static void |
decorate(JTextComponent textComponent,
List items,
boolean strictMatching)
Enables automatic completion for the given JTextComponent based on the
items contained in the given List. |
static void |
decorate(JTextComponent textComponent,
List items,
boolean strictMatching,
org.jdesktop.swingx.autocomplete.ObjectToStringConverter stringConverter)
Enables automatic completion for the given JTextComponent based on the
items contained in the given List. |
| Methods inherited from class org.jdesktop.swingx.autocomplete.AutoCompleteDecorator |
decorate, decorate, decorate, decorate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADempiereAutoCompleteDecorator
public ADempiereAutoCompleteDecorator()
decorate
public static void decorate(JTextComponent textComponent,
List items,
boolean strictMatching)
- Enables automatic completion for the given JTextComponent based on the
items contained in the given List.
- Parameters:
textComponent - the text component that will be used for automatic
completion.items - contains the items that are used for autocompletionstrictMatching - true, if only given items should be allowed to be entered
decorate
public static void decorate(JTextComponent textComponent,
List items,
boolean strictMatching,
org.jdesktop.swingx.autocomplete.ObjectToStringConverter stringConverter)
- Enables automatic completion for the given JTextComponent based on the
items contained in the given List.
- Parameters:
items - contains the items that are used for autocompletiontextComponent - the text component that will be used for automatic
completion.strictMatching - true, if only given items should be allowed to be enteredstringConverter - the converter used to transform items to strings
decorate
public static void decorate(JTextComponent textComponent,
org.jdesktop.swingx.autocomplete.AutoCompleteDocument document,
org.jdesktop.swingx.autocomplete.AbstractAutoCompleteAdaptor adaptor)
- Decorates a given text component for automatic completion using the
given AutoCompleteDocument and AbstractAutoCompleteAdaptor.
- Parameters:
textComponent - a text component that should be decorateddocument - the AutoCompleteDocument to be installed on the text componentadaptor - the AbstractAutoCompleteAdaptor to be used
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.