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.cfacc.v2_0.CFAccSwing.CFAccSwingContactListEltJTabbedPane.java

public CFAccSwingContactListEltJTabbedPane(ICFAccSwingSchema argSchema, ICFAccContactListObj 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  a  2 s  .c  om*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsContactList(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsContactList, getTabViewComponentsContactListJPanel());
    addTab(LABEL_TabChildrenAccContList, getTabViewChildrenAccContListJPanel());
    swingIsInitializing = false;
}

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

public CFFswSwingTopDomainEltJTabbedPane(ICFFswSwingSchema argSchema, ICFFswTopDomainObj 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 .  java  2 s. c  o  m*/
    // 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.cfacc.v2_0.CFAccSwing.CFAccSwingTopProjectEltJTabbedPane.java

public CFAccSwingTopProjectEltJTabbedPane(ICFAccSwingSchema argSchema, ICFAccTopProjectObj 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");
    }/* ww  w.ja  v  a  2s .  c  o m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsTopProject(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsMajorVersionList, getTabViewComponentsMajorVersionListJPanel());
    addTab(LABEL_TabComponentsSubProjectList, getTabViewComponentsSubProjectListJPanel());
    swingIsInitializing = false;
}

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

public CFAstSwingTopProjectEltJTabbedPane(ICFAstSwingSchema argSchema, ICFAstTopProjectObj 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  av a 2s.  com*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsTopProject(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsMajorVersionList, getTabViewComponentsMajorVersionListJPanel());
    addTab(LABEL_TabComponentsSubProjectList, getTabViewComponentsSubProjectListJPanel());
    swingIsInitializing = false;
}

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

public CFFswSwingTopProjectEltJTabbedPane(ICFFswSwingSchema argSchema, ICFFswTopProjectObj 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 ww  . j  av  a  2  s . c o m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsTopProject(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsMajorVersionList, getTabViewComponentsMajorVersionListJPanel());
    addTab(LABEL_TabComponentsSubProjectList, getTabViewComponentsSubProjectListJPanel());
    swingIsInitializing = false;
}

From source file:net.sourceforge.msscodefactory.cfensyntax.v2_1.CFEnSyntaxSwing.CFEnSyntaxSwingISOCountryEltJTabbedPane.java

public CFEnSyntaxSwingISOCountryEltJTabbedPane(ICFEnSyntaxSwingSchema argSchema,
        ICFEnSyntaxISOCountryObj 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  .  java 2  s.  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.cfgcash.v2_0.CFGCashSwing.CFGCashSwingContactListEltJTabbedPane.java

public CFGCashSwingContactListEltJTabbedPane(ICFGCashSwingSchema argSchema, ICFGCashContactListObj 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");
    }// ww w  . j  a  v  a  2s. c  o m
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsContactList(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsContactList, getTabViewComponentsContactListJPanel());
    addTab(LABEL_TabChildrenAccContList, getTabViewChildrenAccContListJPanel());
    swingIsInitializing = false;
}

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

public CFGCashSwingTopDomainEltJTabbedPane(ICFGCashSwingSchema argSchema, ICFGCashTopDomainObj 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  ww .j  a va 2s  .co m*/
    // 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.cfgcash.v2_0.CFGCashSwing.CFGCashSwingTopProjectEltJTabbedPane.java

public CFGCashSwingTopProjectEltJTabbedPane(ICFGCashSwingSchema argSchema, ICFGCashTopProjectObj 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;
    setSwingFocusAsTopProject(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsMajorVersionList, getTabViewComponentsMajorVersionListJPanel());
    addTab(LABEL_TabComponentsSubProjectList, getTabViewComponentsSubProjectListJPanel());
    swingIsInitializing = false;
}

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

public CFAstSwingTenantEltJTabbedPane(ICFAstSwingSchema argSchema, ICFAstTenantObj 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  .j  ava2  s .  c  o  m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsTenant(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsTSecGroupList, getTabViewComponentsTSecGroupListJPanel());
    addTab(LABEL_TabComponentsDomainBaseList, getTabViewComponentsDomainBaseListJPanel());
    addTab(LABEL_TabComponentsTLDList, getTabViewComponentsTLDListJPanel());
    swingIsInitializing = false;
}