Package org.araneaframework.uilib.list.structure.order

Examples of org.araneaframework.uilib.list.structure.order.MultiColumnOrder


    /**
     * Takes a snapshot of outer class state.
     */
    protected ViewModel() {
      log.debug("Constructing ListStructure.ViewModel");
      MultiColumnOrder multiOrder = getListOrder() instanceof MultiColumnOrder ? (MultiColumnOrder) getListOrder()
          : null;
      if (multiOrder == null) {
        log.debug("MultiColumnOrder not found");
      }

      for (Iterator i = BaseListStructure.this.columnList.iterator(); i
          .hasNext();) {
        ListColumn.ViewModel currentColumn = ((ListColumn) i
            .next()).getViewModel();
        boolean isOrdered = multiOrder != null
            && multiOrder.isColumnOrdered(currentColumn.getId());

        this.columnList.add(currentColumn);
        this.columns.put(currentColumn.getId(), currentColumn);
        this.columnOrders.put(currentColumn.getId(), new Boolean(
            isOrdered));
View Full Code Here


  public ColumnOrder getColumnOrder(String column) {
    return getMultiColumnOrder().getColumnOrder(column);
  }
 
  public void clearColumnOrders() {
    this.order = new MultiColumnOrder();
  }
View Full Code Here

TOP

Related Classes of org.araneaframework.uilib.list.structure.order.MultiColumnOrder

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.