JIDE 3.5.15

com.jidesoft.grid
Class ContextSensitiveTableSearchable

java.lang.Object
  extended by com.jidesoft.swing.Searchable
      extended by com.jidesoft.swing.TableSearchable
          extended by com.jidesoft.grid.JideTableSearchable
              extended by com.jidesoft.grid.ContextSensitiveTableSearchable
All Implemented Interfaces:
PropertyChangeListener, EventListener, TableModelListener
Direct Known Subclasses:
TreeTableSearchable

public class ContextSensitiveTableSearchable
extends JideTableSearchable

This is the Searchable class for ContextSensitiveTable so that searchable could search on the converted string other than just value#toString().


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jidesoft.swing.Searchable
Searchable.SearchField, Searchable.SearchPopup
 
Field Summary
 
Fields inherited from class com.jidesoft.swing.Searchable
_component, _componentListener, _focusListener, _keyListener, _matchCount, CLIENT_PROPERTY_SEARCHABLE, listenerList, PROPERTY_SEARCH_TEXT
 
Constructor Summary
ContextSensitiveTableSearchable(JTable table)
           
 
Method Summary
protected  Object getValueAt(JTable table, int rowIndex, int columnIndex)
          Get string value of the table.
 
Methods inherited from class com.jidesoft.grid.JideTableSearchable
getElementAt, getElementCount, getSelectedIndex, isNonContiguousCellSelection, setSelectedIndex
 
Methods inherited from class com.jidesoft.swing.TableSearchable
addTableSelection, convertElementToString, getMainIndex, getSearchColumnIndices, installListeners, isActivateKey, isColumnSelectionAllowed, isFindNextKey, isFindPreviousKey, isRowSelectionAllowed, isSearchSelectedRows, isSelectedCellEditable, propertyChange, setMainIndex, setSearchColumnIndices, tableChanged, uninstallListeners
 
Methods inherited from class com.jidesoft.swing.Searchable
addPropertyChangeListener, addSearchableListener, adjustSelectedIndex, cancelHighlightAll, compare, compare, convertToString, createComponentListener, createFocusListener, createKeyListener, createSearchPopup, findAll, findFirst, findFromCursor, findLast, findNext, findPrevious, firePropertyChangeEvent, fireSearchableEvent, getBackground, getComponent, getCurrentIndex, getCursor, getElementAtAsString, getForeground, getMismatchForeground, getPopupLocation, getPopupLocationRelativeTo, getPopupTimeout, getResourceString, getSearchable, getSearchableListeners, getSearchableProvider, getSearchingDelay, getSearchingText, getSearchLabel, getWildcardSupport, hidePopup, highlightAll, isCaseSensitive, isCountMatch, isDeactivateKey, isFindFirstKey, isFindLastKey, isFromStart, isHeavyweightComponentEnabled, isHideSearchPopupOnEvent, isIncrementalSelectKey, isNavigationKey, isPopupVisible, isProcessModelChangeEvent, isRepeats, isReverseOrder, isSearchableListenerInstalled, isSelectAllKey, isWildcardEnabled, keyTypedOrPressed, removePropertyChangeListener, removeSearchableListener, reverseFindFromCursor, searchingTextEmpty, select, setBackground, setCaseSensitive, setCountMatch, setCursor, setCursor, setForeground, setFromStart, setHeavyweightComponentEnabled, setHideSearchPopupOnEvent, setMismatchForeground, setPopupLocation, setPopupLocationRelativeTo, setPopupTimeout, setProcessModelChangeEvent, setRepeats, setReverseOrder, setSearchableProvider, setSearchingDelay, setSearchLabel, setWildcardEnabled, setWildcardSupport, showPopup, textChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextSensitiveTableSearchable

public ContextSensitiveTableSearchable(JTable table)
Method Detail

getValueAt

protected Object getValueAt(JTable table,
                            int rowIndex,
                            int columnIndex)
Description copied from class: TableSearchable
Get string value of the table.

Overrides:
getValueAt in class TableSearchable
Parameters:
table - the JTable
rowIndex - the row index
columnIndex - the column index
Returns:
the string value of the cell in the table.

JIDE 3.5.15