Package com.github.gwtbootstrap.client.ui

Examples of com.github.gwtbootstrap.client.ui.Hero


    public IsWidget getView() {
        final VerticalPanel widgets = new VerticalPanel();

        for ( final YouTubeVideo video : VIDEOS ) {

            final Hero infoCube = new Hero();
            final Heading heading = new Heading( 2, video.getName() );
            final Paragraph paragraph = new Paragraph( video.getDescription() );
            infoCube.add( heading );
            infoCube.add( paragraph );
            infoCube.addDomHandler( new ClickHandler() {
                @Override
                public void onClick( final ClickEvent e ) {
                    event.fire( video );
                }
            }, ClickEvent.getType() );
View Full Code Here

TOP

Related Classes of com.github.gwtbootstrap.client.ui.Hero

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.