com.sshtools.common.ui
Class HostsTab.HostsListModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by com.sshtools.common.ui.HostsTab.HostsListModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.ListModel
Enclosing class:
HostsTab

 class HostsTab.HostsListModel
extends javax.swing.AbstractListModel


Field Summary
(package private)  java.util.List hosts
           
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
HostsTab.HostsListModel()
           
 
Method Summary
 java.lang.Object getElementAt(int index)
           
 HostsTab.HostWrapper getHost(java.lang.String name)
           
 HostsTab.HostWrapper getHostAt(int index)
           
 int getSize()
           
 void refresh()
           
 void removeHostAt(int index)
           
 void updateHostAt(int index)
           
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hosts

java.util.List hosts
Constructor Detail

HostsTab.HostsListModel

public HostsTab.HostsListModel()
Method Detail

refresh

public void refresh()

getHost

public HostsTab.HostWrapper getHost(java.lang.String name)

getSize

public int getSize()

getElementAt

public java.lang.Object getElementAt(int index)

getHostAt

public HostsTab.HostWrapper getHostAt(int index)

removeHostAt

public void removeHostAt(int index)

updateHostAt

public void updateHostAt(int index)