/**
* Overrides this method to provide user-specific initialization code before the control is added to a container. @n
* The %OnInitializing() method is called when the control is about to be added to a container.
- * To cancel adding the control to the parent, return @c E_FAILURE in this method.
+ * To cancel adding the control to the parent, return any exception other than @c E_SUCCESS.
*
* @since 2.0
*
* @exception E_UNSUPPORTED_OPERATION This control is neither movable nor resizable.
* @exception E_INVALID_ARG The specified input parameter is invalid.
* @exception E_SYSTEM A system error has occurred.
- * @remarks Do not override this method.
* @see IsMovable()
* @see IsResizable()
* @see GetMinimumSize()
* @exception E_UNSUPPORTED_OPERATION This control is neither movable nor resizable.
* @exception E_INVALID_ARG The specified input parameter is invalid.
* @exception E_SYSTEM A system error has occurred.
- * @remarks Do not override this method.
* @see IsMovable()
* @see IsResizable()
* @see GetMinimumSize()
* @exception E_UNSUPPORTED_OPERATION This control is neither movable nor resizable.
* @exception E_INVALID_ARG A specified input parameter is invalid.
* @exception E_SYSTEM A system error has occurred.
- * @remarks Do not override this method.
* @see IsMovable()
* @see IsResizable()
* @see GetMinimumSize()
* @exception E_UNSUPPORTED_OPERATION This control is neither movable nor resizable.
* @exception E_INVALID_ARG A specified input parameter is invalid.
* @exception E_SYSTEM A system error has occurred.
- * @remarks Do not override this method.
* @see IsMovable()
* @see IsResizable()
* @see GetMinimumSize()
* @exception E_INVALID_OPERATION The control has not been constructed as yet.
* @exception E_UNSUPPORTED_OPERATION This control is not movable.
* @exception E_SYSTEM A system error has occurred.
- * @remarks Do not override this method.
* @see IsMovable()
* @see SetBounds()
*/
* @exception E_INVALID_OPERATION The control has not been constructed as yet.
* @exception E_UNSUPPORTED_OPERATION This control is not movable.
* @exception E_SYSTEM A system error has occurred.
- * @remarks Do not override this method.
* @see IsMovable()
* @see SetBounds()
*/
* @exception E_INVALID_OPERATION The control has not been constructed as yet.
* @exception E_UNSUPPORTED_OPERATION This control is not movable.
* @exception E_SYSTEM A system error has occurred.
- * @remarks Do not override this method.
* @see IsMovable()
* @see SetBounds()
*/
* @exception E_INVALID_OPERATION The control has not been constructed as yet.
* @exception E_UNSUPPORTED_OPERATION This control is not movable.
* @exception E_SYSTEM A system error has occurred.
- * @remarks Do not override this method.
* @see IsMovable()
* @see SetBounds()
*/
* @exception E_UNSUPPORTED_OPERATION This control is not resizable.
* @exception E_INVALID_ARG The specified input parameter is invalid.
* @exception E_SYSTEM A system error has occurred.
- * @remarks Do not override this method.
* @see IsResizable()
* @see GetMinimumSize()
* @see GetMaximumSize()
* @exception E_UNSUPPORTED_OPERATION This control is not resizable.
* @exception E_INVALID_ARG The specified input parameter is invalid.
* @exception E_SYSTEM A system error has occurred.
- * @remarks Do not override this method.
* @see IsResizable()
* @see GetMinimumSize()
* @see GetMaximumSize()
* @exception E_UNSUPPORTED_OPERATION This control is not resizable.
* @exception E_INVALID_ARG A specified input parameter is invalid.
* @exception E_SYSTEM A system error has occurred.
- * @remarks Do not override this method.
* @see IsResizable()
* @see GetMinimumSize()
* @see GetMaximumSize()
* @exception E_UNSUPPORTED_OPERATION This control is not resizable.
* @exception E_INVALID_ARG A specified input parameter is invalid.
* @exception E_SYSTEM A system error has occurred.
- * @remarks Do not override this method.
* @see IsResizable()
* @see GetMinimumSize()
* @see GetMaximumSize()
* if (pCanvas != null)
* {
* // adds your drawing code here
- * }
- * if (pCanvas)
- * {
+ *
* delete pCanvas;
- * }
+ * }
* // Do not call Show(). It will be called automatically after OnDraw() callback.
* return r;
* }
*
* @since 2.0
*
- * @return @c true if the control is currently visible on the screen, @n
- * else @c false either this method is called before the control is added to a parent or the control is not visible on the screen
+ * @return @c true if the show states of the specified control and tis ancestor controls are set to @c true, @n
+ * else @c false if this method is called before the control is added to a parent or the show state
+ * of the specified control or its parent control is set to @c false.
* @see GetShowState()
* @see SetShowState()
*/
* Note: This control cannot be displayed.
* @exception E_SYSTEM A system error has occurred.
* @remarks
- * - Do not override this method.
* - Even if this method is invoked, the control is not drawn or shown. @n
* To display the control, use the Invalidate() methods. @n
* Once the control's show state is set to @c false,
* @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of the specified operation.
* Note: This control cannot be displayed.
* @exception E_INVALID_CONDITION The control is not contained in, or is not the top z-order frame or form.
- * @remarks Do not override this method.
*/
result SetFocus(void);
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of the specified operation.
* @exception E_SYSTEM A system error has occurred.
- * @remarks Do not override this method.
*/
result SetEnabled(bool enable);
* @since 2.1
*
* @param[in] rect The bounds of the content area
+ * @remarks The content area can be used for the fitting policy of layout is ::FIT_POLICY_CONTENT.
* @see GetContentAreaBounds()
*/
void SetContentAreaBounds(const Tizen::Graphics::Rectangle& rect);
* @since 2.1
*
* @param[in] rect The bounds of the content area
+ * @remarks The content area can be used for the fitting policy of layout is ::FIT_POLICY_CONTENT.
* @see GetContentAreaBoundsF()
*/
void SetContentAreaBounds(const Tizen::Graphics::FloatRectangle& rect);