com.vaadin.client.ui
Class VAccordion.StackItem
java.lang.Object
ComplexPanel
com.vaadin.client.ui.VAccordion.StackItem
- Enclosing class:
- VAccordion
public class VAccordion.StackItem
- extends ComplexPanel
A StackItem has always two children, Child 0 is a VCaption, Child 1 is
the actual child widget.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VAccordion.StackItem
public VAccordion.StackItem()
setHeight
public void setHeight(int height)
setId
public void setId(java.lang.String newId)
getComponent
public Widget getComponent()
setVisible
public void setVisible(boolean visible)
setHeightFromWidget
public void setHeightFromWidget()
getCaptionWidth
public int getCaptionWidth()
- Returns caption width including padding
- Returns:
setWidth
public void setWidth(int width)
getHeight
public int getHeight()
getCaptionHeight
public int getCaptionHeight()
onBrowserEvent
public void onBrowserEvent(Event event)
getContainerElement
public com.google.gwt.user.client.Element getContainerElement()
getChildWidget
public Widget getChildWidget()
replaceWidget
public void replaceWidget(Widget newWidget)
open
public void open()
hide
public void hide()
close
public void close()
isOpen
public boolean isOpen()
setContent
public void setContent(Widget newWidget)
- Updates the content of the open tab of the accordion.
This method is mostly for internal use and may change in future
versions.
- Parameters:
newWidget - new content- Since:
- 7.2
onClick
public void onClick(ClickEvent event)
updateCaption
public void updateCaption(com.vaadin.shared.ui.tabsheet.TabState tabState)
getWidgetWidth
public int getWidgetWidth()
contains
public boolean contains(ComponentConnector p)
isCaptionVisible
public boolean isCaptionVisible()
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.