- •Объектно-ориентированная модель проектирования
- •Объекты и классы
- •Вызов методов
- •Переопределение классов
- •Иерархия объектов. Индексация объектов
- •Индексация объектов.
- •Наследование
- •Создание классов с помощью classdef
- •Описание атрибутов свойств
- •Описание атрибутов методов
- •Описание атрибутов событий
Описание атрибутов методов
Название |
Тип |
Описание |
Abstract |
logical Default = false |
If true, the method has no implementation. The method has a syntax line that can include arguments, which subclasses use when implementing the method:
|
Access |
|
Determines what code can call this method:
|
Hidden |
logical Default = false |
When false, the method name shows in the list of methods displayed using the methods or methodsview commands. If set to true, the method name is not included in these listings and ismethod does not return true for this method name. . |
Sealed |
logical Default = false |
If true, the method cannot be redefined in a subclass. Attempting to define a method with the same name in a subclass causes an error. |
Static |
logical Default = false |
Specify as true to define a method that does not depend on an object of the class and does not require an object argument. Use the class name to call the method: classname.methodname or an instance of the class: obj.methodname |
Таблица 5
Описание атрибутов событий
Название |
Тип |
Описание |
Hidden |
logical Default = false |
If true, event does not appear in list of events returned by events function (or other event listing functions or viewers). |
ListenAccess |
|
Determines where you can create listeners for the event.
|
NotifyAccess |
|
Determines where code can trigger the event
|
