About component classes
In Mongoose-based applications, a component class is a type of global object that lets you reuse sets of component attributes by "packaging" them together.
For example, instead of specifying a caption, a list of values, and a validator for each component, you can create a component class that bundles each of those attributes. You can then base a new component on the component class to inherit those attributes automatically. A component can override the attributes of its component class. Updating a component class automatically updates every component that inherits from the class.
You can create a component class for any type of component. These grouped attributes are inheritable in the framework inheritance hierarchy:
- General attributes, such as captions, tool tips, and read-only or disabled behavior
- Data attributes such as default values, data types, list source, and validation
- Display attributes such as justification, font and color, and formatting for numbers and special types of data
- Behavior attributes such as shortcut menus, event generation, drill-down to Find or Add/Details forms, and attributes for dynamically enabling or disabling a component
- Other attributes that are specific to a type of component