public class EndpointsComboBoxModel extends Object implements ComboBoxModel, PropertyChangeListener
| Modifier and Type | Field and Description | 
|---|---|
| static String | ADD_NEW_ENDPOINT | 
| static String | EDIT_ENDPOINT | 
| Constructor and Description | 
|---|
| EndpointsComboBoxModel(AbstractHttpRequestInterface<?> request) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addListDataListener(ListDataListener l) | 
| Object | getElementAt(int index) | 
| String[] | getEndpoints() | 
| AbstractHttpRequestInterface<?> | getRequest() | 
| Object | getSelectedItem() | 
| int | getSize() | 
| protected void | initEndpoints() | 
| void | listenToChangesIn(Document textFieldDocument) | 
| protected void | notifyContentsChanged() | 
| void | propertyChange(PropertyChangeEvent evt) | 
| void | refresh() | 
| void | release() | 
| void | removeListDataListener(ListDataListener l) | 
| void | setEndpoints(String[] endpoints) | 
| void | setSelectedItem(Object anItem) | 
public static final String ADD_NEW_ENDPOINT
public static final String EDIT_ENDPOINT
public EndpointsComboBoxModel(AbstractHttpRequestInterface<?> request)
public AbstractHttpRequestInterface<?> getRequest()
public void setSelectedItem(Object anItem)
setSelectedItem in interface ComboBoxModelpublic void refresh()
protected void initEndpoints()
public void setEndpoints(String[] endpoints)
public String[] getEndpoints()
protected void notifyContentsChanged()
public Object getSelectedItem()
getSelectedItem in interface ComboBoxModelpublic Object getElementAt(int index)
getElementAt in interface ListModelpublic void addListDataListener(ListDataListener l)
addListDataListener in interface ListModelpublic void removeListDataListener(ListDataListener l)
removeListDataListener in interface ListModelpublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerpublic void release()
public void listenToChangesIn(Document textFieldDocument)
Copyright © 2019. All Rights Reserved.