panel.add(new ContentGroupLabel(Console.CONSTANTS.common_label_selection()));
form.setNumColumns(2);
TextItem nameItem = new TextItem("name", "Name");
TextBoxItem inetAddress = new TextBoxItem("inetAddress", "Inet Address", false);
TextBoxItem nic = new TextBoxItem("nic", "Nic", false);
TextBoxItem nicMatch = new TextBoxItem("nicMatch", "Nic Match", false);
CheckBoxItem publicAddress = new CheckBoxItem("publicAddress", "Public Address");
CheckBoxItem siteLocalAddress = new CheckBoxItem("siteLocal", "Site Local Address");
CheckBoxItem linkLocalAddress = new CheckBoxItem("linkLocal", "Link Local Address");
anyAddress = new ComboBoxItem("addressWildcard", "Address Wildcard") {
{
isRequired = false;
}
};
anyAddress.setDefaultToFirstOption(true);
anyAddress.setValueMap(new String[]{"", Interface.ANY_ADDRESS, Interface.ANY_IP4, Interface.ANY_IP6});
anyAddress.setValue("");
CheckBoxItem up = new CheckBoxItem("up", "Up");
CheckBoxItem virtual = new CheckBoxItem("virtual", "Virtual");
CheckBoxItem p2p = new CheckBoxItem("pointToPoint", "Point to Point");
CheckBoxItem multicast = new CheckBoxItem("multicast", "Multicast");
CheckBoxItem loopback = new CheckBoxItem("loopback", "Loopback");
TextBoxItem loopbackAddress = new TextBoxItem("loopbackAddress", "Loopback Address", false);
form.setFields(
nameItem,
inetAddress, anyAddress,