Package org.openfaces.component.select

Examples of org.openfaces.component.select.TabSetItems


    }

    public void createSubComponents(FacesContext context) {
        UIComponent tabSet = Components.createChildComponent(context, this, TabSet.COMPONENT_TYPE, TAB_SET_SUFFIX, 0);
        TabSetItems items = new TabSetItems();
        items.setId(getId() + Rendering.SERVER_ID_SUFFIX_SEPARATOR + "tabSetItems");
        tabSet.getChildren().add(items);

        UIComponent mirrorTabSet = Components.createChildComponent(context, this, TabSet.COMPONENT_TYPE, TAB_SET_SUFFIX, 1);
        mirrorTabSet.setId(mirrorTabSet.getId() + MIRROR_TABSET_SUFFIX);
        TabSetItems mirrorItems = new TabSetItems();
        mirrorItems.setId(getId() + Rendering.SERVER_ID_SUFFIX_SEPARATOR + "tabSetItems" + MIRROR_TABSET_SUFFIX);
        mirrorTabSet.getChildren().add(mirrorItems);
    }
View Full Code Here


                else
                    captionComponent.getAttributes().remove(TabSetRenderer.ATTR_CONSIDER_TAB_NON_RENDERED);
            }
            tabs.add(captionComponent);
        }
        TabSetItems items = (TabSetItems) innerTabSet.getChildren().get(0);
        items.setValue(tabs);

        innerTabSet.setGapWidth(tabbedPane.getTabGapWidth());

        TabPlacement tabPlacement = getTabPlacement(tabbedPane);
        boolean verticalPlacement = TabPlacement.LEFT.equals(tabPlacement) || TabPlacement.RIGHT.equals(tabPlacement);
View Full Code Here

TOP

Related Classes of org.openfaces.component.select.TabSetItems

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.