Interface FormEditorDelegateFactory
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ClasspathScannerFormEditorDelegateFactoryImpl
Fabrica de delegates para o Editor de Formularios
- Author:
- Eduardo
-
Method Summary
Modifier and TypeMethodDescriptiongetCategory(FormElementEditorDelegate delegate) Resolve a categoria do DelegategetFieldDelegate(FieldDescriptor descriptor, FormImplementation implementation) Obtem o delegate responsavel por um determinado tipo de descritorgetFieldDelegates(FormImplementation implementation) Obtema relacao de relegates registrados que atendem esta implementacaogetFieldDelegatesPerCategory(FormImplementation implementation) Obtem a relacao de delegates, agrupados e ordenados por categoriaFormInstanceEditorDelegate<? extends MutableBaseForm> getInstanceEditorDelegate(FormType formType) Obtem o delegate de instancia do Form, baseado no tipo de formulario suportado pelo editor<T extends MutableBaseForm>
FormInstanceEditorDelegate<T> getInstanceEditorDelegate(Class<T> formInstanceType) Obtem o editor o delegate de instancia do Form baseado no tipo de dados do formulariogetLayoutDelegate(FormComponentContainer descriptor, FormImplementation implementation) Obtem todos os delgetLayoutDelegates(FormImplementation implementation) Obtem a colecao de delegates registrados que atendem essa implementacao de formulariogetLayoutDelegatesPerCategory(FormImplementation implementation) Obtem a relacao de delegates de layout, agrupados e ordenados por categoriagetSubFormEditorDelegate(SubForm descriptor, FormImplementation implementation) getSubFormEditorDelegates(FormImplementation implementation) getSubFormEditorDelegatesPerCategory(FormImplementation implementation) getWidgetDelegate(FormElementDescriptor descriptor, FormImplementation implementation) Obtem o delegate responsavel por um determinado tipo de descritor de widgetgetWidgetDelegates(FormImplementation implementation) Obtema relacao de delegates de widgets registrados que atendem esta implementacaogetWidgetDelegatesPerCategory(FormImplementation implementation) Obtem a relacao de delegates, agrupados e ordenados por categoria para widgets
-
Method Details
-
getFieldDelegates
Obtema relacao de relegates registrados que atendem esta implementacao- Parameters:
implementation-- Returns:
-
getFieldDelegatesPerCategory
Map<Category,Collection<FieldEditorDelegate>> getFieldDelegatesPerCategory(FormImplementation implementation) Obtem a relacao de delegates, agrupados e ordenados por categoria- Parameters:
implementation-- Returns:
-
getFieldDelegate
Obtem o delegate responsavel por um determinado tipo de descritor- Parameters:
descriptor-- Returns:
- Delegate ou Null caso nenhum seja localizado para o descritor
-
getLayoutDelegates
Obtem a colecao de delegates registrados que atendem essa implementacao de formulario- Parameters:
implementation-- Returns:
-
getLayoutDelegatesPerCategory
Map<Category,Collection<LayoutEditorDelegate>> getLayoutDelegatesPerCategory(FormImplementation implementation) Obtem a relacao de delegates de layout, agrupados e ordenados por categoria- Parameters:
implementation-- Returns:
-
getLayoutDelegate
LayoutEditorDelegate getLayoutDelegate(FormComponentContainer descriptor, FormImplementation implementation) Obtem todos os del- Parameters:
descriptor-- Returns:
-
getWidgetDelegates
Obtema relacao de delegates de widgets registrados que atendem esta implementacao- Parameters:
implementation-- Returns:
-
getWidgetDelegatesPerCategory
Map<Category,Collection<WidgetEditorDelegate>> getWidgetDelegatesPerCategory(FormImplementation implementation) Obtem a relacao de delegates, agrupados e ordenados por categoria para widgets- Parameters:
implementation-- Returns:
-
getWidgetDelegate
WidgetEditorDelegate getWidgetDelegate(FormElementDescriptor descriptor, FormImplementation implementation) Obtem o delegate responsavel por um determinado tipo de descritor de widget- Parameters:
descriptor-- Returns:
- Delegate ou Null caso nenhum seja localizado para o descritor
-
getSubFormEditorDelegate
SubFormEditorDelegate getSubFormEditorDelegate(SubForm descriptor, FormImplementation implementation) -
getSubFormEditorDelegatesPerCategory
Map<Category,Collection<SubFormEditorDelegate>> getSubFormEditorDelegatesPerCategory(FormImplementation implementation) -
getSubFormEditorDelegates
-
getCategory
Resolve a categoria do Delegate- Parameters:
delegate-- Returns:
-
getInstanceEditorDelegate
<T extends MutableBaseForm> FormInstanceEditorDelegate<T> getInstanceEditorDelegate(Class<T> formInstanceType) Obtem o editor o delegate de instancia do Form baseado no tipo de dados do formulario- Parameters:
formInstanceType-- Returns:
-
getInstanceEditorDelegate
Obtem o delegate de instancia do Form, baseado no tipo de formulario suportado pelo editor- Parameters:
formType-- Returns:
-