/* * Copyright 2009-2014 PrimeTek. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.primefaces.component.api; import java.io.IOException; import java.util.List; import javax.el.MethodExpression; import javax.el.ValueExpression; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import org.primefaces.component.celleditor.CellEditor; public interface UIColumn { public ValueExpression getValueExpression(String property); public String getContainerClientId(FacesContext context); public String getColumnKey(); public String getClientId(); public String getClientId(FacesContext context); public String getSelectionMode(); public boolean isResizable(); public String getStyle(); public String getStyleClass(); public int getRowspan(); public int getColspan(); public boolean isDisabledSelection(); public String getFilterPosition(); public UIComponent getFacet(String facet); public Object getFilterBy(); public Object getFilterValue(); public String getHeaderText(); public String getFooterText(); public String getFilterStyleClass(); public String getFilterStyle(); public String getFilterMatchMode(); public int getFilterMaxLength(); public Object getFilterOptions(); public CellEditor getCellEditor(); public boolean isDynamic(); public MethodExpression getSortFunction(); public Object getSortBy(); public List<UIComponent> getChildren(); public boolean isExportable(); public boolean isRendered(); public void encodeAll(FacesContext context) throws IOException; public void renderChildren(FacesContext context) throws IOException; public String getWidth(); public boolean isToggleable(); public MethodExpression getFilterFunction(); public String getField(); }