Package org.odlabs.wiquery.ui.button

Examples of org.odlabs.wiquery.ui.button.ButtonBehavior


    final Form<Void> form = new Form<Void>("form");
    add(form);
   
    // Simple button
    Button simpleButton = new Button("simpleButton");
    simpleButton.add(new ButtonBehavior()
        .setIcons(UiIcon.HOME, null)
        .setLabel("Simple button")
    );
    form.add(simpleButton);
   
    // Button without text
    Button buttonWithoutText = new Button("buttonWithoutText");
    buttonWithoutText.add(new ButtonBehavior()
        .setIcons(UiIcon.HOME, null)
        .setText(false)
    );
    form.add(buttonWithoutText);
   
View Full Code Here

TOP

Related Classes of org.odlabs.wiquery.ui.button.ButtonBehavior

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.