use of org.netbeans.validation.api.ui.ValidationGroup in project gephi by gephi.
the class MergeColumnsUI method createValidationPanel.
public static ValidationPanel createValidationPanel(MergeColumnsUI innerPanel) {
ValidationPanel validationPanel = new ValidationPanel();
if (innerPanel == null) {
innerPanel = new MergeColumnsUI();
}
validationPanel.setInnerComponent(innerPanel);
ValidationGroup group = validationPanel.getValidationGroup();
group.add(innerPanel.availableStrategiesComboBox, new MergeStrategyValidator(innerPanel));
return validationPanel;
}
use of org.netbeans.validation.api.ui.ValidationGroup in project gephi by gephi.
the class UIExporterPDFPanel method createValidationPanel.
public static ValidationPanel createValidationPanel(UIExporterPDFPanel innerPanel) {
ValidationPanel validationPanel = new ValidationPanel();
validationPanel.setInnerComponent(innerPanel);
ValidationGroup group = validationPanel.getValidationGroup();
innerPanel.validate(group);
return validationPanel;
}
use of org.netbeans.validation.api.ui.ValidationGroup in project gephi by gephi.
the class UIExporterPNGPanel method createValidationPanel.
// End of variables declaration//GEN-END:variables
public static ValidationPanel createValidationPanel(UIExporterPNGPanel innerPanel) {
ValidationPanel validationPanel = new ValidationPanel();
validationPanel.setInnerComponent(innerPanel);
ValidationGroup group = validationPanel.getValidationGroup();
innerPanel.validate(group);
return validationPanel;
}
use of org.netbeans.validation.api.ui.ValidationGroup in project gephi by gephi.
the class BooleanLogicOperationsUI method getSettingsPanel.
@Override
public JPanel getSettingsPanel() {
ValidationPanel validationPanel = new ValidationPanel();
validationPanel.setInnerComponent(this);
ValidationGroup group = validationPanel.getValidationGroup();
group.add(titleTextField, new ColumnTitleValidator(table));
return validationPanel;
}
use of org.netbeans.validation.api.ui.ValidationGroup in project gephi by gephi.
the class JoinWithSeparatorUI method getSettingsPanel.
@Override
public JPanel getSettingsPanel() {
ValidationPanel validationPanel = new ValidationPanel();
validationPanel.setInnerComponent(this);
ValidationGroup group = validationPanel.getValidationGroup();
group.add(titleTextField, new ColumnTitleValidator(table));
return validationPanel;
}
Aggregations