Class UserPanel

java.lang.Object
org.adempiere.webui.panel.UserPanel
All Implemented Interfaces:
org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>, org.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>

public class UserPanel extends Object implements org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>, org.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>
Desktop header panel for user info
Author:
Ashley G Ramdass
  • Field Details

    • ctx

      protected Properties ctx
    • logout

      protected org.zkoss.zul.impl.LabelImageElement logout
    • changeRole

      protected org.zkoss.zul.impl.LabelImageElement changeRole
    • preference

      protected org.zkoss.zul.impl.LabelImageElement preference
    • feedback

      protected org.zkoss.zul.impl.LabelImageElement feedback
    • lblUserNameValue

      protected Label lblUserNameValue
    • preferencePopup

      protected WPreference preferencePopup
    • feedbackMenu

      protected Menupopup feedbackMenu
    • component

      protected org.zkoss.zk.ui.Component component
  • Constructor Details

    • UserPanel

      public UserPanel()
      Default constructor
  • Method Details

    • onCreate

      protected void onCreate()
      Call when UI is compose from zul definition
    • onEvent

      public void onEvent(org.zkoss.zk.ui.event.Event event) throws Exception
      Specified by:
      onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
      Throws:
      Exception
    • openMobileUserPanelPopup

      protected void openMobileUserPanelPopup()
      Open user panel popup for mobile client
    • doAfterCompose

      public void doAfterCompose(org.zkoss.zk.ui.Component comp) throws Exception
      Specified by:
      doAfterCompose in interface org.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>
      Throws:
      Exception