nl.tudelft.goal.ut2004.visualizer.gui.widgets
Class SuggestionModel

Package class diagram package SuggestionModel
java.lang.Object
  extended by nl.tudelft.goal.ut2004.visualizer.gui.widgets.SuggestionModel
All Implemented Interfaces:
ComboBoxModel, ListModel

public final class SuggestionModel
extends Object
implements ComboBoxModel


Constructor Summary
SuggestionModel()
           
 
Method Summary
 void addElement(Object element)
           
 void addListDataListener(ListDataListener l)
           
 Object getElementAt(int index)
           
 Object getItem(String key)
           
 Object getSelectedItem()
           
 int getSize()
           
 void removeElement(Object element)
           
 void removeListDataListener(ListDataListener l)
           
 void setSelectedItem(Object anItem)
           
 List<String> sugestFor(String query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuggestionModel

public SuggestionModel()
Method Detail

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 © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.