
jadex.commons.gui.autocombo.FixedClassComboModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-commons-gui Show documentation
Show all versions of jadex-commons-gui Show documentation
Common GUI support classes.
package jadex.commons.gui.autocombo;
import java.util.List;
import jadex.commons.SReflect;
/**
*
*/
public class FixedClassComboModel extends AbstractFixedAutoComboModel>
{
/**
* Create a new AbstractFixedAutoComboModel.
*/
public FixedClassComboModel(AutoCompleteCombo combo, int max, List> allentries)
{
super(combo, max, allentries);
}
/**
*
*/
public Class> convertFromString(String val)
{
return SReflect.findClass0(val, null, getCombo().getClassLoader());
}
/**
*
*/
public String convertToString(Class> val)
{
return val==null? "": SReflect.getInnerClassName(val);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy