org.xnap.gui.table
Class SearchTableModel
java.lang.Object
org.xnap.gui.table.AbstractTreeTableModel
org.xnap.gui.table.AbstractColumnTreeTableModel
org.xnap.gui.table.DefaultColumnTreeTableModel
org.xnap.gui.table.SearchTableModel
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.tree.TreeModel, SwingListListener, ColumnModel, SortableModel, TreeTableModel
public class SearchTableModel
- extends DefaultColumnTreeTableModel
- implements SwingListListener
The model for the search table.
- See Also:
xnap.gui.SearchResultPanel
Methods inherited from class org.xnap.gui.table.DefaultColumnTreeTableModel |
add, getChild, getChildCount, getSortedColumn, indexOfByData, isSortedAscending, iterator, remove, remove, setMaintainSortOrder, sortByColumn |
Methods inherited from class org.xnap.gui.table.AbstractTreeTableModel |
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getRoot, isCellEditable, removeTreeModelListener, setValueAt, valueForPathChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchTableModel
public SearchTableModel()
createDefaultColumns
public static Column[] createDefaultColumns()
getListListener
public SwingSynchronizedCache getListListener()
itemsAdded
public void itemsAdded(java.lang.Object[] items)
- Invoked when search results have been received.
- Specified by:
itemsAdded
in interface SwingListListener
group
public void group(SearchResult result)
- Groups results.
itemsRemoved
public void itemsRemoved(java.lang.Object[] items)
- Never invoked.
- Specified by:
itemsRemoved
in interface SwingListListener
getValueAt
public java.lang.Object getValueAt(java.lang.Object node,
int column)
- Description copied from interface:
TreeTableModel
- Returns the value to be displayed for node
node
,
at column number column
.
- Specified by:
getValueAt
in interface TreeTableModel
- Overrides:
getValueAt
in class DefaultColumnTreeTableModel
setFilter
public void setFilter(SearchFilter f)
size
public int size()
- Invoked by
xnap.gui.SearchResultPanel
to set the tab title.
Copyright © 2001-2005 XNap Team. All Rights Reserved.