Examples of assignTo()


Examples of de.agilecoders.wicket.extensions.markup.html.bootstrap.contextmenu.ButtonListContextMenu.assignTo()

                .setIconType(GlyphIconType.qrcode));
    final Component contextPanel = new TransparentWebMarkupContainer(
        "context-panel");
    final ButtonListContextMenu contextMenu = new ButtonListContextMenu(
        "contextmenu", Model.ofList(buttons));
    contextMenu.assignTo(contextPanel);
    add(contextMenu,
        contextPanel,
        new Code(
            "context-code",
            Model.of(""
View Full Code Here

Examples of org.opencv.core.Mat.assignTo()

      Core.absdiff(getCurrentMat(), imgMat, dst);
    } else {
      Core.absdiff(getCurrentMat(), OpenCV.gray(imgMat), dst);
    }
   
    dst.assignTo(getCurrentMat());
  }
 
  /**
   * A helper function that diffs two Mats using absdiff.
   * Places the result back into mat1
View Full Code Here

Examples of org.opencv.core.Mat.assignTo()

   *     The Mat to diff against
   */
  public static void diff(Mat mat1, Mat mat2){
    Mat dst = imitate(mat1);
    Core.absdiff(mat1, mat2, dst);
    dst.assignTo(mat1);
  }
 
  /**
   * Apply a global threshold to an image. Produces a binary image
   * with white pixels where the original image was above the threshold
View Full Code Here

Examples of org.qi4j.library.shiro.domain.permissions.Role.assignTo()

        // START SNIPPET: usage
        UnitOfWork uow = module.newUnitOfWork();

        User user = userFactory.createNewUser( "foo", "bar" );
        Role role = roleFactory.create( "role-one", "permission-one", "permission-two" );
        role.assignTo( user );

        uow.complete();

        // END SNIPPET: usage
        // START SNIPPET: usage
View Full Code Here

Examples of org.vectomatic.dom.svg.OMSVGRect.assignTo()

        SVGImage myImage = new SVGImage(svg) {
            protected void onAttach() {
                OMSVGRect viewBox = svg.getViewBox().getBaseVal();
                if (viewBox.getWidth() == 0 || viewBox.getHeight() == 0) {
                    OMSVGRect bbox = svg.getBBox();
                    bbox.assignTo(viewBox);
                }
                svg.getStyle().setWidth(300, Unit.PX);
                svg.getStyle().setHeight(130, Unit.PX);
                super.onAttach();
            }
View Full Code Here

Examples of org.vectomatic.dom.svg.OMSVGRect.assignTo()

    {
      protected void onAttach() {
          OMSVGRect viewBox = svg.getViewBox().getBaseVal();
        if (viewBox.getWidth() == 0 || viewBox.getHeight() == 0) {
          OMSVGRect bbox = svg.getBBox();
          bbox.assignTo(viewBox);
        }       
        svg.getStyle().setWidth(300, Unit.PX);
        svg.getStyle().setHeight(130, Unit.PX);
        super.onAttach();
        }
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.