Search in sources :

Example 36 with VerticalPanel

use of org.apache.jmeter.gui.util.VerticalPanel in project jmeter by apache.

the class LdapExtConfigGui method createBindPanel.

/***************************************************************************
     * This will create the bind/sbind panel in the LdapConfigGui
     **************************************************************************/
private JPanel createBindPanel() {
    VerticalPanel bindPanel = new VerticalPanel();
    bindPanel.add(createLabelPanel("servername", servername));
    bindPanel.add(createLabelPanel("port", port));
    bindPanel.add(createLabelPanel("ddn", rootdn));
    bindPanel.add(createLabelPanel("userdn", userdn));
    bindPanel.add(createLabelPanel("userpw", userpw));
    bindPanel.add(createLabelPanel("ldap_connto", connto));
    bindPanel.add(secure);
    return bindPanel;
}
Also used : VerticalPanel(org.apache.jmeter.gui.util.VerticalPanel)

Example 37 with VerticalPanel

use of org.apache.jmeter.gui.util.VerticalPanel in project jmeter by apache.

the class LdapConfigGui method createDeletePanel.

/**
     * This will create the Delete panel in the LdapConfigGui.
     */
private JPanel createDeletePanel() {
    VerticalPanel panel = new VerticalPanel();
    panel.add(createLabelPanel("delete", delete));
    return panel;
}
Also used : VerticalPanel(org.apache.jmeter.gui.util.VerticalPanel)

Example 38 with VerticalPanel

use of org.apache.jmeter.gui.util.VerticalPanel in project jmeter by apache.

the class LdapConfigGui method init.

/**
     * This will initialise all the panel in the LdapConfigGui.
     */
private void init() {
    // WARNING: called from ctor so must not be overridden (i.e. must be private or final)
    setLayout(new BorderLayout(0, 5));
    if (displayName) {
        setBorder(makeBorder());
        add(makeTitlePanel(), BorderLayout.NORTH);
    }
    VerticalPanel mainPanel = new VerticalPanel();
    mainPanel.add(createServernamePanel());
    mainPanel.add(createPortPanel());
    mainPanel.add(createRootdnPanel());
    mainPanel.add(createTestPanel());
    mainPanel.add(testPanel());
    add(mainPanel, BorderLayout.CENTER);
    userDefined.addItemListener(this);
    addTest.addItemListener(this);
    modifyTest.addItemListener(this);
    deleteTest.addItemListener(this);
    searchTest.addItemListener(this);
}
Also used : VerticalPanel(org.apache.jmeter.gui.util.VerticalPanel) BorderLayout(java.awt.BorderLayout)

Example 39 with VerticalPanel

use of org.apache.jmeter.gui.util.VerticalPanel in project jmeter by apache.

the class LdapExtConfigGui method createComparePanel.

/***************************************************************************
     * This will create the bind panel in the LdapConfigGui
     **************************************************************************/
private JPanel createComparePanel() {
    VerticalPanel cbindPanel = new VerticalPanel();
    cbindPanel.add(createLabelPanel("entrydn", comparedn));
    cbindPanel.add(createLabelPanel("comparefilt", comparefilt));
    return cbindPanel;
}
Also used : VerticalPanel(org.apache.jmeter.gui.util.VerticalPanel)

Example 40 with VerticalPanel

use of org.apache.jmeter.gui.util.VerticalPanel in project jmeter by apache.

the class AbstractJMeterGuiComponent method makeTitlePanel.

/**
     * Create a standard title section for JMeter components. This includes the
     * title for the component and the Name Panel allowing the user to change
     * the name for the component. This method is typically added to the top of
     * the component at the beginning of the component's init method.
     *
     * @return a panel containing the component title and name panel
     */
protected Container makeTitlePanel() {
    VerticalPanel titlePanel = new VerticalPanel();
    titlePanel.add(createTitleLabel());
    VerticalPanel contentPanel = new VerticalPanel();
    contentPanel.setBorder(BorderFactory.createEtchedBorder());
    contentPanel.add(getNamePanel());
    contentPanel.add(getCommentPanel());
    titlePanel.add(contentPanel);
    return titlePanel;
}
Also used : VerticalPanel(org.apache.jmeter.gui.util.VerticalPanel)

Aggregations

VerticalPanel (org.apache.jmeter.gui.util.VerticalPanel)46 BorderLayout (java.awt.BorderLayout)30 JPanel (javax.swing.JPanel)23 JCheckBox (javax.swing.JCheckBox)13 JLabel (javax.swing.JLabel)12 HorizontalPanel (org.apache.jmeter.gui.util.HorizontalPanel)11 JTextField (javax.swing.JTextField)9 Dimension (java.awt.Dimension)5 JTabbedPane (javax.swing.JTabbedPane)5 JLabeledTextField (org.apache.jorphan.gui.JLabeledTextField)5 BoxLayout (javax.swing.BoxLayout)4 JButton (javax.swing.JButton)4 Border (javax.swing.border.Border)3 EmptyBorder (javax.swing.border.EmptyBorder)3 LoginConfigGui (org.apache.jmeter.config.gui.LoginConfigGui)3 FlowLayout (java.awt.FlowLayout)2 Font (java.awt.Font)2 GridBagConstraints (java.awt.GridBagConstraints)2 GridBagLayout (java.awt.GridBagLayout)2 ArrayList (java.util.ArrayList)2