Class AuthorityGroupSelector

  • All Implemented Interfaces:
    WidgetController, WidgetDragAndDropAware, WidgetInstanceManagerAware, java.io.Serializable, org.zkoss.zk.ui.event.EventListener, org.zkoss.zk.ui.event.SerializableEventListener, org.zkoss.zk.ui.util.ComponentActivationListener, org.zkoss.zk.ui.util.ComponentCloneListener, org.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>, org.zkoss.zk.ui.util.ComposerExt<org.zkoss.zk.ui.Component>

    public class AuthorityGroupSelector
    extends DefaultWidgetController
    Widget for change the active authority group for the current user.
    See Also:
    Serialized Form
    • Field Detail

      • SOCKET_OUT_AUTHORITYGROUP

        public static final java.lang.String SOCKET_OUT_AUTHORITYGROUP
        See Also:
        Constant Field Values
    • Constructor Detail

      • AuthorityGroupSelector

        public AuthorityGroupSelector()
    • Method Detail

      • initialize

        public void initialize​(org.zkoss.zk.ui.Component comp)
        Displaying all available authority groups for the current user in a list box. The active authority group will be checked initially. By clicking the proceed button the checked authority group will be send out and the page will be reloaded.
        Overrides:
        initialize in class DefaultWidgetController
      • getDisplayLabel

        protected java.lang.String getDisplayLabel​(AuthorityGroup authorityGroup)
      • selectAuthorityGroup

        protected void selectAuthorityGroup​(java.lang.String code)
      • getAuthorityGroupSelectorListbox

        public org.zkoss.zul.Listbox getAuthorityGroupSelectorListbox()
      • getSelectorButton

        public org.zkoss.zul.Button getSelectorButton()