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.cfinternet.v2_0.CFInternetSwing.CFInternetSwingSecUserEltJTabbedPane.java

public CFInternetSwingSecUserEltJTabbedPane(ICFInternetSwingSchema argSchema, ICFInternetSecUserObj 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 .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_TabComponentsSecSessList, getTabViewComponentsSecSessListJPanel());
    addTab(LABEL_TabChildrenSecGroupMemberList, getTabViewChildrenSecGroupMemberListJPanel());
    addTab(LABEL_TabChildrenTSecGroupMemberList, getTabViewChildrenTSecGroupMemberListJPanel());
    swingIsInitializing = false;
}

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

public CFFreeSwitchSwingPbxIvrMenuEltJTabbedPane(ICFFreeSwitchSwingSchema argSchema,
        ICFFreeSwitchPbxIvrMenuObj 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 a v a2s  .c o m
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsPbxIvrMenu(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsEntryList, getTabViewComponentsEntryListJPanel());
    swingIsInitializing = false;
}

From source file:net.sourceforge.msscodefactory.cfcrm.v2_0.CFCrmSwing.CFCrmSwingClusterEltJTabbedPane.java

public CFCrmSwingClusterEltJTabbedPane(ICFCrmSwingSchema argSchema, ICFCrmClusterObj 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  2 s. c om*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsCluster(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsHostNodeList, getTabViewComponentsHostNodeListJPanel());
    addTab(LABEL_TabComponentsTenantList, getTabViewComponentsTenantListJPanel());
    addTab(LABEL_TabComponentsSecAppList, getTabViewComponentsSecAppListJPanel());
    addTab(LABEL_TabComponentsSecGroupList, getTabViewComponentsSecGroupListJPanel());
    swingIsInitializing = false;
}

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

public CFAsteriskSwingTenantEltJTabbedPane(ICFAsteriskSwingSchema argSchema, ICFSecurityTenantObj 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  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;
}

From source file:net.sourceforge.msscodefactory.cfcrm.v2_0.CFCrmSwing.CFCrmSwingSecGroupEltJTabbedPane.java

public CFCrmSwingSecGroupEltJTabbedPane(ICFCrmSwingSchema argSchema, ICFCrmSecGroupObj 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 .  ja  va 2s . c o  m
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsSecGroup(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsIncludeList, getTabViewComponentsIncludeListJPanel());
    addTab(LABEL_TabComponentsMemberList, getTabViewComponentsMemberListJPanel());
    addTab(LABEL_TabChildrenIncByGroupList, getTabViewChildrenIncByGroupListJPanel());
    addTab(LABEL_TabComponentsFormList, getTabViewComponentsFormListJPanel());
    swingIsInitializing = false;
}

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

public CFAsteriskSwingTSecGroupEltJTabbedPane(ICFAsteriskSwingSchema argSchema,
        ICFSecurityTSecGroupObj 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   www . j a va  2 s . co m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsTSecGroup(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsIncludeList, getTabViewComponentsIncludeListJPanel());
    addTab(LABEL_TabComponentsMemberList, getTabViewComponentsMemberListJPanel());
    addTab(LABEL_TabChildrenIncByGroupList, getTabViewChildrenIncByGroupListJPanel());
    swingIsInitializing = false;
}

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

public CFFreeSwitchSwingFSSFDirectoryEltJTabbedPane(ICFFreeSwitchSwingSchema argSchema,
        ICFFreeSwitchFSSFDirectoryObj 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  va 2s. co  m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsFSSFDirectory(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsExtensionList, getTabViewComponentsExtensionListJPanel());
    swingIsInitializing = false;
}

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

public CFFreeSwitchSwingFSSFConferenceEltJTabbedPane(ICFFreeSwitchSwingSchema argSchema,
        ICFFreeSwitchFSSFConferenceObj 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 ww  .  jav  a  2 s . c  o  m
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsFSSFConference(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsProfileList, getTabViewComponentsProfileListJPanel());
    swingIsInitializing = false;
}

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

public CFFreeSwitchSwingTSecGroupEltJTabbedPane(ICFFreeSwitchSwingSchema argSchema,
        ICFSecurityTSecGroupObj 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  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;
    setSwingFocusAsTSecGroup(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsIncludeList, getTabViewComponentsIncludeListJPanel());
    addTab(LABEL_TabComponentsMemberList, getTabViewComponentsMemberListJPanel());
    addTab(LABEL_TabChildrenIncByGroupList, getTabViewChildrenIncByGroupListJPanel());
    swingIsInitializing = false;
}

From source file:net.sourceforge.msscodefactory.cfinternet.v2_0.CFInternetSwing.CFInternetSwingClusterEltJTabbedPane.java

public CFInternetSwingClusterEltJTabbedPane(ICFInternetSwingSchema argSchema, ICFInternetClusterObj 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  .co m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsCluster(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsHostNodeList, getTabViewComponentsHostNodeListJPanel());
    addTab(LABEL_TabComponentsTenantList, getTabViewComponentsTenantListJPanel());
    addTab(LABEL_TabComponentsSecAppList, getTabViewComponentsSecAppListJPanel());
    addTab(LABEL_TabComponentsSecGroupList, getTabViewComponentsSecGroupListJPanel());
    swingIsInitializing = false;
}