Class LongOperationNotifier


  • public class LongOperationNotifier
    extends java.lang.Object
    Long operation notifier.
    • Field Detail

      • SCLASS_PROGRESS_VALUE_LABEL

        protected static final java.lang.String SCLASS_PROGRESS_VALUE_LABEL
        See Also:
        Constant Field Values
      • SCLASS_PROGRESS_METER_CONTAINER

        protected static final java.lang.String SCLASS_PROGRESS_METER_CONTAINER
        See Also:
        Constant Field Values
      • SCLASS_PROGRESS_CANCEL

        protected static final java.lang.String SCLASS_PROGRESS_CANCEL
        See Also:
        Constant Field Values
      • SCLASS_PROGRESS_TITLE

        protected static final java.lang.String SCLASS_PROGRESS_TITLE
        See Also:
        Constant Field Values
    • Method Detail

      • removeNotification

        public void removeNotification()
        Hides long operation notification by detaching renderComponent passed in showNotification(Component)
      • getProgress

        public Progress getProgress()
      • showNotification

        public void showNotification​(org.zkoss.zk.ui.Component renderComponent)
        Shows long operation notification.
        Parameters:
        renderComponent - component on which notification will be rendered. The component will be detached from parent when the notification is removed.
      • showNotification

        public void showNotification​(org.zkoss.zk.ui.Component renderComponent,
                                     Cancellable cancellable)
        Shows long operation notification.
        Parameters:
        renderComponent - component on which notification will be rendered. The component will be detached from parent when the notification is removed.
        cancellable - on cancel request from ui Cancellable.cancel() will be called.