|
JIDE 3.4.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.jidesoft.swing.LabeledTextField
com.jidesoft.grid.QuickFilterField
com.jidesoft.list.QuickListFilterField
com.jidesoft.lucene.LuceneQuickListFilterField
public class LuceneQuickListFilterField
LuceneQuickListFilterField works along with LuceneFilterableListModel to provide high performance searching feature.
QuickListFilterField,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.jidesoft.grid.QuickFilterField |
|---|
QuickFilterField.FieldFilter |
| Nested classes/interfaces inherited from class com.jidesoft.swing.LabeledTextField |
|---|
LabeledTextField.PopupMenuCustomizer |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class com.jidesoft.grid.QuickFilterField |
|---|
_filter, _searchingText, PROPERTY_CASE_SENSITIVE, PROPERTY_FROM_END, PROPERTY_FROM_START, PROPERTY_REGEX_ENABLED, PROPERTY_SEARCH_TEXT, PROPERTY_WILDCARD_ENABLED |
| Fields inherited from class com.jidesoft.swing.LabeledTextField |
|---|
_button, _contextMenuKeyStroke, _customizer, _hintLabel, _hintText, _icon, _label, _labelText, _showHintTextWhenFocused, _textField |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
LuceneQuickListFilterField()
Creates an empty LuceneQuickListFilterField. |
|
LuceneQuickListFilterField(ListModel listModel)
Creates a LuceneQuickListFilterField using the specified listModel. |
|
| Method Summary | |
|---|---|
void |
applyFilter(String text)
|
protected JidePopupMenu |
createContextMenu()
Get the popup menu for the instance of LuceneQuickTableFilterField Please see LuceneQuickTableFilterField for details of the menu items. |
protected FilterableListModel |
createDisplayListModel(ListModel listModel)
Create a filtering wrapper list model for LuceneQuickListFilterField. |
com.jidesoft.lucene.LuceneDocumentProvider |
getLuceneDocumentProvider()
|
String |
getResourceString(String key)
|
JTextField |
getTextField()
|
boolean |
isLuceneInputMode()
Get the flag if current input mode for JTextField is lucene input mode. |
protected void |
prepareQuery(String text)
prepare other query based on the input text. |
void |
setListModel(ListModel listModel)
Sets the table model used by this component. |
void |
setLuceneInputMode(boolean luceneInputMode)
Set the flag if current input mode for JTextField is lucene input mode. |
| Methods inherited from class com.jidesoft.list.QuickListFilterField |
|---|
applyFilter, getDisplayListModel, getList, getListModel, setList |
| Methods inherited from class com.jidesoft.swing.LabeledTextField |
|---|
createLabel, createTextField, getBaseline, getButton, getContextMenuKeyStroke, getHintText, getIcon, getLabel, getLabelText, getPopupMenuCustomizer, getText, getTextField, initLayout, isShowHintTextWhenFocused, setColumns, setContextMenuKeyStroke, setEnabled, setHintText, setIcon, setLabelText, setPopupMenuCustomizer, setShowHintTextWhenFocused, setText, showContextMenu, updateUI |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LuceneQuickListFilterField()
LuceneQuickListFilterField. This method is useless since LuceneQuickListFilterField
has to have a table model in order to work correctly. So we have this method in place mainly to make it JavaBean
compatible. You must call setListModel(javax.swing.ListModel) after you create
LuceneQuickListFilterField using this constructor.
public LuceneQuickListFilterField(ListModel listModel)
LuceneQuickListFilterField using the specified listModel.
listModel - the ListModel| Method Detail |
|---|
public void setListModel(ListModel listModel)
setListModel in class QuickListFilterFieldlistModel - the ListModelprotected FilterableListModel createDisplayListModel(ListModel listModel)
createDisplayListModel in class QuickListFilterFieldlistModel - the list model
protected JidePopupMenu createContextMenu()
LuceneQuickTableFilterField for details of the menu items.
createContextMenu in class QuickFilterFieldpublic com.jidesoft.lucene.LuceneDocumentProvider getLuceneDocumentProvider()
protected void prepareQuery(String text)
QuickListFilterField
prepareQuery in class QuickListFilterFieldtext - the input textpublic boolean isLuceneInputMode()
public void setLuceneInputMode(boolean luceneInputMode)
luceneInputMode - the flagpublic void applyFilter(String text)
public JTextField getTextField()
public String getResourceString(String key)
|
JIDE 3.4.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||