Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sshtools.sshterm.forward
Class ActiveChannelModel  view ActiveChannelModel download ActiveChannelModel.java

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended bycom.sshtools.sshterm.forward.ActiveChannelModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class ActiveChannelModel
extends javax.swing.table.AbstractTableModel


Field Summary
private  java.util.Vector active
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ActiveChannelModel()
           
 
Method Summary
 java.util.Iterator activeChannels()
           
 void addActiveChannel(com.sshtools.j2ssh.forwarding.ForwardingChannel channel)
           
 void clear()
           
 void dataReceived(com.sshtools.j2ssh.forwarding.ForwardingChannel channel)
           
 void dataSent(com.sshtools.j2ssh.forwarding.ForwardingChannel channel)
           
private  ActiveChannelWrapper findWrapper(com.sshtools.j2ssh.forwarding.ForwardingChannel channel)
           
 java.lang.Class getColumnClass(int c)
          Returns the Class for all Object instances in the specified column.
 int getColumnCount()
          Returns the number of columns in the model.
 java.lang.String getColumnName(int c)
          Returns the name of the specified column.
 int getRowCount()
          Returns the number of rows in the model.
 java.lang.Object getValueAt(int r, int c)
          Returns the value (Object) at a particular cell in the table.
private  int indexOf(com.sshtools.j2ssh.forwarding.ForwardingChannel channel)
           
 void removeActiveChannel(com.sshtools.j2ssh.forwarding.ForwardingChannel channel)
           
 void updateActiveChannel(com.sshtools.j2ssh.forwarding.ForwardingChannel channel)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

active

private java.util.Vector active
Constructor Detail

ActiveChannelModel

public ActiveChannelModel()
Method Detail

addActiveChannel

public void addActiveChannel(com.sshtools.j2ssh.forwarding.ForwardingChannel channel)

removeActiveChannel

public void removeActiveChannel(com.sshtools.j2ssh.forwarding.ForwardingChannel channel)

dataSent

public void dataSent(com.sshtools.j2ssh.forwarding.ForwardingChannel channel)

dataReceived

public void dataReceived(com.sshtools.j2ssh.forwarding.ForwardingChannel channel)

updateActiveChannel

public void updateActiveChannel(com.sshtools.j2ssh.forwarding.ForwardingChannel channel)

getColumnClass

public java.lang.Class getColumnClass(int c)
Description copied from class: javax.swing.table.AbstractTableModel
Returns the Class for all Object instances in the specified column.


getColumnName

public java.lang.String getColumnName(int c)
Description copied from class: javax.swing.table.AbstractTableModel
Returns the name of the specified column. This method generates default names in a sequence (starting with column 0): A, B, C, ..., Z, AA, AB, AC, ..., AZ, BA, BB, BC, and so on. Subclasses may override this method to allow column names to be specified on some other basis.


getColumnCount

public int getColumnCount()
Description copied from interface: javax.swing.table.TableModel
Returns the number of columns in the model.


getRowCount

public int getRowCount()
Description copied from interface: javax.swing.table.TableModel
Returns the number of rows in the model.


clear

public void clear()

activeChannels

public java.util.Iterator activeChannels()

getValueAt

public java.lang.Object getValueAt(int r,
                                   int c)
Description copied from interface: javax.swing.table.TableModel
Returns the value (Object) at a particular cell in the table.


indexOf

private int indexOf(com.sshtools.j2ssh.forwarding.ForwardingChannel channel)

findWrapper

private ActiveChannelWrapper findWrapper(com.sshtools.j2ssh.forwarding.ForwardingChannel channel)