|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jidesoft.hints.AbstractIntelliHints
com.jidesoft.hints.AbstractListIntelliHints
com.jidesoft.hints.ListDataIntelliHints
public class ListDataIntelliHints
ListDataIntelliHints is a concrete implementation of IntelliHints. It
provides hints from a known list of data. It is similar to auto complete text field except the list will be filtered
depending on what user types in so far.
| Field Summary |
|---|
| Fields inherited from class com.jidesoft.hints.AbstractListIntelliHints |
|---|
_keyStrokes |
| Fields inherited from interface com.jidesoft.hints.IntelliHints |
|---|
CLIENT_PROPERTY_INTELLI_HINTS |
| Constructor Summary | |
|---|---|
ListDataIntelliHints(javax.swing.text.JTextComponent comp,
java.util.List<?> completionList)
|
|
ListDataIntelliHints(javax.swing.text.JTextComponent comp,
java.lang.String[] completionList)
|
|
| Method Summary | |
|---|---|
java.util.List<?> |
getCompletionList()
Gets the list of hints. |
boolean |
isCaseSensitive()
Checks if it used case sensitive search. |
void |
setCaseSensitive(boolean caseSensitive)
Sets the case sensitive flag. |
void |
setCompletionList(java.util.List<?> completionList)
Sets a new list of hints. |
void |
setCompletionList(java.lang.String[] completionList)
Sets a new list of hints. |
boolean |
updateHints(java.lang.Object context)
Update hints depending on the context. |
| Methods inherited from class com.jidesoft.hints.AbstractListIntelliHints |
|---|
createHintsComponent, createList, getDelegateComponent, getDelegateKeyStrokes, getList, getSelectedHint, setListData, setListData |
| Methods inherited from class com.jidesoft.hints.AbstractIntelliHints |
|---|
acceptHint, createPopup, getCaretPositionForPopup, getCaretRectangleForPopup, getContext, getIntelliHints, getShowHintsKeyStroke, getTextComponent, hideHintsPopup, isAutoPopup, isFollowCaret, isHintsPopupVisible, isMultilineTextComponent, setAutoPopup, setFollowCaret, setHintsEnabled, showHints, showHintsPopup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListDataIntelliHints(javax.swing.text.JTextComponent comp,
java.util.List<?> completionList)
public ListDataIntelliHints(javax.swing.text.JTextComponent comp,
java.lang.String[] completionList)
| Method Detail |
|---|
public java.util.List<?> getCompletionList()
public void setCompletionList(java.util.List<?> completionList)
completionList - public void setCompletionList(java.lang.String[] completionList)
completionList - public boolean updateHints(java.lang.Object context)
IntelliHints
context - the current context
public boolean isCaseSensitive()
public void setCaseSensitive(boolean caseSensitive)
caseSensitive -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||