Download this file

31 lines (23 with data), 954 Bytes

 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
classdef( Hidden, Sealed ) SelectionData < event.EventData
%uix.SelectionData Event data for selection event
%
% e = uix.SelectionData(o,n) creates event data including the old
% value o and the new value n.
% Copyright 2009-2015 The MathWorks, Inc.
% $Revision: 1165 $ $Date: 2015-12-06 03:09:17 -0500 (Sun, 06 Dec 2015) $
properties( SetAccess = private )
OldValue % old value
NewValue % newValue
end
methods
function obj = SelectionData( oldValue, newValue )
%uix.SelectionData Event data for selection event
%
% e = uix.SelectionData(o,n) creates event data including the
% old value o and the new value n.
% Set properties
obj.OldValue = oldValue;
obj.NewValue = newValue;
end % constructor
end % structors
end % classdef