Package org.adempiere.webui.panel
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 Summary
Modifier and TypeFieldDescriptionprotected org.zkoss.zul.impl.LabelImageElement
protected org.zkoss.zk.ui.Component
protected Properties
protected org.zkoss.zul.impl.LabelImageElement
protected Menupopup
protected Label
protected org.zkoss.zul.impl.LabelImageElement
protected org.zkoss.zul.impl.LabelImageElement
protected WPreference
protected org.zkoss.zk.ui.Component
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doAfterCompose
(org.zkoss.zk.ui.Component comp) protected void
onCreate()
Call when UI is compose from zul definitionvoid
onEvent
(org.zkoss.zk.ui.event.Event event) protected void
Open user panel popup for mobile client
-
Field Details
-
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
-
preferencePopup
-
feedbackMenu
-
component
protected org.zkoss.zk.ui.Component component -
userPanelLinksContainer
protected org.zkoss.zk.ui.Component userPanelLinksContainer
-
-
Constructor Details
-
UserPanel
public UserPanel()Default constructor
-
-
Method Details
-
onCreate
protected void onCreate()Call when UI is compose from zul definition -
onEvent
- Specified by:
onEvent
in interfaceorg.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
- Specified by:
doAfterCompose
in interfaceorg.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>
- Throws:
Exception
-