org.fuin.examples.apps4pivot
Class LoginViewImpl

java.lang.Object
  extended by org.fuin.examples.apps4pivot.LoginViewImpl
All Implemented Interfaces:
org.fuin.apps4j.View<LoginController>, LoginView

public final class LoginViewImpl
extends java.lang.Object
implements LoginView

Implements the login view using the Apache Pivot framework.


Constructor Summary
LoginViewImpl()
          Default constructor.
 
Method Summary
 void block()
          
 LoginController getController()
          
 org.apache.pivot.wtk.Window getViewUI()
          
 void setController(LoginController ctrl)
          
 void setMessage(java.lang.String message)
          Sets a message in the view.
 void setUsername(java.lang.String username)
          Sets the username in the view.
 void unblock()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginViewImpl

public LoginViewImpl()
Default constructor.

Method Detail

setMessage

public final void setMessage(java.lang.String message)
Sets a message in the view.

Specified by:
setMessage in interface LoginView
Parameters:
message - Message to set.

setUsername

public final void setUsername(java.lang.String username)
Sets the username in the view.

Specified by:
setUsername in interface LoginView
Parameters:
username - Username to set.

block

public final void block()

Specified by:
block in interface org.fuin.apps4j.View<LoginController>

unblock

public final void unblock()

Specified by:
unblock in interface org.fuin.apps4j.View<LoginController>

getViewUI

public final org.apache.pivot.wtk.Window getViewUI()

Specified by:
getViewUI in interface org.fuin.apps4j.View<LoginController>

getController

public final LoginController getController()

Specified by:
getController in interface org.fuin.apps4j.View<LoginController>

setController

public final void setController(LoginController ctrl)

Specified by:
setController in interface org.fuin.apps4j.View<LoginController>


Copyright © 2010 Future Invent Informationsmanagement GmbH. All Rights Reserved.