fi.paatti.mobile.views.loginview
Class LoginViewLogic

java.lang.Object
  extended by fi.paatti.mobile.views.loginview.LoginViewLogic
All Implemented Interfaces:
MobileViewLogic

public class LoginViewLogic
extends Object
implements MobileViewLogic

The logic for the login view.

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

Constructor Summary
LoginViewLogic(MobileViewHandler viewHandler, LoginView loginView)
          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

LoginViewLogic

public LoginViewLogic(MobileViewHandler viewHandler,
                      LoginView loginView)
Constructor.

Parameters:
viewHandler - The applications view handler.
loginView - 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.