/* (non-Javadoc)
* @see com.sshtools.ui.awt.grid.TableModel#getValue(int, int)
*/
public Object getValue(int r, int c) {
AbstractPortItem t = getItemAt(r);
switch(c) {
case 0:
return t.getType();
case 1:
return t.getName();
case 2:
return new Integer(t.getLocalPort());
case 3:
return new Integer(t.getActiveTunnelCount());
case 4:
return new Date(t.getDataLastTransferred());
default:
return new Integer(t.getTotalTunnelCount());
}
}