Package com.install4j.api.beaninfo
This package contains the utility classes for writing BeanInfo classes for screens, actions and form components.
See the API overview for general remarks on how to use the install4j API.
This package is optional. No other packages use this package. By developing BeanInfo classes according to the JavaBean specification, you can control the configurability, presentation and validation of your beans at design time. BeanInfo classes do not influence runtime behavior.
When developing bean infos for your beans, it is recommended to use the appropriate
derived class of Install4JBeanInfo
as the base class.
Install4JPropertyDescriptor
and its derived classes provide factory methods
for generating property descriptors with the appropriate named attributes.
-
Interface Summary Interface Description ActionListInitializer Interface for theActionBeanInfo.ATTRIBUTE_ACTION_LIST_INITIALIZER
value of a bean descriptor.ActionValidator Validates actions if the validation depends on a containingActionList
property.BeanInitializer Interface for theInstall4JBeanInfo.ATTRIBUTE_BEAN_INITIALIZER
value of a bean descriptor.BeanValidator Interface for theInstall4JBeanInfo.ATTRIBUTE_BEAN_VALIDATOR
value of a bean descriptor.CustomizerCallback Extended design-time services for customizers.EnumerationMapper Interface for mapping values and descriptions of enumerated properties.PropertyConverter A property converter translates between a string representation and the actual object state and provides an optionalproperty customizer
.PropertyCustomizer Customizer component for a property that is used in a dialog.SequenceValidator Interface for controlling insertion and reordering of beans at design-time.VisibilityDiscriminator Interface for controlling the visibility of child properties based on the value of the parent property. -
Class Summary Class Description ActionBeanInfo Base class for BeanInfos of actions classes.ActionListPropertyDescriptor Property descriptor for properties that contain a list of configurable actions.EnumerationMapEntry Entry in an enumeration defined byEnumerationMapper
.FilePropertyDescriptor Property descriptor for properties that contain one or several file.FormComponentBeanInfo Base class for form component bean infos.Install4JBeanInfo Base class for bean infos.Install4JPropertyDescriptor Property descriptor for use in instances ofInstall4JBeanInfo
.ProjectReportProperty A project report element contributed by a customizer.ScreenBeanInfo Base class for screen bean infos.ScriptParameter Descriptor for script parameters of script properties defined with aScriptPropertyDescriptor
.ScriptPropertyDescriptor Property descriptor for properties of typeScriptProperty
. -
Enum Summary Enum Description ActionElevationType Enumeration class for all possible elevation strategies for actions.CustomizerPlacement Enumeration class for all possible placements of the customizer in the install4j GUI.FailureStrategy Enumeration class for all possible failure strategies of actions.FileContentType Enumeration class for all possible file content types for file property descriptors.FileSelectionMode Enumeration class for all possible file selection modes for file property descriptors. -
Exception Summary Exception Description BeanValidationException Exception for notifying the user that a property value of a bean is not valid.