List of usage examples for org.apache.wicket.extensions.markup.html.tabs TabbedPanel add
public MarkupContainer add(final Component... children)
From source file:org.eknet.wicket.commons.components.tab.TabPanelBuilder.java
License:Open Source License
@NotNull @Override//from w ww. j a va 2s . co m public TabbedPanel get(@NotNull String id) { TabbedPanel panel; if (ajax) { panel = new StyledAjaxTabbedPanel(id, tabs, style); } else { panel = new StyledTabbedPanel(id, tabs, style); } if (addtionalCssClasses != null) { panel.add(new AttributeAppender("class", addtionalCssClasses)); } if (styleCss != null) { panel.add(new AttributeModifier("style", styleCss)); } return panel; }