fi.paatti.mobile.views.confirmationview
Class ConfirmationViewLogic

java.lang.Object
  extended by fi.paatti.mobile.views.confirmationview.ConfirmationViewLogic
All Implemented Interfaces:
MobileViewLogic

public class ConfirmationViewLogic
extends Object
implements MobileViewLogic

Logic for the ConfirmationView.

Since:
0.0.3
Author:
Lauri Satokangas, lauri.n.satokangas@student.jyu.fi
 

Constructor Summary
ConfirmationViewLogic(MobileViewHandler viewHandler, Object viewToBeOpened)
          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

ConfirmationViewLogic

public ConfirmationViewLogic(MobileViewHandler viewHandler,
                             Object viewToBeOpened)
Constructor.

Parameters:
viewHandler - The program view handles.
viewToBeOpened - The id of the view that will be opened after confirmation.
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.