__annexOnOffHandlerMoved = false;
__itemTouchMoved = false;
- __itemSelected = false;
- __drawingStatus = TABLE_VIEW_ITEM_DRAWING_STATUS_NORMAL;
-
- if (__annexStyle == TABLE_VIEW_ANNEX_STYLE_DETAILED)
- {
- __isSelectedDetailButton = false;
- }
-
- SetItemChanged(true);
- Invalidate();
+ ResetItemState();
if (&source != this)
{
return false;
}
+void
+_TableViewItem::OnFocusModeStateChanged(void)
+{
+ __releasedControl = TABLE_VIEW_ITEM_PRESSED_NONE;
+
+ ResetItemState();
+}
+
+void
+_TableViewItem::ResetItemState(void)
+{
+ __itemSelected = false;
+ __drawingStatus = TABLE_VIEW_ITEM_DRAWING_STATUS_NORMAL;
+
+ if (__annexStyle == TABLE_VIEW_ANNEX_STYLE_DETAILED)
+ {
+ __isSelectedDetailButton = false;
+ }
+
+ SetItemChanged(true);
+ Invalidate();
+}
+
_Control*
_TableViewItem::GetPreviousFocusChildControl(const _Control& source)
{
virtual bool OnKeyPressed(const _Control& source, const _KeyInfo& keyInfo);
virtual bool OnKeyReleased(const _Control& source, const _KeyInfo& keyInfo);
virtual bool IsChildControlFocusManage(void) const;
+ virtual void OnFocusModeStateChanged(void);
bool SetItemTapSoundEnabled(bool tapSoundEnabled);
bool GetItemTapSoundEnabled(void);
void DrawAnnexFocus(void);
+ void ResetItemState(void);
virtual Tizen::Graphics::Canvas* OnCanvasRequestedN(const Tizen::Graphics::FloatRectangle& bounds);