SslModeComponent() { super(); setLayout(new FlowLayout(FlowLayout.LEFT, 0, 0)); fullModeRadioButton = new JRadioButton("Full Verification"); fullModeRadioButton.putClientProperty("SSL_MODE", AgentBootstrapperArgs.SslMode.FULL); fullModeRadioButton.setToolTipText("Perform a complete SSL verification before connecting to the agent."); noneModeRadioButton = new JRadioButton("No verification"); noneModeRadioButton.putClientProperty("SSL_MODE", AgentBootstrapperArgs.SslMode.NONE); noneModeRadioButton.setToolTipText("Completely disable any SSL verification"); noHostVerifyModeRadioButton = new JRadioButton("Don't verify host"); noHostVerifyModeRadioButton.putClientProperty("SSL_MODE", AgentBootstrapperArgs.SslMode.NO_VERIFY_HOST); noHostVerifyModeRadioButton.setToolTipText("Verify the server certificate, but not the hostname."); ButtonGroup sslModeButtonGroup = new ButtonGroup(); ActionListener actionListener = e -> { JRadioButton b = (JRadioButton) e.getSource(); setSslMode((AgentBootstrapperArgs.SslMode) b.getClientProperty("SSL_MODE")); }; for (JRadioButton button : Arrays.asList(fullModeRadioButton, noneModeRadioButton, noHostVerifyModeRadioButton)) { sslModeButtonGroup.add(button); add(button); button.addActionListener(actionListener); } }
protected void addChildrenToWarnRadio() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = levelRadioGroup; warnRadio.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(warnRadio); } }
protected void addChildrenToFieldSimulAdvParamsSimulLoggerWarn() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = fieldSimulAdvParamsSimulLoggerGroup; fieldSimulAdvParamsSimulLoggerWarn.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(fieldSimulAdvParamsSimulLoggerWarn); } }
protected void addChildrenToRadioPopulationSeasonGroupChangeLengthSpacialized() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = radioPopulationSeasonGroupChangeLengthSpacializedGroup; radioPopulationSeasonGroupChangeLengthSpacialized.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(radioPopulationSeasonGroupChangeLengthSpacialized); } }
protected void addChildrenToErrorRadio() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = levelRadioGroup; errorRadio.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(errorRadio); } }
protected void addChildrenToFieldSimulAdvParamsLibLoggerDebug() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = fieldSimulAdvParamsLibLoggerGroup; fieldSimulAdvParamsLibLoggerDebug.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(fieldSimulAdvParamsLibLoggerDebug); } }
protected void addChildrenToFieldSimulAdvParamsSimulLoggerDebug() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = fieldSimulAdvParamsSimulLoggerGroup; fieldSimulAdvParamsSimulLoggerDebug.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(fieldSimulAdvParamsSimulLoggerDebug); } }
protected void addChildrenToRadioPopulationSeasonGroupChangeLengthNoSpacialized() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = radioPopulationSeasonGroupChangeLengthSpacializedGroup; radioPopulationSeasonGroupChangeLengthNoSpacialized.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(radioPopulationSeasonGroupChangeLengthNoSpacialized); } }
protected void addChildrenToDiscret() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = factorType; discret.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(discret); } }
protected void addChildrenToDebugRadio() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = levelRadioGroup; debugRadio.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(debugRadio); } }
protected void addChildrenToInfoRadio() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = levelRadioGroup; infoRadio.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(infoRadio); } }
protected void addChildrenToFieldSimulAdvParamsScriptLoggerError() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = fieldSimulAdvParamsScriptLoggerGroup; fieldSimulAdvParamsScriptLoggerError.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(fieldSimulAdvParamsScriptLoggerError); } }
protected void addChildrenToFieldSimulAdvParamsScriptLoggerInfo() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = fieldSimulAdvParamsScriptLoggerGroup; fieldSimulAdvParamsScriptLoggerInfo.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(fieldSimulAdvParamsScriptLoggerInfo); } }
protected void addChildrenToFieldSimulAdvParamsSimulLoggerError() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = fieldSimulAdvParamsSimulLoggerGroup; fieldSimulAdvParamsSimulLoggerError.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(fieldSimulAdvParamsSimulLoggerError); } }
protected void addChildrenToServerAuthenticationMethodAnonymous() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = serverMethod; serverAuthenticationMethodAnonymous.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(serverAuthenticationMethodAnonymous); } }
protected void addChildrenToContinueRadio() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = factorType; continueRadio.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(continueRadio); } }
protected void addChildrenToBeginGroupLengthTypeSameSize() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = groupLengthType; beginGroupLengthTypeSameSize.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(beginGroupLengthTypeSameSize); } }
protected void addChildrenToFieldSpeciesDynamicAge() { if (!allComponentsCreated) { return; } { ButtonGroup $buttonGroup = structuredGroup; fieldSpeciesDynamicAge.putClientProperty("$buttonGroup", $buttonGroup); $buttonGroup.add(fieldSpeciesDynamicAge); } }
private void initProcessors() { int i = 0; for (Processor processor : Lookup.getDefault().lookupAll(Processor.class)) { JRadioButton radio = new JRadioButton(processor.getDisplayName()); radio.setToolTipText(processor.getDisplayName()); radio.putClientProperty(PROCESSOR_KEY, processor); processorGroup.add(radio); } }
protected void createServerAuthenticationMethodSsh() { $objectMap.put("serverAuthenticationMethodSsh", serverAuthenticationMethodSsh = new JRadioButton()); serverAuthenticationMethodSsh.setName("serverAuthenticationMethodSsh"); serverAuthenticationMethodSsh.setText(t("isisfish.launch.ssh")); { serverAuthenticationMethodSsh.putClientProperty("$value", "ssh"); Object $buttonGroup = serverAuthenticationMethodSsh.getClientProperty("$buttonGroup"); if ($buttonGroup instanceof JAXXButtonGroup) { ((JAXXButtonGroup) $buttonGroup).updateSelectedValue(); } } serverAuthenticationMethodSsh.addActionListener(JAXXUtil.getEventListener(ActionListener.class, "actionPerformed", this, "doActionPerformed__on__serverAuthenticationMethodSsh")); }