Search in sources :

Example 56 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 57 with VerticalPanel

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

the class LdapExtConfigGui method init.

/**
 *************************************************************************
 * This will initialise all the panels 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(createTestPanel());
    mainPanel.add(testPanel());
    add(mainPanel, BorderLayout.CENTER);
    // Take note of when buttons are changed so we can change panel
    bind.addItemListener(this);
    sbind.addItemListener(this);
    unbind.addItemListener(this);
    compare.addItemListener(this);
    addTest.addItemListener(this);
    modifyTest.addItemListener(this);
    rename.addItemListener(this);
    deleteTest.addItemListener(this);
    searchTest.addItemListener(this);
}
Also used : VerticalPanel(org.apache.jmeter.gui.util.VerticalPanel) BorderLayout(java.awt.BorderLayout)

Example 58 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);
    bindPanel.add(trustAll);
    return bindPanel;
}
Also used : VerticalPanel(org.apache.jmeter.gui.util.VerticalPanel)

Example 59 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)

Aggregations

VerticalPanel (org.apache.jmeter.gui.util.VerticalPanel)59 BorderLayout (java.awt.BorderLayout)33 JPanel (javax.swing.JPanel)27 JCheckBox (javax.swing.JCheckBox)14 JLabel (javax.swing.JLabel)12 HorizontalPanel (org.apache.jmeter.gui.util.HorizontalPanel)12 JTextField (javax.swing.JTextField)11 JLabeledTextField (org.apache.jorphan.gui.JLabeledTextField)7 Dimension (java.awt.Dimension)5 JButton (javax.swing.JButton)5 BoxLayout (javax.swing.BoxLayout)4 JTabbedPane (javax.swing.JTabbedPane)4 Border (javax.swing.border.Border)4 EmptyBorder (javax.swing.border.EmptyBorder)4 LoginConfigGui (org.apache.jmeter.config.gui.LoginConfigGui)4 FilePanel (org.apache.jmeter.gui.util.FilePanel)4 ArrayList (java.util.ArrayList)3 Box (javax.swing.Box)3 ButtonGroup (javax.swing.ButtonGroup)3 JComboBox (javax.swing.JComboBox)3