Example usage for com.vaadin.ui Component getDescription

List of usage examples for com.vaadin.ui Component getDescription

Introduction

In this page you can find the example usage for com.vaadin.ui Component getDescription.

Prototype

public String getDescription();

Source Link

Document

Gets the components description, used in tooltips and can be displayed directly in certain other components such as forms.

Usage

From source file:com.vaadHL.i18n.VaadHLi18n.java

License:Apache License

String valueI18(Component child, String varName) {
    String pref = prefix + varName + "=";
    String s = child.getDescription();

    return null;//w  w w. j  av a2s.  c  o  m
}

From source file:org.lunifera.runtime.web.vaadin.databinding.component.internal.ComponentDescriptionProperty.java

License:Open Source License

protected Object doGetValue(Object source) {
    Component component = (Component) source;
    return component.getDescription();
}

From source file:org.yukkasource.mvp.spring.integration.initializers.layout.ValoMenuLayout.java

License:Apache License

public void addMenu(Component menu) {
    logger.trace("adding menu component: {}", menu.getDescription());
    menu.addStyleName("valo-menu-part");
    menuArea.addComponent(menu);/*from   w  ww .jav  a 2s. c  o  m*/
}