Examples of Sortable


Examples of com.esri.gpt.catalog.discovery.Sortable

    if (sortByNode != null) {
      nlProps = (NodeList)xpath.evaluate("ogc:SortProperty",sortByNode,XPathConstants.NODESET);
    }
    if ((nlProps != null) && (nlProps.getLength() > 0)) {
      for (int i=0; i<nlProps.getLength(); i++) {
        Sortable sortable = this.parsePropertyName(nlProps.item(i),xpath).asSortable();
        Node ndDir = (Node)xpath.evaluate("ogc:SortOrder",nlProps.item(i),XPathConstants.NODE);
        if (ndDir != null) {
          String sSortDir = ndDir.getTextContent();
          try {
            LOGGER.finer("Setting sort direction:"+sSortDir);
            sortable.setDirection(Sortable.SortDirection.from(sSortDir));
          } catch (IllegalArgumentException e) {
            String msg = "This parameter value is not supported: "+sSortDir;
            throw new OwsException(OwsException.OWSCODE_InvalidParameterValue,"SortOrder",msg);
          }
        }
View Full Code Here

Examples of org.apache.tapestry5.beaneditor.Sortable

        label = TapestryInternalUtils.defaultLabel(id, messages, name);

        // TAP5-2305
        if (conduit != null)
        {
            Sortable sortableAnnotation = conduit.getAnnotation(Sortable.class);
            if (sortableAnnotation != null)
            {
                sortable = sortableAnnotation.value();
            }
            else
            {
                // Primitive types need to be converted to wrapper types before checking to see
                // if they are sortable.
View Full Code Here

Examples of org.junit.runner.manipulation.Sortable

        }
    }

    public void sort(Sorter sorter) {
        if (getTest() instanceof Sortable) {
            Sortable adapter = (Sortable) getTest();
            adapter.sort(sorter);
        }
    }
View Full Code Here

Examples of org.junit.runner.manipulation.Sortable

    }
  }

  public void sort(Sorter sorter) {
    if (getTest() instanceof Sortable) {
      Sortable adapter= (Sortable) getTest();
      adapter.sort(sorter);
    }
  }
View Full Code Here

Examples of org.junit.runner.manipulation.Sortable

    }
  }

  public void sort(Sorter sorter) {
    if (fTest instanceof Sortable) {
      Sortable adapter= (Sortable) fTest;
      adapter.sort(sorter);
    }
  }
View Full Code Here

Examples of org.junit.runner.manipulation.Sortable

        }
    }

    public void sort(Sorter sorter) {
        if (getTest() instanceof Sortable) {
            Sortable adapter = (Sortable) getTest();
            adapter.sort(sorter);
        }
    }
View Full Code Here

Examples of org.opentides.bean.Sortable

   */
  protected String appendOrderToExample(T example) {
    String clause="";
   
    if (example instanceof Sortable) {
      Sortable criteria = (Sortable) example;
      //for search list ordering
      if(!StringUtil.isEmpty(criteria.getOrderOption()) && !StringUtil.isEmpty(criteria.getOrderFlow())){
        clause="ORDER BY "+ criteria.getOrderOption() +" "+ criteria.getOrderFlow() +"";
      }
    }
    return clause;
  }
View Full Code Here

Examples of org.sgx.yuigwt.yui.sortable.Sortable

    "    </ul>"+
    "</span>"+
   
    "</td></tr></table>");
   
    Sortable sortable1 = Y.newSortable(SortableConfig.create()
      .container("#demo1").nodes("li").opacity("0.1"));
   
    Sortable sortable2 = Y.newSortable(SortableConfig.create()
        .container("#demo2").nodes("li").opacity("0.1"));
   
    sortable1.join(sortable2, Sortable.JOIN_FULL);
   
    sty1 = Y.newStyleSheet();
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.