gwt.material.design.client.ui.MaterialTextBox Java Examples

The following examples show how to use gwt.material.design.client.ui.MaterialTextBox. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AddressLookupView.java    From gwt-material-demo with Apache License 2.0 5 votes vote down vote up
protected void setComponent(MaterialTextBox textBox, GeocoderAddressComponent addressComponent) {
    if (addressComponent != null) {
        textBox.setText(addressComponent.getLongName());
    } else {
        textBox.setText("-");
    }
}