Example usage for com.vaadin.client TooltipInfo TooltipInfo

List of usage examples for com.vaadin.client TooltipInfo TooltipInfo

Introduction

In this page you can find the example usage for com.vaadin.client TooltipInfo TooltipInfo.

Prototype

public TooltipInfo(String tooltip, ContentMode mode) 

Source Link

Document

Constructs a new tooltip info instance.

Usage

From source file:org.tltv.gantt.client.StepConnector.java

License:Apache License

@Override
public TooltipInfo getTooltipInfo(Element element) {
    return new TooltipInfo(getState().step.getDescription(), getState().errorMessage);
}

From source file:org.vaadin.anna.gridactionrenderer.client.ActionGridConnector.java

License:Apache License

@Override
public TooltipInfo getTooltipInfo(Element element) {
    if (element.hasAttribute(GridActionRendererConnector.TOOLTIP)) {
        return new TooltipInfo(element.getAttribute(GridActionRendererConnector.TOOLTIP), null);
    }//from   w w  w.  j av  a 2s  . c o  m
    return super.getTooltipInfo(element);
}