Example usage for com.vaadin.client.ui AbstractComponentConnector getWidget

List of usage examples for com.vaadin.client.ui AbstractComponentConnector getWidget

Introduction

In this page you can find the example usage for com.vaadin.client.ui AbstractComponentConnector getWidget.

Prototype

@Override
public Widget getWidget() 

Source Link

Document

Returns the widget associated with this paintable.

Usage

From source file:com.haulmont.cuba.web.toolkit.ui.client.historycontrol.CubaHistoryControlConnector.java

License:Apache License

protected boolean isAttached() {
    AbstractComponentConnector connectorTarget = (AbstractComponentConnector) target;
    return connectorTarget != null && connectorTarget.getWidget() != null
            && connectorTarget.getWidget().isAttached();
}