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.cffreeswitch.v2_0.CFFswSwing.CFFswSwingServiceEltJTabbedPane.java

public CFFswSwingServiceEltJTabbedPane(ICFFswSwingSchema argSchema, ICFFswServiceObj 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  av  a 2  s .  co  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.cffreeswitch.v2_0.CFFswSwing.CFFswSwingVersionEltJTabbedPane.java

public CFFswSwingVersionEltJTabbedPane(ICFFswSwingSchema argSchema, ICFFswVersionObj 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.  ja va2s . c om
    // 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.cfacc.v2_0.CFAccSwing.CFAccSwingMimeTypeEltJTabbedPane.java

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

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

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

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

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

From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_1.CFFswSwing.CFFswSwingSecDeviceEltJTabbedPane.java

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

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

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

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_1.CFAstSwing.CFAstSwingSecDeviceEltJTabbedPane.java

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

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

public CFCrmSwingContactEltJTabbedPane(ICFCrmSwingSchema argSchema, ICFCrmContactObj 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 .co m
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsContact(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsTagList, getTabViewComponentsTagListJPanel());
    addTab(LABEL_TabComponentsAddressList, getTabViewComponentsAddressListJPanel());
    addTab(LABEL_TabComponentsPhoneList, getTabViewComponentsPhoneListJPanel());
    addTab(LABEL_TabComponentsContactURLList, getTabViewComponentsContactURLListJPanel());
    addTab(LABEL_TabComponentsMemoList, getTabViewComponentsMemoListJPanel());
    swingIsInitializing = false;
}

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

public CFEnSyntaxSwingEnHeadEltJTabbedPane(ICFEnSyntaxSwingSchema argSchema, ICFEnSyntaxEnHeadObj 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 av a2s .  c om
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsEnHead(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    swingIsInitializing = false;
}