Class WLogin

All Implemented Interfaces:
ISupportMask, UIPart

public class WLogin extends AbstractUIPart
Manage login window for login and role selection
Author:
Ashley G Ramdass, Low Heng Sin
  • Constructor Details

    • WLogin

      public WLogin(IWebClient app)
      Parameters:
      app -
  • Method Details

    • doCreatePart

      protected org.zkoss.zk.ui.Component doCreatePart(org.zkoss.zk.ui.Component parent)
      Create UI from login.zul file.
      The main layout component ("layout") must be instance of Borderlayout.
      Get loginWindow reference from zul using id "loginWindow".
      Specified by:
      doCreatePart in class AbstractUIPart
      Parameters:
      parent - parent Component or null for root UI block
      Returns:
      Component
    • detach

      public void detach()
      detach/dispose window content
    • getComponent

      public org.zkoss.zk.ui.Component getComponent()
      Description copied from interface: UIPart
      Get root component of UI block
      Returns:
      Component
    • changeRole

      public void changeRole(Locale locale, Properties properties)
      Show change role panel in loginWindow
      Parameters:
      locale -
      properties - env context