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

org.wicketstuff.egrid.column.EditableTextFieldPropertyColumn Maven / Gradle / Ivy

There is a newer version: 10.3.0
Show newest version
package org.wicketstuff.egrid.column;

import org.apache.wicket.markup.html.form.FormComponent;
import org.apache.wicket.model.IModel;
/**
 * 
 * @author Nadeem Mohammad
 *
 */
public class EditableTextFieldPropertyColumn extends AbstractEditablePropertyColumn
{

	private static final long serialVersionUID = 1L;

	public EditableTextFieldPropertyColumn(IModel displayModel, String propertyExpression)
	{
		super(displayModel, propertyExpression);
	}
	
	
	public EditableTextFieldPropertyColumn(IModel displayModel, String propertyExpression, boolean isEditable)
	{
		super(displayModel, propertyExpression, isEditable);
	}

	@Override
	public EditableCellPanel getEditableCellPanel(String componentId)
	{
		return new EditableTextFieldCellPanel(componentId, this)
		{

			private static final long serialVersionUID = 1L;

			@Override
			protected void addBehaviors(FormComponent formComponent)
			{
				EditableTextFieldPropertyColumn.this.addBehaviors(formComponent);
			}
		};
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy