Class SaperionToolbarView

  • All Implemented Interfaces:
    EventChild, java.io.Serializable, java.lang.Cloneable, org.zkoss.zk.ui.Component, org.zkoss.zk.ui.ext.Scope, org.zkoss.zk.ui.sys.ComponentCtrl, org.zkoss.zul.ext.Framable

    public class SaperionToolbarView
    extends org.zkoss.zul.Panel
    implements EventChild
    The implementation of the toolbar in the main-window of the webclient.
    See Also:
    Serialized Form
    • Constructor Detail

      • SaperionToolbarView

        public SaperionToolbarView()
        ToolbarView in north-area of the client Constructor.
    • Method Detail

      • setLocaleList

        public void setLocaleList​(java.util.List<java.util.Locale> localeList)
        Adds the Locales-list (containing languages) to Language Combobox .
        Parameters:
        localeList - localeList
      • setComboBoxLocale

        public void setComboBoxLocale​(java.util.Locale chosenLocale)
        Sets the language which should be selected in the Combobox .
        Parameters:
        chosenLocale - the chosen locale
      • setUsername

        public void setUsername​(java.lang.String nameOfUser)
        Parameters:
        nameOfUser - User name
      • setApplicationName

        public void setApplicationName​(java.lang.String name)
        Parameters:
        name - Application name
      • onLogon

        public void onLogon​(org.zkoss.zk.ui.event.Event event)
        Parameters:
        event - Logon event
      • getEventtarget

        public java.util.Set<org.zkoss.zk.ui.Component> getEventtarget​(java.lang.String eventName)
        Reads the event target for the given event name, if set or the root element.
        Specified by:
        getEventtarget in interface EventChild
        Parameters:
        eventName - Event name or null for main target
        Returns:
        Set of event targets
        See Also:
        EventChild.getEventtarget(java.lang.String)