org.jdesktop.swingx.search
Class TreeSearchable

java.lang.Object
  extended by org.jdesktop.swingx.search.AbstractSearchable
      extended by org.jdesktop.swingx.search.TreeSearchable
All Implemented Interfaces:
Searchable

public class TreeSearchable
extends AbstractSearchable

A searchable targetting the visible rows of a JXTree. PENDING: value to string conversion should behave as nextMatch (?) which uses the convertValueToString().


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdesktop.swingx.search.AbstractSearchable
AbstractSearchable.SearchResult
 
Field Summary
 
Fields inherited from class org.jdesktop.swingx.search.AbstractSearchable
MATCH_HIGHLIGHTER
 
Constructor Summary
TreeSearchable(JXTree tree)
           
 
Method Summary
 JXTree getTarget()
          It's the responsibility of subclasses to covariant override.
 
Methods inherited from class org.jdesktop.swingx.search.AbstractSearchable
search, search, search, search, search, search, setMatchHighlighter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeSearchable

public TreeSearchable(JXTree tree)
Parameters:
tree -
Method Detail

getTarget

public JXTree getTarget()
It's the responsibility of subclasses to covariant override.

Specified by:
getTarget in class AbstractSearchable
Returns:
the target component