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. When they want to customize
aspects of your UI Component, they can set properties rather than having to
modify and rerun your code. You design your own custom set of properties and
control which ones your users can access. 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.