Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.uberfire.ext.widgets.common.client.common;
 
 import  com.github.gwtbootstrap.client.ui.Heading;
 import  com.github.gwtbootstrap.client.ui.Paragraph;
 import  com.google.gwt.core.client.GWT;
 import  com.google.gwt.event.dom.client.ClickEvent;
 import  com.google.gwt.event.dom.client.ClickHandler;
 import  com.google.gwt.event.dom.client.HasClickHandlers;
 import  com.google.gwt.event.shared.HandlerRegistration;
import  com.google.gwt.uibinder.client.UiBinder;
import  com.google.gwt.uibinder.client.UiField;
import  com.google.gwt.user.client.ui.Composite;
import  com.google.gwt.user.client.ui.Widget;
public class InfoCube
        extends Composite
        implements HasClickHandlers {
    interface PerspectiveButtonBinder extends UiBinder<Widget, InfoCube> {
    }
    private static PerspectiveButtonBinder uiBinder = GWT.create( PerspectiveButtonBinder.class );
    @UiField
    Heading title;
    @UiField
    Paragraph content;
    public InfoCube() {
        initWidget( .createAndBindUithis ) );
    }
    @Override
    public void setTitleString title ) {
        super.setTitle( title );
        this..setText( title );
    }
    public void setContentString text ) {
        .setText( text );
    }
    @Override
    public HandlerRegistration addClickHandler( ClickHandler handler ) {
        return addDomHandler( handler, ClickEvent.getType() );
    }
New to GrepCode? Check out our FAQ X