/* GridModelConverter.java

	Purpose:
		
	Description:
		
	History:
		2011/12/12 Created by Dennis Chen

Copyright (C) 2011 Potix Corporation. All Rights Reserved.
*/
package org.zkoss.bind.converter.sys;

import org.zkoss.bind.Converter;
import org.zkoss.zul.Combobox;
import org.zkoss.zul.ListModel;

/**
 * The {@link Converter} implementation of the combobox for converting collection to ListModel and vice versa.
 * @author dennis
 * @since 6.0.0
 */
public class ComboboxModelConverter extends AbstractListModelConverter<Combobox> {
	private static final long serialVersionUID = 1463169907348730644L;

	protected ListModel<?> getComponentModel(Combobox comp) {
		return comp.getModel();
	}
}
