Class TabSheet

Tabsheet component.

TabSheet()

Construct new Tabsheet. Tabsheet is immediate by default.

addComponent(Component)

Parameters

c

The component to be added.

Add a component into this container. The component is added as a tab where its default tab-caption is the caption of the component.

addListener(TabSheet.SelectedTabChangeListener)

Parameters

listener

Listener to be added.

Add selected tab change listener

addTab(Component, String, Resource)

Parameters

c

The component to be added onto tab.

caption

The caption of the tab.

icon

Set the icon of the tab.

Add a new tab into TabSheet.

areTabsHidden()

Parameters

return

Property visibility

Are tabs hidden.

changeVariables(Object, Map)

Parameters

event

Variable change event containing the information about the changed variable.

Invoked when the value of a variable has changed.

getComponentIterator()

Parameters

return

Iterator of the components inside the container.

Get component container iterator for going trough all the components in the container.

getSelectedTab()

Get the selected tab

getTabCaption(Component)

Get the caption for a component

getTabIcon(Component)

Get the icon for a component

getTag()

Parameters

return

Component UIDL tag as string.

Get component UIDL tag.

hideTabs(boolean)

Parameters

tabsHidden

True if the tabs should be hidden.

Setter for property tabsHidden.

moveComponentsFrom(ComponentContainer)

Parameters

source

The container components are removed from.

Move all components from another container to this container. The components are removed from the other container.

paintContent(PaintTarget)

Parameters

event

PaintEvent.

Exceptions

PaintException

The paint operation failed.

Paint the content of this component.

removeComponent(Component)

Parameters

c

The component to be removed.

Remove a component from this container.

removeListener(TabSheet.SelectedTabChangeListener)

Parameters

listener

Listener to be removed.

Remove selected tab change listener

setSelectedTab(Component)

Set the selected tab

setTabCaption(Component, String)

Set the caption for a component

setTabIcon(Component, Resource)

Set the icon for a component