Project JXTA

net.jxta.ext.config.ui
Class TcpAddressComboModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by javax.swing.DefaultComboBoxModel
          extended by net.jxta.ext.config.ui.TcpAddressComboModel
All Implemented Interfaces:
Serializable, ComboBoxModel, ListModel, MutableComboBoxModel

public class TcpAddressComboModel
extends DefaultComboBoxModel

Combo box model for ext:config:ui JXTA local address selection

Version:
Author:
volker john [volkerj at jxta dot org]
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
TcpAddressComboModel()
           
 
Method Summary
static String getLocalHost()
          Gets the local address.
 
Methods inherited from class javax.swing.DefaultComboBoxModel
addElement, getElementAt, getIndexOf, getSelectedItem, getSize, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItem
 
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
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
 

Constructor Detail

TcpAddressComboModel

public TcpAddressComboModel()
Method Detail

getLocalHost

public static String getLocalHost()
Gets the local address.

Returns:
The local address

JXTA J2SE