public class ChoiceManagerByPreparedStatements extends ChoiceManager implements Exemptible
choiceLimit
Constructor and Description |
---|
ChoiceManagerByPreparedStatements(MustTextField textField,
java.lang.String tableName,
java.lang.String columnName)
Constructs a new choice manager to be filled by prepared statements.
|
ChoiceManagerByPreparedStatements(MustTextField textField,
java.lang.String tableName,
java.lang.String sourceColumnName,
Callback callback)
Constructs a new choice manager to be filled by prepared statements.
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
void |
free()
Releases external resources.
|
protected java.util.Vector<java.lang.String> |
getChoice(java.lang.String fragment) |
void |
setAdditionalWhereConditionFragment(java.lang.String additionalWhereConditionFragment) |
getMinLengthForSearch, isStillRelevant, keyPressed, keyReleased, keyTyped, run, setActive, setMinLengthForSearch, setOwner
public ChoiceManagerByPreparedStatements(MustTextField textField, java.lang.String tableName, java.lang.String columnName)
textField
- the text field whose input is to be completed.tableName
- the name of the table containing the valid itemscolumnName
- the name of the column containing the valid itemspublic ChoiceManagerByPreparedStatements(MustTextField textField, java.lang.String tableName, java.lang.String sourceColumnName, Callback callback)
textField
- the text field whose input is to be completed.tableName
- the name of the table containing the valid itemssourceColumnName
- the name of the column containing the valid itemscallback
- the callback after user has chosenpublic void setAdditionalWhereConditionFragment(java.lang.String additionalWhereConditionFragment)
protected java.util.Vector<java.lang.String> getChoice(java.lang.String fragment)
getChoice
in class ChoiceManager
public void free()
Exemptible
free
in interface Exemptible
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de