Package org.richfaces.component

Examples of org.richfaces.component.Column


       
        int sortColumn = Integer.parseInt((String)parameters.get(clientId + ":sortColumn"));
        int sortDataIndex = Integer.parseInt((String)parameters.get(clientId + ":sortIndex"));
        Integer sortStartRow = Integer.valueOf((String)parameters.get(clientId + ":sortStartRow"));
       
        Column column = (Column)grid.getChildren().get(sortColumn);
       
        if(column.isSortable()){
     
          sorted = true;
          SortEvent sortEvent = new SortEvent(grid,sortColumn, grid.getRows(), sortDataIndex);
         
          sortEvent.setAttribute(ScrollableDataTableUtils.CLIENT_ROW_KEY,sortStartRow);
View Full Code Here


 
  private Boolean getColumnSorting(UIScrollableDataTable grid, int columnIndex) {

    Boolean sorting = null;

    Column column =
      (Column) grid.getChildren().get(columnIndex);
   
    String name = ColumnUtil.getColumnSorting(column);
   
    SortOrder sortOrder = grid.getSortOrder();
View Full Code Here

   * @see org.richfaces.event.sort.SortListener#processSort(org.richfaces.event.sort.SortEvent)
   */
  public void processSort(SortEvent e) {
    UIScrollableDataTable grid = (UIScrollableDataTable) e.getComponent();
    int columnIndex = e.getSortColumn();
    Column column =
      (Column) grid.getChildren().get(columnIndex);
   
    String name = ColumnUtil.getColumnSorting(column);
   
    SortOrder sortOrder = grid.getSortOrder();
View Full Code Here

   */
  public void processSort(SortEvent e) {
    UIScrollableDataTable grid = (UIScrollableDataTable) e.getComponent();
    int columnIndex = e.getSortColumn();

    Column column =
      (Column) grid.getChildren().get(columnIndex);
   
    String name = ColumnUtil.getColumnSorting(column);
   
    SortOrder sortOrder = grid.getSortOrder();
View Full Code Here

          if (currentLength > count) {
            count = currentLength;
          }
          currentLength = 0;
        } else if (column instanceof Column) {
          Column tableColumn = (Column) column;
          // For new row, save length of previsous.
          if (tableColumn.isBreakBefore()) {
            if (currentLength > count) {
              count = currentLength;
            }
            currentLength = 0;
          }
View Full Code Here

          if (currentLength > count) {
            count = currentLength;
          }
          currentLength = 0;
        } else if (column instanceof Column) {
          Column tableColumn = (Column) column;
          // For new row, save length of previsous.
          if (tableColumn.isBreakBefore()) {
            if (currentLength > count) {
              count = currentLength;
            }
            currentLength = 0;
          }
View Full Code Here

                    if (currentLength > count) {
                        count = currentLength;
                    }
                    currentLength = 0;
                } else if (column instanceof Column) {
                    Column tableColumn = (Column) column;
                    // For new row, save length of previsous.
                    if (tableColumn.isBreakBefore()) {
                        if (currentLength > count) {
                            count = currentLength;
                        }
                        currentLength = 0;
                    }
View Full Code Here

          if (currentLength > count) {
            count = currentLength;
          }
          currentLength = 0;
        } else if (column instanceof Column) {
          Column tableColumn = (Column) column;
          // For new row, save length of previsous.
          if (tableColumn.isBreakBefore()) {
            if (currentLength > count) {
              count = currentLength;
            }
            currentLength = 0;
          }
View Full Code Here

       
        int sortColumn = Integer.parseInt((String)parameters.get(clientId + ":sortColumn"));
        int sortDataIndex = Integer.parseInt((String)parameters.get(clientId + ":sortIndex"));
        Integer sortStartRow = Integer.valueOf((String)parameters.get(clientId + ":sortStartRow"));
       
        Column column = (Column)grid.getChildren().get(sortColumn);
       
        if(column.isSortable()){
     
          sorted = true;
          SortEvent sortEvent = new SortEvent(grid,sortColumn, grid.getRows(), sortDataIndex);
         
          sortEvent.setAttribute(ScrollableDataTableUtils.CLIENT_ROW_KEY,sortStartRow);
View Full Code Here

 
  private Boolean getColumnSorting(UIScrollableDataTable grid, int columnIndex) {

    Boolean sorting = null;

    Column column =
      (Column) grid.getChildren().get(columnIndex);
   
    String name = ColumnUtil.getColumnSorting(column);
   
    SortOrder sortOrder = grid.getSortOrder();
View Full Code Here

TOP

Related Classes of org.richfaces.component.Column

Copyright © 2018 www.massapicom. 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.