Examples of removeImage()


Examples of jxl.write.WritableSheet.removeImage()

    wc = sheet.getWritableCell(1,101).copyTo(1, 102);
    sheet.addCell(wc);

    // Remove the second image from the sheet
    WritableImage wi = sheet.getImage(1);
    sheet.removeImage(wi);

    wi = new WritableImage(1, 116, 2, 9,
                           new File("resources/littlemoretonhall.png"));
    sheet.addImage(wi);
View Full Code Here

Examples of org.richfaces.photoalbum.model.Album.removeImage()

     * @throws PhotoAlbumException
     */
    public void deleteImage(Image image) throws PhotoAlbumException {
        Album parentAlbum = em.find(Album.class, image.getAlbum().getId());
        try {
            parentAlbum.removeImage(image);
            em.merge(parentAlbum);
            em.flush();

            // the image will be sent in an event
            image.setAlbum(parentAlbum);
View Full Code Here

Examples of org.richfaces.photoalbum.model.MetaTag.removeImage()

        Assert.assertTrue(removedTag.getImages().contains(image));

        tags.remove(0);
        Assert.assertFalse(tags.contains(removedTag));

        removedTag.removeImage(image);
        Assert.assertFalse(removedTag.getImages().contains(image));
        image.setImageTags(tags);

        ia.editImage(image, true);
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.