Class SelectedIndicesToButtonModelArrayConverter
java.lang.Object
org.netbeans.validation.api.conversion.Converter<Integer[], ButtonModel[]>
org.netbeans.validation.api.conversion.swing.SelectedIndicesToButtonModelArrayConverter
- Author:
- Hugo Heden
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SelectedIndicesToButtonModelArrayConverter
public SelectedIndicesToButtonModelArrayConverter()
-
-
Method Details
-
convert
Description copied from class:ConverterCreate aValidatorfor typeTofrom a validator for typeFrom. For example, a converter that is a factory for Validators ofjavax.swing.text.Documents from a validator that only handles Strings may be created. (Convert would simply return a Validatorthat wraps the Validator . At validation time it will first call Document.getText(), and then pass the result to the wrapped Validator ). - Specified by:
convertin classConverter<Integer[], ButtonModel[]>- Parameters:
from- The original validator.- Returns:
- A validator of the type requested
-