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