slider.json 3.28 KB
/*
 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
{
  "stage": [{
    "type": "Slider",
    "parentOrigin": "TOP_CENTER",
    "position": [0, 144, 0],
    "size": [480, 72, 1],
    "lowerBound": 0,
    "upperBound": 1,
    "showPopup": true,
    "showValue": true,
    "valuePrecision": 2,
    "value": 0.0
  }, {
    "type": "Slider",
    "parentOrigin": "TOP_CENTER",
    "position": [0, 224, 0],
    "size": [300, 72, 1],
    "lowerBound": 1,
    "upperBound": 10,
    "showPopup": false,
    "showValue": true,
    "valuePrecision": 0,
    "value": 5.0
  }, {
    "type": "Slider",
    "parentOrigin": "TOP_CENTER",
    "position": [0, 304, 0],
    "size": [300, 72, 1],
    "lowerBound": 0,
    "upperBound": 5,
    "showPopup": false,
    "showValue": false,
    "value": 0.0,
    "markTolerance": 0.1,
    "marks": [0, 1, 2, 3, 4, 5]
  }, {
    "type": "Slider",
    "parentOrigin": "TOP_CENTER",
    "position": [0, 384, 0],
    "size": [480, 72, 1],
    "lowerBound": 0,
    "upperBound": 5,
    "showPopup": false,
    "showValue": false,
    "value": 0.0,
    "markTolerance": 0.1,
    "snapToMarks": true,
    "marks": [0, 1, 2, 3, 4, 5]
  }, {
    "type": "Slider",
    "parentOrigin": "TOP_CENTER",
    "position": [0, 464, 0],
    "size": [480, 72, 1],
    "lowerBound": 5,
    "upperBound": 100,
    "showPopup": true,
    "showValue": true,
    "valuePrecision": 0,
    "value": 50.0,
    "trackVisual": {
      "size": [0, 10]
    },
    "handleVisual": {
      "size": [48, 48]
    }
  }, {
    "type": "Slider",
    "parentOrigin": "TOP_CENTER",
    "position": [0, 544, 0],
    "size": [480, 72, 1],
    "lowerBound": 10,
    "upperBound": 100,
    "showPopup": true,
    "showValue": true,
    "valuePrescision": 0,
    "value": 100.0,
    "trackVisual": {
      "url": "{DEMO_IMAGE_DIR}button-up-14.9.png",
      "size": [0, 30]
    },
    "handleVisual": {
      "url": "{DEMO_IMAGE_DIR}blocks-ball.png",
      "size": [48, 48]
    },
    "progressVisual": {
      "url": "{DEMO_IMAGE_DIR}button-down.9.png"
    }
  }, {
    "type": "Slider",
    "parentOrigin": "TOP_CENTER",
    "position": [0, 624, 0],
    "size": [480, 72, 1],
    "lowerBound": 10,
    "upperBound": 100,
    "showPopup": true,
    "showValue": true,
    "valuePrecision": 0,
    "value": 50.0,
    "trackVisual": {
      "size": [0, 10]
    },
    "handleVisual": {
      "size": [48, 48]
    }
  }, {
    "type": "Slider",
    "parentOrigin": "TOP_CENTER",
    "position": [0, 704, 0],
    "size": [480, 72, 1],
    "lowerBound": 10,
    "upperBound": 100,
    "showPopup": true,
    "showValue": true,
    "valuePrecision": 0,
    "value": 50.0,
    "trackVisual": {
      "size": [0, 10]
    },
    "handleVisual": {
      "size": [48, 48]
    },
    "disabledColor": [1, 0, 0, 1]
  }]
}