public class QueryDialogComboBoxModel<T> extends Object implements ComboBoxModel
Constructor and Description |
---|
QueryDialogComboBoxModel(QueryDialogModel<T> dialogModel) |
Modifier and Type | Method and Description |
---|---|
void |
addListDataListener(ListDataListener l) |
protected void |
fireContentsChangedEvent(ListDataEvent event) |
protected void |
fireIntervalAddedEvent(ListDataEvent event) |
protected void |
fireIntervalRemovedEvent(ListDataEvent event) |
Query<T> |
getElementAt(int index) |
Object |
getSelectedItem() |
int |
getSize() |
void |
removeListDataListener(ListDataListener l) |
void |
setSelectedItem(Object anItem) |
public QueryDialogComboBoxModel(QueryDialogModel<T> dialogModel)
public Object getSelectedItem()
getSelectedItem
in interface ComboBoxModel
public void setSelectedItem(Object anItem)
setSelectedItem
in interface ComboBoxModel
public Query<T> getElementAt(int index)
getElementAt
in interface ListModel
public void addListDataListener(ListDataListener l)
addListDataListener
in interface ListModel
public void removeListDataListener(ListDataListener l)
removeListDataListener
in interface ListModel
protected void fireContentsChangedEvent(ListDataEvent event)
protected void fireIntervalRemovedEvent(ListDataEvent event)
protected void fireIntervalAddedEvent(ListDataEvent event)
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.