summaryrefslogtreecommitdiff
path: root/src/plugins/emulator/src/com/motorola/studio/android/emulator/skin/android/parser/ILayoutConstants.java
blob: 98f71f3ec6a7615e35a8759b0ac2c29e1f7202d0 (plain)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
* Copyright (C) 2012 The Android Open Source Project
*
* 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.
*/
package com.motorola.studio.android.emulator.skin.android.parser;

/**
 * DESCRIPTION:
 * This class lists all default constants contained into a layout file
 *
 * RESPONSIBILITY:
 * Support on parsing of layout files
 *
 * COLABORATORS:
 * None.
 *
 * USAGE:
 * This class is intended to be used by the LayoutFileParser class only
 */
interface ILayoutConstants
{
    String OPEN_BRACKET = "{";

    String CLOSE_BRACKET = "}";

    String MAIN_LEVEL_PARTS = "parts";

    String MAIN_LEVEL_LAYOUTS = "layouts";

    String MAIN_LEVEL_KEYBOARD = "keyboard";

    String MAIN_LEVEL_NETWORK = "network";

    String MAIN_LEVEL_BACKGROUND = "background";

    String MAIN_LEVEL_DISPLAY = "display";

    String MAIN_LEVEL_BUTTON = "button";

    String PART_BUTTONS = "buttons";

    String KEYBOARD_CHARMAP = "charmap";

    String NETWORK_SPEED = "speed";

    String NETWORK_DELAY = "delay";

    String ATTR_WIDTH = "width";

    String ATTR_HEIGHT = "height";

    String ATTR_X = "x";

    String ATTR_Y = "y";

    String ATTR_IMAGE = "image";

    String ATTR_NAME = "name";

    String LAYOUT_COLOR = "color";

    String LAYOUT_EVENT = "event";

    String DPAD_ROTATION = "dpad-rotation";

    String PARTREF_ROTATION = "rotation";
}