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;
}
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);
}
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;
}
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;
}
Aggregations