Examples of TabbedPanelProperties


Examples of net.infonode.tabbedpanel.TabbedPanelProperties

        setTabPolicies(addedWindow);
            }

      private void setTabPolicies(final DockingWindow window) {
        if(window instanceof TabWindow){
          TabbedPanelProperties tabbedPanelProperties = ((TabWindow)window).getTabWindowProperties().getTabbedPanelProperties();
          if(! tabbedPanelProperties.getTabLayoutPolicy().equals(TabLayoutPolicy.COMPRESSION))
            tabbedPanelProperties.setTabLayoutPolicy(TabLayoutPolicy.COMPRESSION);
          if(! tabbedPanelProperties.getTabDropDownListVisiblePolicy().equals(TabDropDownListVisiblePolicy.MORE_THAN_ONE_TAB))
            tabbedPanelProperties.setTabDropDownListVisiblePolicy(TabDropDownListVisiblePolicy.MORE_THAN_ONE_TAB);
        }
        for(int i = 0; i < window.getChildWindowCount(); i++){
          setTabPolicies(window.getChildWindow(i));
        }
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.