Example usage for javax.swing JTabbedPane WRAP_TAB_LAYOUT

List of usage examples for javax.swing JTabbedPane WRAP_TAB_LAYOUT

Introduction

In this page you can find the example usage for javax.swing JTabbedPane WRAP_TAB_LAYOUT.

Prototype

int WRAP_TAB_LAYOUT

To view the source code for javax.swing JTabbedPane WRAP_TAB_LAYOUT.

Click Source Link

Document

The tab layout policy for wrapping tabs in multiple runs when all tabs will not fit within a single run.

Usage

From source file:net.sourceforge.msscodefactory.cfgcash.v2_0.CFGCashSwing.CFGCashSwingMajorVersionEltJTabbedPane.java

public CFGCashSwingMajorVersionEltJTabbedPane(ICFGCashSwingSchema argSchema, ICFGCashMajorVersionObj argFocus) {
    super(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT);
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }/*from  ww  w  .  j a  v a 2 s  .  c o m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsMajorVersion(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsMinorVersionList, getTabViewComponentsMinorVersionListJPanel());
    swingIsInitializing = false;
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskSwing.CFAsteriskSwingSecUserEltJTabbedPane.java

public CFAsteriskSwingSecUserEltJTabbedPane(ICFAsteriskSwingSchema argSchema, ICFSecuritySecUserObj argFocus) {
    super(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT);
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }//www. ja va 2  s.c  o  m
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsSecUser(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsSecDevList, getTabViewComponentsSecDevListJPanel());
    addTab(LABEL_TabComponentsSecSessList, getTabViewComponentsSecSessListJPanel());
    addTab(LABEL_TabChildrenSecProxyList, getTabViewChildrenSecProxyListJPanel());
    addTab(LABEL_TabChildrenSecGroupMemberList, getTabViewChildrenSecGroupMemberListJPanel());
    addTab(LABEL_TabChildrenTSecGroupMemberList, getTabViewChildrenTSecGroupMemberListJPanel());
    swingIsInitializing = false;
}

From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_4.CFFreeSwitchSwing.CFFreeSwitchSwingSecUserEltJTabbedPane.java

public CFFreeSwitchSwingSecUserEltJTabbedPane(ICFFreeSwitchSwingSchema argSchema,
        ICFSecuritySecUserObj argFocus) {
    super(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT);
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }//from  w  w w.  j  a va2 s .  c  om
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsSecUser(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsSecDevList, getTabViewComponentsSecDevListJPanel());
    addTab(LABEL_TabComponentsSecSessList, getTabViewComponentsSecSessListJPanel());
    addTab(LABEL_TabChildrenSecProxyList, getTabViewChildrenSecProxyListJPanel());
    addTab(LABEL_TabChildrenSecGroupMemberList, getTabViewChildrenSecGroupMemberListJPanel());
    addTab(LABEL_TabChildrenTSecGroupMemberList, getTabViewChildrenTSecGroupMemberListJPanel());
    swingIsInitializing = false;
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_0.CFAstSwing.CFAstSwingHostNodeEltJTabbedPane.java

public CFAstSwingHostNodeEltJTabbedPane(ICFAstSwingSchema argSchema, ICFAstHostNodeObj argFocus) {
    super(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT);
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }//www. j  av  a  2  s  . com
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsHostNode(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsServiceList, getTabViewComponentsServiceListJPanel());
    addTab(LABEL_TabComponentsConfFileList, getTabViewComponentsConfFileListJPanel());
    swingIsInitializing = false;
}

From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccSwing.CFAccSwingISOCountryEltJTabbedPane.java

public CFAccSwingISOCountryEltJTabbedPane(ICFAccSwingSchema argSchema, ICFAccISOCountryObj argFocus) {
    super(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT);
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }/*from ww w.ja v a2s.c  o  m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsISOCountry(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsCurrencyList, getTabViewComponentsCurrencyListJPanel());
    addTab(LABEL_TabComponentsLanguageList, getTabViewComponentsLanguageListJPanel());
    swingIsInitializing = false;
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_0.CFAstSwing.CFAstSwingISOCountryEltJTabbedPane.java

public CFAstSwingISOCountryEltJTabbedPane(ICFAstSwingSchema argSchema, ICFAstISOCountryObj argFocus) {
    super(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT);
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }/*from  w  w  w  .j  a  v a2  s. co  m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsISOCountry(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsCurrencyList, getTabViewComponentsCurrencyListJPanel());
    addTab(LABEL_TabComponentsLanguageList, getTabViewComponentsLanguageListJPanel());
    swingIsInitializing = false;
}

From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_0.CFFswSwing.CFFswSwingISOCountryEltJTabbedPane.java

public CFFswSwingISOCountryEltJTabbedPane(ICFFswSwingSchema argSchema, ICFFswISOCountryObj argFocus) {
    super(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT);
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }//from  w  w w  .  j  a va2 s  . com
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsISOCountry(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsCurrencyList, getTabViewComponentsCurrencyListJPanel());
    addTab(LABEL_TabComponentsLanguageList, getTabViewComponentsLanguageListJPanel());
    swingIsInitializing = false;
}

From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_0.CFFswSwing.CFFswSwingFSSFProfileEltJTabbedPane.java

public CFFswSwingFSSFProfileEltJTabbedPane(ICFFswSwingSchema argSchema, ICFFswFSSFProfileObj argFocus) {
    super(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT);
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }/*from  ww w.j a  v a  2 s .co  m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsFSSFProfile(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsDomainList, getTabViewComponentsDomainListJPanel());
    addTab(LABEL_TabComponentsAliasList, getTabViewComponentsAliasListJPanel());
    swingIsInitializing = false;
}

From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccSwing.CFAccSwingTopDomainEltJTabbedPane.java

public CFAccSwingTopDomainEltJTabbedPane(ICFAccSwingSchema argSchema, ICFAccTopDomainObj argFocus) {
    super(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT);
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }//from  ww  w.j  ava2  s  .c  om
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsTopDomain(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsSubDomainList, getTabViewComponentsSubDomainListJPanel());
    addTab(LABEL_TabComponentsTopProjectList, getTabViewComponentsTopProjectListJPanel());
    swingIsInitializing = false;
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_0.CFAstSwing.CFAstSwingTopDomainEltJTabbedPane.java

public CFAstSwingTopDomainEltJTabbedPane(ICFAstSwingSchema argSchema, ICFAstTopDomainObj argFocus) {
    super(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT);
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }/*w  w w. ja va 2s  .c  om*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsTopDomain(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsSubDomainList, getTabViewComponentsSubDomainListJPanel());
    addTab(LABEL_TabComponentsTopProjectList, getTabViewComponentsTopProjectListJPanel());
    swingIsInitializing = false;
}