fi.paatti.mobile.views.diaryview
Class DiaryViewLogic

java.lang.Object
  extended by fi.paatti.mobile.views.diaryview.DiaryViewLogic
All Implemented Interfaces:
MobileViewLogic

public class DiaryViewLogic
extends Object
implements MobileViewLogic

Logic for the diary view.

Author:
Lauri Satokangas, lauri.n.satokangas@student.jyu.fi @date 17.3.2012
 

Constructor Summary
DiaryViewLogic(MobileViewHandler viewHandler, DiaryView diaryView)
          The constructor.
 
Method Summary
 void footerButtonAction(Object buttonId)
          What will be done when footer (left, middle, right) button has been clicked.
 HashMap<Object,com.vaadin.ui.Component> getFooterComponents()
          Get all the footer components (buttons).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiaryViewLogic

public DiaryViewLogic(MobileViewHandler viewHandler,
                      DiaryView diaryView)
The constructor.

Parameters:
viewHandler - The applications view handler
diaryView - The view that uses this logic
Method Detail

footerButtonAction

public void footerButtonAction(Object buttonId)
Description copied from interface: MobileViewLogic
What will be done when footer (left, middle, right) button has been clicked.

Specified by:
footerButtonAction in interface MobileViewLogic
Parameters:
buttonId - The id of the button.

getFooterComponents

public HashMap<Object,com.vaadin.ui.Component> getFooterComponents()
Description copied from interface: MobileViewLogic
Get all the footer components (buttons).

Specified by:
getFooterComponents in interface MobileViewLogic
Returns:
The footer components.


Copyright © 2012. All Rights Reserved.