List of usage examples for com.vaadin.client VCaptionWrapper updateCaption
public void updateCaption()
From source file:com.haulmont.cuba.web.widgets.client.addons.popupbutton.PopupButtonConnector.java
License:Apache License
public void updateCaption(ComponentConnector component) { if (VCaption.isNeeded(component)) { if (getWidget().popup.getCaptionWrapper() != null) { getWidget().popup.getCaptionWrapper().updateCaption(); } else {//from w ww . j a va2 s .com VCaptionWrapper captionWrapper = new VCaptionWrapper(component, getConnection()); getWidget().popup.setWidget(captionWrapper); captionWrapper.updateCaption(); } } else { if (getWidget().popup.getCaptionWrapper() != null) { getWidget().popup .setWidget(getWidget().popup.getCaptionWrapper().getWrappedConnector().getWidget()); } } }