Examples of columns()


Examples of org.richfaces.component.AbstractColumnGroup.columns()

        RowHolder rowHolder = (RowHolder) holder;

        AbstractColumnGroup row = (AbstractColumnGroup) rowHolder.getRow();
        rowHolder.setRowStart(true);

        Iterator<UIComponent> components = row.columns();
        int columnNumber = 0;
        while (components.hasNext()) {
            UIColumn column = (UIColumn) components.next();
            if (column.isRendered()) {
                column.getAttributes().put(COLUMN_CLASS, getColumnClass(rowHolder, columnNumber));
View Full Code Here

Examples of org.richfaces.component.AbstractSelectManyComponent.columns()

        return SelectManyHelper.getConvertedValue(facesContext, component, val);
    }

    public boolean hasColumnChildren(FacesContext facesContext, UIComponent component) {
        AbstractSelectManyComponent select = (AbstractSelectManyComponent) component;
        return select.columns().hasNext();
    }

    public boolean isHeaderExists(FacesContext facesContext, UIComponent component) {
        AbstractSelectManyComponent select = (AbstractSelectManyComponent) component;
        Iterator<UIColumn> columnIterator = select.columns();
View Full Code Here

Examples of org.richfaces.component.Row.columns()

    public void encodeRow(ResponseWriter writer, FacesContext facesContext, RowHolderBase holder) throws IOException {
        RowHolder rowHolder = (RowHolder) holder;
        Row row = rowHolder.getRow();
        putRowStylesIntoContext(facesContext, rowHolder);
        rowHolder.setRowStart(true);
        Iterator<UIComponent> components = row.columns();
        if (rowHolder.isUpdatePartial()) {
            partialStart(facesContext, ((AbstractCollapsibleSubTable) row).getRelativeClientId(facesContext) + ":b");
        }

        int columnNumber = 0;
View Full Code Here

Examples of org.richfaces.component.UIColumnGroup.columns()

    String columnClasses = (String) component.getAttributes().get(
        "columnClasses");
    if (null != columnClasses) {
      classes = columnClasses.split(",");
    }
    Iterator<UIComponent> iter = colgroup.columns();
    boolean first = true;
    int currentColumn = 0;
    int currentRow = 0;
    UIComponent column = null;
    Map<String, Object> requestMap = context.getExternalContext().getRequestMap();
View Full Code Here

Examples of org.richfaces.component.UIDataTable.columns()

   * @param facetName
   * @throws IOException
   */
  private void encodeHeaderRow(ResponseWriter writer, FacesContext context, UIComponent component,String facetName) throws IOException {
    UIDataTable dataTable = (UIDataTable) component;
    Iterator<UIComponent> columns = dataTable.columns();//columnFacets(dataTable,facetName);
    int colCount = getColumnsCount(dataTable);
    String headerClass = (String) component.getAttributes().get(
        facetName+"Class");
    if (isColumnFacetPresent(dataTable, facetName)) {
      writer.startElement(HTML.TR_ELEMENT, dataTable);
View Full Code Here

Examples of org.richfaces.component.UIDataTable.columns()

  public void encodeOneRow(FacesContext context, TableHolder holder)
      throws IOException {
    UIDataTable table = (UIDataTable) holder.getTable();
    ResponseWriter writer = context.getResponseWriter();
    Iterator<UIComponent> iter = table.columns();
    boolean firstColumn = true;
    boolean firstRow = (holder.getRowCounter() == 0);
    int currentColumn = 0;
    UIComponent column = null;
    while (iter.hasNext()) {
View Full Code Here

Examples of org.richfaces.component.UIDataTable.columns()

  public void encodeOneRow(FacesContext context, TableHolder holder)
      throws IOException {
    UIDataTable table = (UIDataTable) holder.getTable();
    ResponseWriter writer = context.getResponseWriter();
    Iterator<UIComponent> iter = table.columns();
    boolean firstColumn = true;
    boolean firstRow = (holder.getRowCounter() == 0);
    int currentColumn = 0;
    UIComponent column = null;
    while (iter.hasNext()) {
View Full Code Here

Examples of org.richfaces.component.UIDataTable.columns()

  public void encodeOneRow(FacesContext context, TableHolder holder)
      throws IOException {
    UIDataTable table = (UIDataTable) holder.getTable();
    ResponseWriter writer = context.getResponseWriter();
    Iterator<UIComponent> iter = table.columns();
    boolean first = true;
    int currentColumn = 0;
    UIComponent column = null;
    while (iter.hasNext()) {
      column = (UIComponent) iter.next();
View Full Code Here

Examples of org.richfaces.component.UIListShuttle.columns()

        writer.writeAttribute("class", rowClassName.toString(), null);

        int colCounter = 0;
        boolean columnRendered = false;

        for (Iterator iterator = table.columns(); iterator.hasNext();) {
          UIComponent component = (UIComponent) iterator.next();

          if (component.isRendered()) {
            writer.startElement(HTML.td_ELEM, table);
View Full Code Here

Examples of org.richfaces.component.UIListShuttle.columns()

        writer.writeAttribute("class", rowClassName.toString(), null);

        int colCounter = 0;
        boolean columnRendered = false;

        for (Iterator iterator = table.columns(); iterator.hasNext();) {
          UIComponent component = (UIComponent) iterator.next();

          if (component.isRendered()) {
            writer.startElement(HTML.td_ELEM, table);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.