All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zkoss.zul.ComboitemRendererExt Maven / Gradle / Ivy

There is a newer version: 10.0.0-jakarta
Show newest version
/* ComboitemRendererExt.java

	Purpose:
		
	Description:
		
	History:
		Dec 27, 2007 11:27:33 AM , Created by jumperchen

Copyright (C) 2007 Potix Corporation. All Rights Reserved.

{{IS_RIGHT
	This program is distributed under LGPL Version 2.1 in the hope that
	it will be useful, but WITHOUT ANY WARRANTY.
}}IS_RIGHT
*/
package org.zkoss.zul;

/**
 * Provides additional control to {@link ComboitemRenderer}.
 * @author jumperchen
 *
 */
public interface ComboitemRendererExt {
	/** Creates an instance of {@link Comboitem} for rendering.
	 * The created component will be passed to {@link ComboitemRenderer#render}.
	 *
	 * 

Note: remember to invoke {@link Comboitem#applyProperties} to initialize * the properties, defined in the component definition, properly. * *

If null is returned, the default comboitem is created as follow.


	final Comboitem item = new Comboitem();
	item.applyProperties();
	return item;
	
* *

Note: DO NOT call {@link Comboitem#setParent}. * * @return the comboitem if you'd like to create it differently, or null * if you want {@link Comboitem} to create it for you */ public Comboitem newComboitem(Combobox combobox); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy