Example usage for javax.swing JSplitPane VERTICAL_SPLIT

List of usage examples for javax.swing JSplitPane VERTICAL_SPLIT

Introduction

In this page you can find the example usage for javax.swing JSplitPane VERTICAL_SPLIT.

Prototype

int VERTICAL_SPLIT

To view the source code for javax.swing JSplitPane VERTICAL_SPLIT.

Click Source Link

Document

Vertical split indicates the Components are split along the y axis.

Usage

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

public CFAsteriskSwingSysClusterViewEditJPanel(ICFAsteriskSwingSchema argSchema,
        ICFSecuritySysClusterObj argFocus) {
    super();//  w  w w .  j  av a 2 s . c  o m
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocus(argFocus);
    setSize(1024, 480);
    splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
    attrJPanel = argSchema.getSysClusterFactory().newAttrJPanel(argFocus);
    attrScrollPane = new CFHSlaveJScrollPane(attrJPanel);
    eltJTabbedPane = argSchema.getSysClusterFactory().newEltJTabbedPane(argFocus);
    splitPane.setTopComponent(attrScrollPane);
    splitPane.setBottomComponent(eltJTabbedPane);
    add(splitPane);
    splitPane.setBounds(0, 0, 1024, 455);
    splitPane.setDividerLocation(200);
    if (getSwingFocus() != null) {
        setPanelMode(CFJPanel.PanelMode.View);
    }
    doLayout();
}

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

public CFAsteriskSwingTopProjectViewEditJPanel(ICFAsteriskSwingSchema argSchema,
        ICFInternetTopProjectObj argFocus) {
    super();//w ww.  jav a  2s .  c  o m
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocus(argFocus);
    setSize(1024, 480);
    splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
    attrJPanel = argSchema.getTopProjectFactory().newAttrJPanel(argFocus);
    attrScrollPane = new CFHSlaveJScrollPane(attrJPanel);
    eltJTabbedPane = argSchema.getTopProjectFactory().newEltJTabbedPane(argFocus);
    splitPane.setTopComponent(attrScrollPane);
    splitPane.setBottomComponent(eltJTabbedPane);
    add(splitPane);
    splitPane.setBounds(0, 0, 1024, 455);
    splitPane.setDividerLocation(200);
    if (getSwingFocus() != null) {
        setPanelMode(CFJPanel.PanelMode.View);
    }
    doLayout();
}

From source file:SplitPaneTest.java

public SplitPaneFrame() {
    setTitle("SplitPaneTest");
    setSize(DEFAULT_WIDTH, DEFAULT_HEIGHT);

    // set up components for planet names, images, descriptions

    final JList planetList = new JList(planets);
    final JLabel planetImage = new JLabel();
    final JTextArea planetDescription = new JTextArea();

    planetList.addListSelectionListener(new ListSelectionListener() {
        public void valueChanged(ListSelectionEvent event) {
            Planet value = (Planet) planetList.getSelectedValue();

            // update image and description

            planetImage.setIcon(value.getImage());
            planetDescription.setText(value.getDescription());
        }/*  www.j av  a  2  s.  c o  m*/
    });

    // set up split panes

    JSplitPane innerPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, planetList, planetImage);

    innerPane.setContinuousLayout(true);
    innerPane.setOneTouchExpandable(true);

    JSplitPane outerPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT, innerPane, planetDescription);

    add(outerPane, BorderLayout.CENTER);
}

From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_4.CFFreeSwitchSwing.CFFreeSwitchSwingSecDeviceViewEditJPanel.java

public CFFreeSwitchSwingSecDeviceViewEditJPanel(ICFFreeSwitchSwingSchema argSchema,
        ICFSecuritySecDeviceObj argFocus) {
    super();//from w  ww  .  j  a v a 2 s.  c om
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocus(argFocus);
    setSize(1024, 480);
    splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
    attrJPanel = argSchema.getSecDeviceFactory().newAttrJPanel(argFocus);
    attrScrollPane = new CFHSlaveJScrollPane(attrJPanel);
    eltJTabbedPane = argSchema.getSecDeviceFactory().newEltJTabbedPane(argFocus);
    splitPane.setTopComponent(attrScrollPane);
    splitPane.setBottomComponent(eltJTabbedPane);
    add(splitPane);
    splitPane.setBounds(0, 0, 1024, 455);
    splitPane.setDividerLocation(200);
    if (getSwingFocus() != null) {
        setPanelMode(CFJPanel.PanelMode.View);
    }
    doLayout();
}

From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_4.CFFreeSwitchSwing.CFFreeSwitchSwingTopDomainViewEditJPanel.java

public CFFreeSwitchSwingTopDomainViewEditJPanel(ICFFreeSwitchSwingSchema argSchema,
        ICFInternetTopDomainObj argFocus) {
    super();/*  w ww . j a  v a  2  s.  co m*/
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocus(argFocus);
    setSize(1024, 480);
    splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
    attrJPanel = argSchema.getTopDomainFactory().newAttrJPanel(argFocus);
    attrScrollPane = new CFHSlaveJScrollPane(attrJPanel);
    eltJTabbedPane = argSchema.getTopDomainFactory().newEltJTabbedPane(argFocus);
    splitPane.setTopComponent(attrScrollPane);
    splitPane.setBottomComponent(eltJTabbedPane);
    add(splitPane);
    splitPane.setBounds(0, 0, 1024, 455);
    splitPane.setDividerLocation(200);
    if (getSwingFocus() != null) {
        setPanelMode(CFJPanel.PanelMode.View);
    }
    doLayout();
}

