© 2020 matrixpromo.ru
Many classes have shortcut names used when creating instantiating a class with a configuration object. The shortcut name is referred to as an alias or xtype if the class extends Ext. Framework classes or their members may be specified as private or protected. Public , protected , and private are access descriptors used to convey how and when the class or class member should be used. Public classes and class members are available for use by any other class or application code and may be relied upon as a stable and persistent within major product versions. Public classes and members may safely be extended via a subclass. Protected class members are stable public members intended to be used by the owning class or its subclasses. Protected members may safely be extended via a subclass. Private classes and class members are used internally by the framework and are not intended to be used by application developers. Private classes and members may change or be omitted from the framework at any time without notice and should not be relied upon in application logic. Below is an example class member that we can disect to show the syntax of a class member the lookupComponent method as viewed from the Ext. Button class in this case. This may be overridden in subclasses when special processing needs to be applied to child creation. The label may be represented by a text label, an abbreviation, or an icon.