public class UITabbedLayout extends com.vaadin.ui.TabSheet implements UIRefreshHandler, UIComponentListeningOnRefresh, com.vaadin.ui.TabSheet.SelectedTabChangeListener, UIComponentWithHints2
com.vaadin.ui.TabSheet.CloseHandler, com.vaadin.ui.TabSheet.SelectedTabChangeEvent, com.vaadin.ui.TabSheet.SelectedTabChangeListener, com.vaadin.ui.TabSheet.Tab, com.vaadin.ui.TabSheet.TabsheetServerRpcImpl, com.vaadin.ui.TabSheet.TabSheetTabImpl
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Constructor and Description |
---|
UITabbedLayout(UIComponentData componentData) |
Modifier and Type | Method and Description |
---|---|
void |
addTab(Variant.RecordVariant tabRecord)
INTERNAL API, DO NOT CALL.
|
boolean |
applyHint(String hintName,
Variant<Object> newValue,
Variant<Object> oldValue)
Applies the given hint to this component.
|
UIComponentData |
getComponentData()
Returns the component definition (LSPS RecordHolder instance which is
subtype of "ui::Component") associated with this Vaadin component.
|
Set<UIComponent> |
getRefreshedComponents() |
UIComponent |
getSelectedTabContent()
Returns the content of the selected tab.
|
List<Variant.RecordVariant> |
getTabs()
Returns all tabs, both dynamic and static ones, currently registered to this layout.
|
com.vaadin.ui.AbstractComponent |
getWidget()
Returns the Vaadin widget which implements the UI part of this component.
|
void |
initChildren(boolean isFirstLoad)
Should initialize all visible child components.
|
void |
onChildRefresh(UIComponent child)
Invoked when a child UI component is refreshed, or when this method is called on child.
|
void |
refresh()
This method is called from LSPS rendering engine.
|
void |
registerChildren()
Should register all child components in the screen.
|
void |
removeTab(Variant.RecordVariant tabRecord)
INTERNAL API, DO NOT CALL.
|
void |
selectedTabChange(com.vaadin.ui.TabSheet.SelectedTabChangeEvent event) |
void |
selectTab(Variant.RecordVariant tabRecord)
INTERNAL API, DO NOT CALL.
|
String |
toString() |
boolean |
unapplyHint(String hintName,
Variant<Object> oldValue)
The hint has been removed from the hint map.
|
void |
unregisterChildren()
Should unregister all child components in the screen.
|
addBlurListener, addComponent, addFocusListener, addListener, addListener, addListener, addSelectedTabChangeListener, addTab, addTab, addTab, addTab, addTab, areTabsHidden, fireSelectedTabChange, focus, getComponentCount, getCustomAttributes, getSelectedTab, getState, getState, getTab, getTab, getTabIndex, getTabPosition, hideTabs, isRendered, isTabCaptionsAsHtml, isTabsVisible, iterator, moveComponentsFrom, readDesign, removeBlurListener, removeComponent, removeFocusListener, removeListener, removeListener, removeListener, removeSelectedTabChangeListener, removeTab, replaceComponent, selectedTabIndexAfterTabRemove, setCloseHandler, setSelectedTab, setSelectedTab, setSelectedTab, setTabCaptionsAsHtml, setTabIndex, setTabPosition, setTabsVisible, writeDesign
addComponentAttachListener, addComponentDetachListener, addComponents, addListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, removeListener, removeListener, setHeight, setWidth
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getExplicitImmediateValue, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setVisible, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
forEach, spliterator
public UITabbedLayout(UIComponentData componentData)
componentData
- public List<Variant.RecordVariant> getTabs()
public void addTab(Variant.RecordVariant tabRecord)
tabRecord
- public void removeTab(Variant.RecordVariant tabRecord)
tabRecord
- public void selectTab(Variant.RecordVariant tabRecord)
tabRecord
- public void registerChildren()
UIRefreshHandler
UIScreen.registerUIComponent(UIComponent)
.registerChildren
in interface UIRefreshHandler
public void unregisterChildren()
UIRefreshHandler
UIScreen.unregisterUIComponent(UIComponent)
.unregisterChildren
in interface UIRefreshHandler
public void refresh()
UIComponent
UIComponentData.getHints()
.refresh
in interface UIComponent
public Set<UIComponent> getRefreshedComponents()
getRefreshedComponents
in interface UIRefreshHandler
public void selectedTabChange(com.vaadin.ui.TabSheet.SelectedTabChangeEvent event)
selectedTabChange
in interface com.vaadin.ui.TabSheet.SelectedTabChangeListener
public void initChildren(boolean isFirstLoad)
UIRefreshHandler
UIComponents.initChildren(java.util.List, boolean)
.initChildren
in interface UIRefreshHandler
isFirstLoad
- value of field UIFieldNames.IS_FIRST_LOAD
of the created init eventpublic void onChildRefresh(UIComponent child)
UIComponentListeningOnRefresh
onChildRefresh
in interface UIComponentListeningOnRefresh
public UIComponent getSelectedTabContent()
public UIComponentData getComponentData()
UIComponent
getComponentData
in interface UIComponent
public boolean applyHint(String hintName, Variant<Object> newValue, Variant<Object> oldValue)
UIComponentWithHints2
applyHint
in interface UIComponentWithHints2
hintName
- the hint name, not null.newValue
- variant containing the new hint value, never null, may contain null value.oldValue
- variant containing the previous hint value, never null, may contain null value if the hint was missing or the old value was null.public boolean unapplyHint(String hintName, Variant<Object> oldValue)
UIComponentWithHints2
unapplyHint
in interface UIComponentWithHints2
hintName
- the the hint name, not null.oldValue
- variant containing the previous hint value, never null, may contain null value if the old value was null.public com.vaadin.ui.AbstractComponent getWidget()
UIComponent
getWidget
in interface UIComponent
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.