From source file:net.sourceforge.msscodefactory.cffreeswitch.v2_4.CFFreeSwitchSwing.CFFreeSwitchSwingTSecGroupViewEditJPanel.java

public CFFreeSwitchSwingTSecGroupViewEditJPanel(ICFFreeSwitchSwingSchema argSchema,
        ICFSecurityTSecGroupObj argFocus) {
    super();//www  .java 2 s .  c om
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocus(argFocus);
    setSize(1024, 480);
    splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
    attrJPanel = argSchema.getTSecGroupFactory().newAttrJPanel(argFocus);
    attrScrollPane = new CFHSlaveJScrollPane(attrJPanel);
    eltJTabbedPane = argSchema.getTSecGroupFactory().newEltJTabbedPane(argFocus);
    splitPane.setTopComponent(attrScrollPane);
    splitPane.setBottomComponent(eltJTabbedPane);
    add(splitPane);
    splitPane.setBounds(0, 0, 1024, 455);
    splitPane.setDividerLocation(200);
    if (getSwingFocus() != null) {
        setPanelMode(CFJPanel.PanelMode.View);
    }
    doLayout();
}

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

public CFAsteriskSwingAuditActionViewEditJPanel(ICFAsteriskSwingSchema argSchema,
        ICFSecurityAuditActionObj argFocus) {
    super();//from w w w.  j  av a2  s . c  o  m
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocus(argFocus);
    setSize(1024, 480);
    splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
    attrJPanel = argSchema.getAuditActionFactory().newAttrJPanel(argFocus);
    attrScrollPane = new CFHSlaveJScrollPane(attrJPanel);
    eltJTabbedPane = argSchema.getAuditActionFactory().newEltJTabbedPane(argFocus);
    splitPane.setTopComponent(attrScrollPane);
    splitPane.setBottomComponent(eltJTabbedPane);
    add(splitPane);
    splitPane.setBounds(0, 0, 1024, 455);
    splitPane.setDividerLocation(200);
    if (getSwingFocus() != null) {
        setPanelMode(CFJPanel.PanelMode.View);
    }
    doLayout();
}

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

public CFAsteriskSwingISOCurrencyViewEditJPanel(ICFAsteriskSwingSchema argSchema,
        ICFSecurityISOCurrencyObj argFocus) {
    super();/*from   www  . j  av a2s . c o m*/
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocus(argFocus);
    setSize(1024, 480);
    splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
    attrJPanel = argSchema.getISOCurrencyFactory().newAttrJPanel(argFocus);
    attrScrollPane = new CFHSlaveJScrollPane(attrJPanel);
    eltJTabbedPane = argSchema.getISOCurrencyFactory().newEltJTabbedPane(argFocus);
    splitPane.setTopComponent(attrScrollPane);
    splitPane.setBottomComponent(eltJTabbedPane);
    add(splitPane);
    splitPane.setBounds(0, 0, 1024, 455);
    splitPane.setDividerLocation(200);
    if (getSwingFocus() != null) {
        setPanelMode(CFJPanel.PanelMode.View);
    }
    doLayout();
}

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

public CFAsteriskSwingISOLanguageViewEditJPanel(ICFAsteriskSwingSchema argSchema,
        ICFSecurityISOLanguageObj argFocus) {
    super();//from ww  w . ja  v  a  2s .c o  m
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocus(argFocus);
    setSize(1024, 480);
    splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
    attrJPanel = argSchema.getISOLanguageFactory().newAttrJPanel(argFocus);
    attrScrollPane = new CFHSlaveJScrollPane(attrJPanel);
    eltJTabbedPane = argSchema.getISOLanguageFactory().newEltJTabbedPane(argFocus);
    splitPane.setTopComponent(attrScrollPane);
    splitPane.setBottomComponent(eltJTabbedPane);
    add(splitPane);
    splitPane.setBounds(0, 0, 1024, 455);
    splitPane.setDividerLocation(200);
    if (getSwingFocus() != null) {
        setPanelMode(CFJPanel.PanelMode.View);
    }
    doLayout();
}

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

public CFAsteriskSwingISOTimezoneViewEditJPanel(ICFAsteriskSwingSchema argSchema,
        ICFSecurityISOTimezoneObj argFocus) {
    super();//ww  w.jav  a 2s . co  m
    final String S_ProcName = "construct-schema-focus";
    if (argSchema == null) {
        throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1,
                "argSchema");
    }
    // argFocus is optional; focus may be set later during execution as
    // conditions of the runtime change.
    swingSchema = argSchema;
    setSwingFocus(argFocus);
    setSize(1024, 480);
    splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
    attrJPanel = argSchema.getISOTimezoneFactory().newAttrJPanel(argFocus);
    attrScrollPane = new CFHSlaveJScrollPane(attrJPanel);
    eltJTabbedPane = argSchema.getISOTimezoneFactory().newEltJTabbedPane(argFocus);
    splitPane.setTopComponent(attrScrollPane);
    splitPane.setBottomComponent(eltJTabbedPane);
    add(splitPane);
    splitPane.setBounds(0, 0, 1024, 455);
    splitPane.setDividerLocation(200);
    if (getSwingFocus() != null) {
        setPanelMode(CFJPanel.PanelMode.View);
    }
    doLayout();
}