org.xnap.plugin.pircbot
Class PircBotServerTableModel
java.lang.Object
org.xnap.gui.table.AbstractTreeTableModel
org.xnap.gui.table.AbstractColumnTreeTableModel
org.xnap.gui.table.DefaultColumnTreeTableModel
org.xnap.plugin.pircbot.PircBotServerTableModel
- All Implemented Interfaces:
- javax.swing.tree.TreeModel, ColumnModel, SortableModel, TreeTableModel
public class PircBotServerTableModel
- extends DefaultColumnTreeTableModel
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 |
PircBotServerTableModel
public PircBotServerTableModel()
add
public void add(PircBotServer server)
add
public PircBotNetworkNode add(java.lang.String network)
move
public void move(PircBotServer server)
- Invoked by
PircBotNetworkNode
when the network of the server
has changed.
remove
public void remove(PircBotServer server)
- Removes
server
from the table model.
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
getNetworks
public java.lang.String[] getNetworks()
servers
public java.util.Iterator servers()
Copyright © 2001-2005 XNap Team. All Rights Reserved.