Class CollectionLayoutUtils

java.lang.Object
org.kuali.rice.krad.uif.layout.CollectionLayoutUtils

public class CollectionLayoutUtils extends Object
Utilities for collection layout managers
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • CollectionLayoutUtils

      public CollectionLayoutUtils()
  • Method Details

    • prepareSelectFieldForLine

      public static void prepareSelectFieldForLine(Field selectField, CollectionGroup collectionGroup, String lineBindingPath, Object line)
    • setControlValueToLineIdentifier

      protected static void setControlValueToLineIdentifier(Field selectField, Object line, String lineBindingPath)
    • setupPagerWidget

      protected static void setupPagerWidget(Pager pagerWidget, CollectionGroup collectionGroup, Object model)
      Setup a pagerWidget's values for numberOfPages and currentPage, based on the collection size, displayStart, and displayLength
      Parameters:
      pagerWidget - the Pager to setup
      collectionGroup - the collectionGroup which uses this Pager
      model - the current model