nl.tudelft.goal.ut2004.visualizer.gui.widgets
Class SuggestionModel
java.lang.Object
nl.tudelft.goal.ut2004.visualizer.gui.widgets.SuggestionModel
- All Implemented Interfaces:
- ComboBoxModel, ListModel
public final class SuggestionModel
- extends Object
- implements ComboBoxModel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuggestionModel
public SuggestionModel()
addElement
public void addElement(Object element)
removeElement
public void removeElement(Object element)
sugestFor
public List<String> sugestFor(String query)
getElementAt
public Object getElementAt(int index)
- Specified by:
getElementAt
in interface ListModel
getSize
public int getSize()
- Specified by:
getSize
in interface ListModel
removeListDataListener
public void removeListDataListener(ListDataListener l)
- Specified by:
removeListDataListener
in interface ListModel
addListDataListener
public void addListDataListener(ListDataListener l)
- Specified by:
addListDataListener
in interface ListModel
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem
in interface ComboBoxModel
setSelectedItem
public void setSelectedItem(Object anItem)
- Specified by:
setSelectedItem
in interface ComboBoxModel
getItem
public Object getItem(String key)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.