Examples of FancyNotification


Examples of org.vaadin.alump.fancylayouts.FancyNotification

        final Button htmlExample = new Button("HTML example");
        htmlExample.addClickListener(new Button.ClickListener() {

            @Override
            public void buttonClick(ClickEvent event) {
                FancyNotification notif = new FancyNotification(
                        null,
                        "Hello <span style=\"text-decoration: underline;\">World</span>",
                        "Lorem <span style=\"font-size: 80%;\">ipsum.</span>");
                notif.getTitleLabel().setContentMode(ContentMode.HTML);
                notif.getDescriptionLabel().setContentMode(ContentMode.HTML);
                notifications.showNotification(notif);
            }
        });
        buttonLayout.addComponent(htmlExample);
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.