| MATLAB® | ![]() |
classdef myclass < hgsetget
classdef myclass < hgsetget makes myclass a subclass of the hgsetget class, which is a subclass of the handle class.
Use the hgsetget class to derive classes that inherit set and get methods that behave like Handle Graphics set and get functions.
When you derive a class from the hgsetget class, your class inherits the following methods.
| Method | Purpose |
|---|---|
| set | Assigns values to the specified properties or returns a cell array of possible values for writable properties. |
| get | Returns value of specified property or a struct with all property values. |
| setdisp | Called when set is called with no output arguments and a handle array, but no property name. Override this method to change what set displays. |
| getdisp | Called when get is called with no output arguments and handle array, bet no property name. Override this method to change what get displays. |
See Implementing a Set/Get Interface for Properties
handle, set (hgsetget) , get (hgsetget), set, get
![]() | hgsave | hgtransform | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |