Repository navigation
Expand file tree
/
Copy pathTissuePickerModel.m
More file actions
74 lines (58 loc) · 1.65 KB
/
Copy pathTissuePickerModel.m
File metadata and controls
74 lines (58 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
classdef TissuePickerModel < handle
% TissuePickerModel
%
% Copyright (C) 2016-2022 Michigan State University Board of Trustees
% Author: Matt Latourette
%% Properties
% Observables (listeners receive notification of changes)
properties (SetObservable = true, AbortSet = true)
TissueType
SavedScreenPosition
Cancelled(1,1) logical
end
% Read-only properties
properties (SetAccess = private)
end
% Private properties
properties (Access = private)
end
% Computable dependent properties
properties (Dependent = true, SetAccess = private)
end
%% Events
events
end
%% Class Methods
methods
%% Constructors
function this = TissuePickerModel(tissueType)
% Constructor
this.TissueType = tissueType;
this.SavedScreenPosition = '';
end
%% Getters for Computable Dependent Properties
%% Getters and Setters
function out = get.TissueType(this)
out = this.TissueType;
end
function set.TissueType(this, value)
this.TissueType = value;
end
function out = get.SavedScreenPosition(this)
out = this.SavedScreenPosition;
end
function set.SavedScreenPosition(this, value)
this.SavedScreenPosition = value;
end
%% Other Public Methods
end
%% Private Methods
methods (Access = private)
end
%% Public Static Methods
methods (Static)
end
%% Private Static Methods
methods (Static, Access = private)
end
end