Example usage for com.vaadin.ui Panel setDescription

List of usage examples for com.vaadin.ui Panel setDescription

Introduction

In this page you can find the example usage for com.vaadin.ui Panel setDescription.

Prototype

public void setDescription(String description) 

Source Link

Document

Sets the component's description.

Usage

From source file:org.escidoc.browser.elabsmodul.views.StudyView.java

License:Open Source License

/**
 * This is the inner Right Cell within a Context By default a set of Organizational Unit / Admin Description /
 * RelatedItem / Resources are bound/*from   w  w  w .j av  a 2 s  .  c om*/
 * 
 * @param comptoBind
 */
private void rightCell(final Component comptoBind) {
    final Panel rightpnl = new Panel();
    rightpnl.setDescription(RIGHT_PANEL);
    rightpnl.setStyleName("floatright");
    rightpnl.addStyleName(Runo.PANEL_LIGHT);
    rightpnl.setSizeFull();
    VerticalLayout vlRightPnl = new VerticalLayout();
    vlRightPnl.setSizeFull();
    vlRightPnl.setMargin(false);
    vlRightPnl.addComponent(comptoBind);
    rightpnl.setContent(vlRightPnl);
    this.directMemberExperimentContainer.addComponent(rightpnl);
    this.directMemberExperimentContainer.setExpandRatio(rightpnl, 7.0f);
}