List of usage examples for javax.swing JTabbedPane WRAP_TAB_LAYOUT
int WRAP_TAB_LAYOUT
To view the source code for javax.swing JTabbedPane WRAP_TAB_LAYOUT.
Click Source Link
From source file:net.sourceforge.msscodefactory.cfgcash.v2_0.CFGCashSwing.CFGCashSwingTSecGroupIncludeEltJTabbedPane.java
public CFGCashSwingTSecGroupIncludeEltJTabbedPane(ICFGCashSwingSchema argSchema, ICFGCashTSecGroupIncludeObj 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; setSwingFocusAsTSecGroupInclude(argFocus); // Wire the newly constructed JPanels/Tabs to this JTabbedPane swingIsInitializing = false; }
From source file:net.sourceforge.msscodefactory.cfgcash.v2_0.CFGCashSwing.CFGCashSwingISOCountryCurrencyEltJTabbedPane.java
public CFGCashSwingISOCountryCurrencyEltJTabbedPane(ICFGCashSwingSchema argSchema, ICFGCashISOCountryCurrencyObj 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 2s .c o m // argFocus is optional; focus may be set later during execution as // conditions of the runtime change. swingSchema = argSchema; setSwingFocusAsISOCountryCurrency(argFocus); // Wire the newly constructed JPanels/Tabs to this JTabbedPane swingIsInitializing = false; }
From source file:net.sourceforge.msscodefactory.cfgcash.v2_0.CFGCashSwing.CFGCashSwingISOCountryLanguageEltJTabbedPane.java
public CFGCashSwingISOCountryLanguageEltJTabbedPane(ICFGCashSwingSchema argSchema, ICFGCashISOCountryLanguageObj 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 om // argFocus is optional; focus may be set later during execution as // conditions of the runtime change. swingSchema = argSchema; setSwingFocusAsISOCountryLanguage(argFocus); // Wire the newly constructed JPanels/Tabs to this JTabbedPane swingIsInitializing = false; }
From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_1.CFFswSwing.CFFswSwingTldEltJTabbedPane.java
public CFFswSwingTldEltJTabbedPane(ICFFswSwingSchema argSchema, ICFFswTldObj 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 a2s . c o m // 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:hr.fer.zemris.vhdllab.view.TabbedEditorsView.java
@Override protected JComponent createControl() { CommandManager commandManager = getActiveWindow().getCommandManager(); CommandGroup commandGroup = commandManager.createCommandGroup("editorsMenu", new Object[] { "saveCommand", "saveAllCommand", "separator", "closeCommand", "closeOtherCommand", "closeAllCommand" }); tabbedPane = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabbedPane.setComponentPopupMenu(commandGroup.createPopupMenu()); tabbedPane.addChangeListener(new ChangeListener() { @Override/*from ww w.j a va2 s . com*/ public void stateChanged(ChangeEvent e) { if (!addingTab) { int index = tabbedPane.getSelectedIndex(); container.setSelected(index); } } }); return tabbedPane; }
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccSwing.CFAccSwingMemoEltJTabbedPane.java
public CFAccSwingMemoEltJTabbedPane(ICFAccSwingSchema argSchema, ICFAccMemoObj 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 om*/ // 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.cfacc.v2_0.CFAccSwing.CFAccSwingTldEltJTabbedPane.java
public CFAccSwingTldEltJTabbedPane(ICFAccSwingSchema argSchema, ICFAccTldObj 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 a2s .co m // 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.cfasterisk.v2_0.CFAstSwing.CFAstSwingTldEltJTabbedPane.java
public CFAstSwingTldEltJTabbedPane(ICFAstSwingSchema argSchema, ICFAstTldObj 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 . co m*/ // 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.cfacc.v2_0.CFAccSwing.CFAccSwingAddressEltJTabbedPane.java
public CFAccSwingAddressEltJTabbedPane(ICFAccSwingSchema argSchema, ICFAccAddressObj 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; setSwingFocusAsAddress(argFocus); // Wire the newly constructed JPanels/Tabs to this JTabbedPane addTab(LABEL_TabComponentsTagList, getTabViewComponentsTagListJPanel()); swingIsInitializing = false; }
From source file:net.sourceforge.msscodefactory.cfacc.v2_0.CFAccSwing.CFAccSwingPhoneEltJTabbedPane.java
public CFAccSwingPhoneEltJTabbedPane(ICFAccSwingSchema argSchema, ICFAccPhoneObj 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 a2 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; }