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.CFGCashSwingSecUserEltJTabbedPane.java

public CFGCashSwingSecUserEltJTabbedPane(ICFGCashSwingSchema argSchema, ICFGCashSecUserObj 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 .  com*/
    // 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.cfacc.v2_0.CFAccSwing.CFAccSwingClusterEltJTabbedPane.java

public CFAccSwingClusterEltJTabbedPane(ICFAccSwingSchema argSchema, ICFAccClusterObj 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  a2  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_0.CFAstSwing.CFAstSwingClusterEltJTabbedPane.java

public CFAstSwingClusterEltJTabbedPane(ICFAstSwingSchema argSchema, ICFAstClusterObj 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;
    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.cffreeswitch.v2_0.CFFswSwing.CFFswSwingClusterEltJTabbedPane.java

public CFFswSwingClusterEltJTabbedPane(ICFFswSwingSchema argSchema, ICFFswClusterObj 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 .  java 2 s .  c o 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;
}

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

public CFAccSwingSecGroupEltJTabbedPane(ICFAccSwingSchema argSchema, ICFAccSecGroupObj 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  va2  s.  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_0.CFAstSwing.CFAstSwingSecGroupEltJTabbedPane.java

public CFAstSwingSecGroupEltJTabbedPane(ICFAstSwingSchema argSchema, ICFAstSecGroupObj 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.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;
    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.cffreeswitch.v2_0.CFFswSwing.CFFswSwingSecGroupEltJTabbedPane.java

public CFFswSwingSecGroupEltJTabbedPane(ICFFswSwingSchema argSchema, ICFFswSecGroupObj 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  .  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;
    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.cfensyntax.v2_1.CFEnSyntaxSwing.CFEnSyntaxSwingClusterEltJTabbedPane.java

public CFEnSyntaxSwingClusterEltJTabbedPane(ICFEnSyntaxSwingSchema argSchema, ICFEnSyntaxClusterObj 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 v a  2  s  .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;
}

From source file:net.sourceforge.msscodefactory.cfensyntax.v2_2.CFEnSyntaxSwing.CFEnSyntaxSwingSecGroupEltJTabbedPane.java

public CFEnSyntaxSwingSecGroupEltJTabbedPane(ICFEnSyntaxSwingSchema argSchema,
        ICFEnSyntaxSecGroupObj 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  2  s .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.cfgcash.v2_0.CFGCashSwing.CFGCashSwingSecGroupEltJTabbedPane.java

public CFGCashSwingSecGroupEltJTabbedPane(ICFGCashSwingSchema argSchema, ICFGCashSecGroupObj 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 om
    // 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;
}