Merge "Add Visual descriptions to generate doxygen page" into devel/master
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / examples / json / date-picker-template.json
1 /*
2  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 {
18   // Data picker loaded directly on to the stage
19   //
20   "templates": {
21     "date-picker":
22     {
23       "type":"FlexContainer",
24       "name":"exampleDatePicker",
25       "parentOrigin": "CENTER",
26       "anchorPoint": "CENTER",
27       "flexDirection":"ROW",
28       "size":[480.0, 150, 0 ],
29       "actors": [
30       {
31
32         "type": "Spin",
33         "name": "Year",
34         "parentOrigin": "CENTER",
35         "anchorPoint": "CENTER",
36         "Value":2017,
37         "MinValue":1900,
38         "MaxValue":2100,
39         "Step":1,
40         "TextColor":[0.0,0.0,1.0,1.0],
41         "properties": { // properties registered dynamically
42             "flex":0.3,
43             "flexMargin": [5.0,0.0,5.0,0.0]
44         }
45       },
46       {
47
48         "type": "Spin",
49         "name": "Month",
50         "parentOrigin": "CENTER",
51         "anchorPoint": "CENTER",
52         "parentOrigin": "CENTER",
53         "Value":10,
54         "Step":1,
55         "MinValue":1,
56         "MaxValue":12,
57         "TextColor":[1.0,1.0,1.0,1.0],
58         "properties": { // properties registered dynamically
59             "flex":0.3,
60             "flexMargin": [5.0,0.0,5.0,0.0]
61         }
62
63       },
64       {
65
66         "type": "Spin",
67         "name": "Day",
68         "parentOrigin": "CENTER",
69         "anchorPoint": "CENTER",
70         "Value":1,
71         "MinValue":1,
72         "MaxValue":31,
73         "TextColor":[1.0,0.0,0.0,1.0],
74          "properties": { // properties registered dynamically
75             "flex":0.3,
76             "flexMargin": [5.0,0.0,5.0,0.0]
77         }
78       }]
79
80     }
81 }
82
83 }
84