-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathType.as
More file actions
51 lines (48 loc) · 842 Bytes
/
Type.as
File metadata and controls
51 lines (48 loc) · 842 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package tableManager.data
{
public class Type
{
public var ParagraphType:Paragraph = null,
PictrueType:Pictrue = null,
ButtonType:Button= null,
InputTextType:InputText=null,
RadioButtonTaype:RadioButtons=null,
NumberRagneType:NumberRangeTable=null,
ChekBoxType:ChekBox = null;
public function Type()
{
}
public function getType():*
{
if(ButtonType!=null)
{
return ButtonType
}
if(InputTextType!=null)
{
return InputTextType
}
if(ParagraphType!=null)
{
return ParagraphType
}
if(PictrueType!=null)
{
return PictrueType
}
if(RadioButtonTaype!=null)
{
return RadioButtonTaype
}
if(NumberRagneType!=null)
{
return NumberRagneType
}
if(ChekBoxType!=null)
{
return ChekBoxType
}
return null
}
}
}