public class ParameterEditorFactory extends Object
| Constructor and Description |
|---|
ParameterEditorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear()
Clears all the registered editors
|
static ParameterEditor |
getEditor(Class<?> type)
Creates the editor and configures it with its data-type name
|
static ParameterEditor |
getEditor(Class<?> type,
Collection<Object> allowedValues)
Creates the editor and configures it with its data-type name
|
static void |
registerEditor(Class<?> type,
Class<?> editor)
Registers and editor
|
static void |
unregisterEditor(Class<?> type)
Unregisters the editor of a type.
|
public ParameterEditorFactory()
public static ParameterEditor getEditor(Class<?> type)
public static ParameterEditor getEditor(Class<?> type, Collection<Object> allowedValues)
public static void registerEditor(Class<?> type, Class<?> editor)
type - that the editor manageseditor - of the typepublic static void unregisterEditor(Class<?> type)
type - of the editor to removepublic static void clear()
Copyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.