1 #ifndef DALI_HIDDEN_INPUT_PROPERTIES_H
2 #define DALI_HIDDEN_INPUT_PROPERTIES_H
5 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
28 * @addtogroup dali_toolkit_controls_text_controls
36 * @brief HiddenInput Property.
43 * @brief HiddenInput Property.
49 * @brief The mode for input text display.
50 * @details Name "mode", type HiddenInput::Mode (Property::INTEGER).
53 * @see HiddenInput::Mode
58 * @brief All input characters are substituted by this character.
59 * @details Name "substituteCharacter", type Property::INTEGER.
66 * @brief Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
67 * @details Name "substituteCount", type Property::INTEGER.
74 * @brief Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
75 * @details Name "showDuration", type Property::INTEGER.
79 SHOW_LAST_CHARACTER_DURATION
82 } // namespace Property
85 * @brief The type for HiddenInput::Property::MODE.
92 * @brief The type for HiddenInput::Property::MODE.
97 HIDE_NONE, ///< Do not hide text. @SINCE_1_2.60
98 HIDE_ALL, ///< Hide all the input text. @SINCE_1_2.60
99 HIDE_COUNT, ///< Hide n characters from start. @SINCE_1_2.60
100 SHOW_COUNT, ///< Show n characters from start. @SINCE_1_2.60
101 SHOW_LAST_CHARACTER ///< Show last character for the duration (use Property::SHOW_LAST_CHARACTER_DURATION to modify duration). @SINCE_1_2.60
106 } // namespace HiddenInput
112 } // namespace Toolkit
116 #endif // DALI_HIDDEN_INPUT_PROPERTIES_H