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

public CFInternetSwingSecGroupEltJTabbedPane(ICFInternetSwingSchema argSchema,
        ICFInternetSecGroupObj 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  ava2s.  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;
}

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

public CFAccSwingMemoTagEltJTabbedPane(ICFAccSwingSchema argSchema, ICFAccMemoTagObj 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  ava2s. co  m
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsMemoTag(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    swingIsInitializing = false;
}

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

public CFAccSwingSecFormEltJTabbedPane(ICFAccSwingSchema argSchema, ICFAccSecFormObj 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 v a  2 s  . co  m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsSecForm(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    swingIsInitializing = false;
}

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

public CFAccSwingServiceEltJTabbedPane(ICFAccSwingSchema argSchema, ICFAccServiceObj 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  va2  s. c o m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsService(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    swingIsInitializing = false;
}

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

public CFAccSwingVersionEltJTabbedPane(ICFAccSwingSchema argSchema, ICFAccVersionObj 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  av  a  2 s .co m
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsVersion(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    swingIsInitializing = false;
}

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

public CFAstSwingSecFormEltJTabbedPane(ICFAstSwingSchema argSchema, ICFAstSecFormObj 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 av  a2 s  .c o  m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsSecForm(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    swingIsInitializing = false;
}

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

public CFAstSwingServiceEltJTabbedPane(ICFAstSwingSchema argSchema, ICFAstServiceObj 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 2s.c  o m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsService(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    swingIsInitializing = false;
}

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

public CFAstSwingSipConfEltJTabbedPane(ICFAstSwingSchema argSchema, ICFAstSipConfObj 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 a2 s.  c o m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsSipConf(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    swingIsInitializing = false;
}

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

public CFAstSwingVersionEltJTabbedPane(ICFAstSwingSchema argSchema, ICFAstVersionObj 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  ava 2  s  . c o m*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsVersion(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    swingIsInitializing = false;
}

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

public CFFswSwingSecFormEltJTabbedPane(ICFFswSwingSchema argSchema, ICFFswSecFormObj 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 .  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;
    setSwingFocusAsSecForm(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    swingIsInitializing = false;
}