Class UIEnvironmentRO

  • All Implemented Interfaces:
    com.im.commons.progress.DFEnvironmentRO, com.im.commons.progress.DFFeedback, com.im.df.api.support.DFFeedbackWithModalProgressDialog, org.openide.util.Cancellable
    Direct Known Subclasses:
    UIEnvironmentRW

    public class UIEnvironmentRO
    extends java.lang.Object
    implements com.im.commons.progress.DFEnvironmentRO, com.im.commons.progress.DFFeedback, com.im.df.api.support.DFFeedbackWithModalProgressDialog, org.openide.util.Cancellable
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.im.commons.progress.DFFeedback

        com.im.commons.progress.DFFeedback.Type
    • Field Summary

      • Fields inherited from interface com.im.commons.progress.DFEnvironmentRO

        DEV_NULL
      • Fields inherited from interface com.im.commons.progress.DFFeedback

        DEV_NULL, PROPERTY_CANCEL
    • Constructor Summary

      Constructors 
      Constructor Description
      UIEnvironmentRO​(java.lang.String progressHandlerName, boolean cancelable)  
    • Constructor Detail

      • UIEnvironmentRO

        public UIEnvironmentRO​(java.lang.String progressHandlerName,
                               boolean cancelable)
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface com.im.commons.progress.DFFeedback
      • openModalProgressDialog

        public void openModalProgressDialog()
        Specified by:
        openModalProgressDialog in interface com.im.df.api.support.DFFeedbackWithModalProgressDialog
      • closeModalProgressDialog

        public void closeModalProgressDialog()
        Specified by:
        closeModalProgressDialog in interface com.im.df.api.support.DFFeedbackWithModalProgressDialog
      • getFeedback

        public com.im.commons.progress.DFFeedback getFeedback()
        Specified by:
        getFeedback in interface com.im.commons.progress.DFEnvironmentRO
      • addMessage

        public void addMessage​(com.im.commons.progress.DFFeedback.Type type,
                               java.lang.Object messageObj,
                               java.lang.Throwable exc)
        Specified by:
        addMessage in interface com.im.commons.progress.DFFeedback
      • switchToIndeterminate

        public void switchToIndeterminate()
        Specified by:
        switchToIndeterminate in interface com.im.commons.progress.DFFeedback
      • switchToDeterminate

        public void switchToDeterminate​(int workunits)
        Specified by:
        switchToDeterminate in interface com.im.commons.progress.DFFeedback
      • progress

        public void progress​(int workunit)
        Specified by:
        progress in interface com.im.commons.progress.DFFeedback
      • finish

        public void finish()
        Specified by:
        finish in interface com.im.commons.progress.DFFeedback
      • finalize

        public void finalize()
                      throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • isCancelled

        public boolean isCancelled()
        Specified by:
        isCancelled in interface com.im.commons.progress.DFFeedback
      • cancel

        public boolean cancel()
        Specified by:
        cancel in interface org.openide.util.Cancellable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • addPropertyChangeListener

        public void addPropertyChangeListener​(java.beans.PropertyChangeListener listener)
        Specified by:
        addPropertyChangeListener in interface com.im.commons.progress.DFFeedback
      • removePropertyChangeListener

        public void removePropertyChangeListener​(java.beans.PropertyChangeListener listener)
        Specified by:
        removePropertyChangeListener in interface com.im.commons.progress.DFFeedback