Last change
on this file since 17 was
17,
checked in by zhangj, 10 years ago
|
To have a stable version on the server.
|
-
Property svn:executable set to
*
|
File size:
713 bytes
|
Line | |
---|
1 | classdef ChildEvent < event.EventData |
---|
2 | %ChildEvent Event data for a container child change |
---|
3 | % |
---|
4 | % uiextras.ChildEvent(child,childindex) creates some new |
---|
5 | % eventdata indicating which child was changed. |
---|
6 | % |
---|
7 | % See also: uiextras.Container |
---|
8 | |
---|
9 | % Copyright 2009-2010 The MathWorks, Inc. |
---|
10 | % 1.1 |
---|
11 | % 2012/05/08 08:02:59 |
---|
12 | |
---|
13 | properties( SetAccess = private ) |
---|
14 | Child |
---|
15 | ChildIndex |
---|
16 | end % private properties |
---|
17 | |
---|
18 | methods |
---|
19 | |
---|
20 | function data = ChildEvent(child,childindex) |
---|
21 | error( nargchk( 2, 2, nargin ) ); |
---|
22 | data.Child = child; |
---|
23 | data.ChildIndex = childindex; |
---|
24 | end |
---|
25 | |
---|
26 | end % public methods |
---|
27 | |
---|
28 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.