List of usage examples for com.vaadin.ui Button setParent
@Override public void setParent(HasComponents parent)
From source file:org.vaadin.hene.splitbutton.SplitButton.java
License:Apache License
/** * This is not a part of the official API of SplitButton, just for testing * purposes.// w w w . j a v a 2 s .c o m */ protected SplitButton(Button button, PopupButton popupButton) { this.button = button; button.setParent(this); button.addListener(this); this.popupButton = popupButton; popupButton.setHeight("100%"); // TODO // popupButton.setPopupPositionPaintable(this); popupButton.setParent(this); popupButton.addPopupVisibilityListener(this); }