JIDE 3.5.15

com.jidesoft.grid
Class GroupTableSearchable

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
                  extended by com.jidesoft.grid.TreeTableSearchable
                      extended by com.jidesoft.grid.GroupTableSearchable
All Implemented Interfaces:
PropertyChangeListener, EventListener, TableModelListener

public class GroupTableSearchable
extends TreeTableSearchable

GroupTableSearchable is a special Searchable that implements Searchable that enables the search function in GroupTable.

The only special attribute of GroupTableSearchable is to get and set selected index correctly since GroupTable changes its table model all the time whie grouping/ungrouping.


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
GroupTableSearchable(JTable table)
           
 
Method Summary
protected  Object getElementAt(int index)
          Gets the element at the specified index.
 
Methods inherited from class com.jidesoft.grid.TreeTableSearchable
getElementCount, getSelectedIndex, isRecursive, setRecursive, setSelectedIndex, tableChanged
 
Methods inherited from class com.jidesoft.grid.ContextSensitiveTableSearchable
getValueAt
 
Methods inherited from class com.jidesoft.grid.JideTableSearchable
isNonContiguousCellSelection
 
Methods inherited from class com.jidesoft.swing.TableSearchable
addTableSelection, convertElementToString, getMainIndex, getSearchColumnIndices, installListeners, isActivateKey, isColumnSelectionAllowed, isFindNextKey, isFindPreviousKey, isRowSelectionAllowed, isSearchSelectedRows, isSelectedCellEditable, propertyChange, setMainIndex, setSearchColumnIndices, 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

GroupTableSearchable

public GroupTableSearchable(JTable table)
Method Detail

getElementAt

protected Object getElementAt(int index)
Description copied from class: Searchable
Gets the element at the specified index. The element could be any data structure that internally used in the component. The convertElementToString method will give you a chance to convert the element to string which is used to compare with the string that user types in.

Overrides:
getElementAt in class TreeTableSearchable
Parameters:
index - the index
Returns:
the element at the specified index.

JIDE 3.5.15