public class DefaultDynFormSPIManager extends AbstractServiceManager implements DynFormSPIManager
FIELD_FIELDDEFINITION, FIELD_FORMSETDEFINITION, FIELD_VALUE, SERVICE_JDYNFORM_NAME_PREFIX, SERVICE_NAME_PREFIX, TAG_DYNFORM_ABEILLE_FORM, TAG_DYNFORM_ACTION_CLOSE, TAG_DYNFORM_ACTION_DELETE, TAG_DYNFORM_ACTION_NEW, TAG_DYNFORM_ACTION_SEARCH, TAG_DYNFORM_ACTION_UPDATE, TAG_DYNFORM_AUTOSAVE, TAG_DYNFORM_BORDER, TAG_DYNFORM_HEIGHT, TAG_DYNFORM_LABEL_EMPTY, TAG_DYNFORM_LAYOUTMODE, TAG_DYNFORM_LAYOUTMODE_VALUE_PLAIN, TAG_DYNFORM_LAYOUTMODE_VALUE_SEPARATORS, TAG_DYNFORM_LAYOUTMODE_VALUE_TABS, TAG_DYNFORM_READONLY, TAG_DYNFORM_ROWS, TAG_DYNFORM_TRANSLATE_EMPTY_TO_NULL, TAG_DYNFORM_USESCROLLBARS, TAG_DYNFORM_VIEWMODE, TAG_DYNFORM_WIDTH
Constructor and Description |
---|
DefaultDynFormSPIManager() |
Modifier and Type | Method and Description |
---|---|
JDynFormField |
createJDynFormField(DynFormFieldDefinition definition,
Object value) |
JZoomDialog |
createJZoomDialog(String title,
String message,
String text) |
JProblemIndicator |
createProblemIndicator(JDynFormField field) |
JPopupMenu |
createTextFieldPopupMenu(String title,
JTextComponent component,
boolean zoom) |
DynFormManager |
getDynFormManager() |
protected String |
getRegistryDescription() |
protected String |
getRegistryKey() |
Service |
getService(DynObject parameters)
Creates a new
Service based on the given parameters. |
String |
makeServiceName(DataType dataType,
String subtype) |
String |
makeServiceName(DataType dataType,
String className,
String subtype) |
String |
makeServiceName(int dataType,
String subtype) |
String |
makeServiceName(int dataType,
String className,
String subtype) |
String |
makeServiceName(String dynClassFullName) |
addServiceFactory, createService, createServiceParameters, getName, getServiceFactories
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createServiceParameters
addServiceFactory, createService, createServiceParameters
public DynFormManager getDynFormManager()
getDynFormManager
in interface DynFormSPIManager
public Service getService(DynObject parameters) throws ServiceException
Manager
Service
based on the given parameters.getService
in interface Manager
parameters
- of the Service
to createService
ServiceException
- if there is an error creating the Service, or the parameters
are not validprotected String getRegistryKey()
getRegistryKey
in class AbstractServiceManager
protected String getRegistryDescription()
getRegistryDescription
in class AbstractServiceManager
public JZoomDialog createJZoomDialog(String title, String message, String text)
createJZoomDialog
in interface DynFormSPIManager
public JProblemIndicator createProblemIndicator(JDynFormField field)
createProblemIndicator
in interface DynFormSPIManager
public String makeServiceName(DataType dataType, String subtype)
makeServiceName
in interface DynFormSPIManager
public String makeServiceName(DataType dataType, String className, String subtype)
makeServiceName
in interface DynFormSPIManager
public String makeServiceName(int dataType, String subtype)
makeServiceName
in interface DynFormSPIManager
public String makeServiceName(int dataType, String className, String subtype)
makeServiceName
in interface DynFormSPIManager
public String makeServiceName(String dynClassFullName)
makeServiceName
in interface DynFormSPIManager
public JDynFormField createJDynFormField(DynFormFieldDefinition definition, Object value) throws ServiceException
createJDynFormField
in interface DynFormSPIManager
ServiceException
public JPopupMenu createTextFieldPopupMenu(String title, JTextComponent component, boolean zoom)
createTextFieldPopupMenu
in interface DynFormSPIManager