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.cfcrm.v2_0.CFCrmSwing.CFCrmSwingMemoEltJTabbedPane.java

public CFCrmSwingMemoEltJTabbedPane(ICFCrmSwingSchema argSchema, ICFCrmMemoObj 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  a va 2s.c o  m
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsMemo(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsMemoTagList, getTabViewComponentsMemoTagListJPanel());
    swingIsInitializing = false;
}

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

public CFCrmSwingTldEltJTabbedPane(ICFCrmSwingSchema argSchema, ICFCrmTldObj 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 om*/
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsTld(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsTopDomainList, getTabViewComponentsTopDomainListJPanel());
    swingIsInitializing = false;
}

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

public CFCrmSwingAddressEltJTabbedPane(ICFCrmSwingSchema argSchema, ICFCrmAddressObj 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  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;
    setSwingFocusAsAddress(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsTagList, getTabViewComponentsTagListJPanel());
    swingIsInitializing = false;
}

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

public CFCrmSwingPhoneEltJTabbedPane(ICFCrmSwingSchema argSchema, ICFCrmPhoneObj 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  . c  om
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsPhone(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsPhoneTagList, getTabViewComponentsPhoneTagListJPanel());
    swingIsInitializing = false;
}

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

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

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

public CFAsteriskSwingSecFormEltJTabbedPane(ICFAsteriskSwingSchema argSchema, ICFSecuritySecFormObj 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  2s  .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_4.CFAsteriskSwing.CFAsteriskSwingServiceEltJTabbedPane.java

public CFAsteriskSwingServiceEltJTabbedPane(ICFAsteriskSwingSchema argSchema, ICFSecurityServiceObj 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  a  v  a2 s. c om*/
    // 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_4.CFAsteriskSwing.CFAsteriskSwingVersionEltJTabbedPane.java

public CFAsteriskSwingVersionEltJTabbedPane(ICFAsteriskSwingSchema argSchema, ICFInternetVersionObj 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  .  com*/
    // 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.cfcrm.v2_0.CFCrmSwing.CFCrmSwingHostNodeEltJTabbedPane.java

public CFCrmSwingHostNodeEltJTabbedPane(ICFCrmSwingSchema argSchema, ICFCrmHostNodeObj 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  a v  a 2s.  c om
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsHostNode(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsServiceList, getTabViewComponentsServiceListJPanel());
    swingIsInitializing = false;
}

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

public CFCrmSwingAttachmentEltJTabbedPane(ICFCrmSwingSchema argSchema, ICFCrmAttachmentObj 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 . com
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocusAsAttachment(argFocus);
    // Wire the newly constructed JPanels/Tabs to this JTabbedPane
    addTab(LABEL_TabComponentsTagList, getTabViewComponentsTagListJPanel());
    swingIsInitializing = false;
}