Package com.install4j.api.beaninfo
Class FormComponentBeanInfo
java.lang.Object
java.beans.SimpleBeanInfo
com.install4j.api.beaninfo.Install4JBeanInfo
com.install4j.api.beaninfo.FormComponentBeanInfo
- All Implemented Interfaces:
BeanInfo
Base class for form component bean infos.
Using this class is not strictly required. In principle, you could also set values for the ATTRIBUTE_* constants in the bean descriptor
of an unrelated bean info class.
-
Field Summary
FieldsFields inherited from class com.install4j.api.beaninfo.Install4JBeanInfo
ATTRIBUTE_BEAN_CATEGORY, ATTRIBUTE_BEAN_INITIALIZER, ATTRIBUTE_BEAN_VALIDATOR, ATTRIBUTE_CATEGORY_SORT_ORDER, ATTRIBUTE_COLLAPSED_PROPERTY_CATEGORIES, ATTRIBUTE_CUSTOMIZER_ICON, ATTRIBUTE_CUSTOMIZER_PLACEMENT, ATTRIBUTE_DEFAULT_CONDITION_EXPRESSION, ATTRIBUTE_DEFAULT_ROLLBACK_BARRIER, ATTRIBUTE_DEFAULT_ROLLBACK_BARRIER_EXIT_CODE, ATTRIBUTE_ENUMERATION_MAPPERS, ATTRIBUTE_ICON_16x16, ATTRIBUTE_ICON_24x24, ATTRIBUTE_INSTALLED_FILES_REQUIRED, ATTRIBUTE_MINIMUM_JAVA_VERSION, ATTRIBUTE_MULTIPLE_INSTANCES_SUPPORTED, ATTRIBUTE_NOTICE_PANEL, ATTRIBUTE_PERSISTENCE_DELEGATE_MAP, ATTRIBUTE_PROPERTY_CONVERTERS, ATTRIBUTE_SEQUENCE_VALIDATOR, ATTRIBUTE_SORT_KEYFields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 -
Constructor Summary
ConstructorsConstructorDescriptionFormComponentBeanInfo(String displayName, String shortDescription, String category, boolean multipleInstancesSupported, Integer sortKey, Class<? extends FormComponent> beanClass, Class customizerClass) Same asInstall4JBeanInfo(String, String, String, boolean, boolean, Integer, Class, Class)withinstalledFilesRequiredset tofalse.FormComponentBeanInfo(String displayName, String shortDescription, String category, Integer sortKey, Class<? extends FormComponent> beanClass) Same asFormComponentBeanInfo(String, String, String, Integer, Class, Class)with a customizer class ofnull.FormComponentBeanInfo(String displayName, String shortDescription, String category, Integer sortKey, Class<? extends FormComponent> beanClass, Class customizerClass) Same asInstall4JBeanInfo(String, String, String, boolean, boolean, Integer, Class, Class)withmultipleInstancesSupportedset totrueandinstalledFilesRequiredset tofalse. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDefaultVisibilityScript(String defaultVisibilityScript) Configures the default value for the "Visibility script" property of the form component.voidsetHideVisibilityScript(boolean hideVisibilityScript) Configures if the visibility script should be hidden in the install4j IDE.Methods inherited from class com.install4j.api.beaninfo.Install4JBeanInfo
addPropertyDescriptor, checkNotEmpty, checkNotEmpty, findPropertyDescriptor, getBeanClass, getBeanDescriptor, getPropertyDescriptors, getPropertyValue, getPropertyValue, isEmpty, setBeanInitializer, setBeanValidator, setCategorySortOrder, setCollapsedPropertyCategories, setCustomizerIcon, setCustomizerPlacement, setDefaultConditionExpression, setDefaultRollbackBarrier, setDefaultRollbackBarrierExitCode, setEnumerationMappers, setIcons, setMinimumJavaVersion, setNoticePanel, setPersistenceDelegateMap, setPropertyConverters, setSequenceValidatorMethods inherited from class java.beans.SimpleBeanInfo
getAdditionalBeanInfo, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, loadImage
-
Field Details
-
ATTRIBUTE_DEFAULT_VISIBILITY_SCRIPT
- See Also:
-
ATTRIBUTE_HIDE_VISIBILITY_SCRIPT
- See Also:
-
-
Constructor Details
-
FormComponentBeanInfo
public FormComponentBeanInfo(String displayName, String shortDescription, String category, Integer sortKey, Class<? extends FormComponent> beanClass, Class customizerClass) Same asInstall4JBeanInfo(String, String, String, boolean, boolean, Integer, Class, Class)withmultipleInstancesSupportedset totrueandinstalledFilesRequiredset tofalse. -
FormComponentBeanInfo
public FormComponentBeanInfo(String displayName, String shortDescription, String category, boolean multipleInstancesSupported, Integer sortKey, Class<? extends FormComponent> beanClass, Class customizerClass) Same asInstall4JBeanInfo(String, String, String, boolean, boolean, Integer, Class, Class)withinstalledFilesRequiredset tofalse. -
FormComponentBeanInfo
public FormComponentBeanInfo(String displayName, String shortDescription, String category, Integer sortKey, Class<? extends FormComponent> beanClass) Same asFormComponentBeanInfo(String, String, String, Integer, Class, Class)with a customizer class ofnull.
-
-
Method Details
-
setDefaultVisibilityScript
Configures the default value for the "Visibility script" property of the form component.- Parameters:
defaultVisibilityScript- the default value- See Also:
-
setHideVisibilityScript
public void setHideVisibilityScript(boolean hideVisibilityScript) Configures if the visibility script should be hidden in the install4j IDE. This is useful for form components that manage visibility on their own.- Parameters:
hideVisibilityScript- if the visibility script should be hidden- See Also:
-