Create Custom UI Components
Define your own UI component class by creating a subclass of the
ComponentContainer base class. If you write scripts or
functions for creating specialized UIs and visualizations and share them with
others, consider creating a class implementation. Creating a class enables you
to provide a convenient interface for your users and allows you to configure the
UI component for interactive use in App Designer. You design your own custom set
of properties and control which ones your users can access. When they want to
customize aspects of your UI component, users can set properties rather than
having to modify and rerun your code. Users can modify properties at the command
line or inspect them in the Property Inspector.
|Base class for developing UI component objects|
Learn the basic steps for authoring a class of UI component objects.
Enable interactive use of your custom UI components in App Designer.
Validate property values, optimize how properties update, and customize how properties display for the UI components you author.
Use HTML UI components to author custom UI component classes with more flexibility.