Lines Matching defs:button
29 * @brief Defines the attributes and common functions of a button.
44 * @brief Represents a button.
62 * @brief A constructor used to create a <b>UIButton</b> instance based on the button ID.
66 * @param id Indicates the button ID.
153 * @brief Enumerates the images for different button states.
155 * You can define a different image for each button state.
170 * @brief Sets the image for this button.
173 * @param triggeredImgSrc Indicates the image for a button when it is triggered.
180 * @brief Sets the image for this button.
183 * @param triggeredImgSrc Indicates the image for a button when it is triggered.
228 * @brief Obtains the image for the current button state.
230 * @return Returns the image for the current button state.
237 * @brief Enumerates the states of this button.
239 * The button has three states.
270 * @brief Obtains the height of this button.
284 * @brief Sets the width for this button.
370 * @brief Obtains the style of a button in a specific state.
373 * @param state Indicates the button state, as enumerated in {@link ButtonState}.
374 * @return Returns the style of the button in the specific state.
381 * @brief Sets the style for a button in a specific state.
385 * @param state Indicates the button state, as enumerated in {@link ButtonState}.
392 * @brief Disables this button.
400 * @brief Enables this button.
408 * @brief Sets the state for a button. After the setting, calling {@link SetStyle}
409 * will change the style of this button, but not its state.
411 * @param state Indicates the button state, as enumerated in {@link ButtonState}.
462 ButtonAnimator(UIButton& button) : animator_(this, nullptr, 0, false), button_(button) {}