public abstract class AbstractCompleterFilter extends DocumentFilter
DocumentFilter.FilterBypass| Modifier and Type | Field and Description |
|---|---|
protected boolean |
caseSensitive |
protected boolean |
corrective |
protected int |
firstSelectedIndex |
protected String |
preText |
protected boolean |
strict |
| Constructor and Description |
|---|
AbstractCompleterFilter() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getCompleterListSize()
DOCUMENT ME!
|
abstract Object |
getCompleterObjectAt(int i)
DOCUMENT ME!
|
int |
getLeadingSelectedIndex()
DOCUMENT ME!
|
abstract JTextField |
getTextField()
DOCUMENT ME!
|
void |
insertString(DocumentFilter.FilterBypass filterBypass,
int offset,
String string,
AttributeSet attributeSet) |
boolean |
isCaseSensitive()
DOCUMENT ME!
|
boolean |
isCorrectingCase()
DOCUMENT ME!
|
boolean |
isStrict()
DOCUMENT ME!
|
void |
remove(DocumentFilter.FilterBypass filterBypass,
int offset,
int length) |
void |
replace(DocumentFilter.FilterBypass filterBypass,
int offset,
int length,
String string,
AttributeSet attributeSet) |
void |
setCaseSensitive(boolean correctCaseSensitive)
DOCUMENT ME!
|
void |
setCorrectCase(boolean correctCase)
Will change the user entered part of the string to match the caseSensitive of the matched item.
|
void |
setStrict(boolean strict)
DOCUMENT ME!
|
protected String preText
protected boolean caseSensitive
protected boolean corrective
protected boolean strict
protected int firstSelectedIndex
public abstract int getCompleterListSize()
public abstract Object getCompleterObjectAt(int i)
i - DOCUMENT ME!public abstract JTextField getTextField()
public void replace(DocumentFilter.FilterBypass filterBypass, int offset, int length, String string, AttributeSet attributeSet) throws BadLocationException
replace in class DocumentFilterBadLocationExceptionpublic void insertString(DocumentFilter.FilterBypass filterBypass, int offset, String string, AttributeSet attributeSet) throws BadLocationException
insertString in class DocumentFilterBadLocationExceptionpublic void remove(DocumentFilter.FilterBypass filterBypass, int offset, int length) throws BadLocationException
remove in class DocumentFilterBadLocationExceptionpublic void setCaseSensitive(boolean correctCaseSensitive)
correctCaseSensitive - DOCUMENT ME!public boolean isCaseSensitive()
public void setCorrectCase(boolean correctCase)
e.g. "europe/lONdon" would be corrected to "Europe/London"
This option only makes sense if caseSensitive sensitive is turned off
correctCase - DOCUMENT ME!public boolean isCorrectingCase()
public int getLeadingSelectedIndex()
public boolean isStrict()
public void setStrict(boolean strict)
strict - the this.strict to setCopyright © 2012–2026 cismet GmbH. All rights reserved.