Interface I_CmsHasGhostValue

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setGhostMode​(boolean enable)
      Enables or disables ghost mode, if possible.
      void setGhostValue​(java.lang.String value, boolean isGhostMode)
      Sets the "ghost value" of the widget and optionally sets it to "ghost mode".
    • Method Detail

      • setGhostMode

        void setGhostMode​(boolean enable)
        Enables or disables ghost mode, if possible.

        Parameters:
        enable - if ghost mode should be enabled, else disabled
      • setGhostValue

        void setGhostValue​(java.lang.String value,
                           boolean isGhostMode)
        Sets the "ghost value" of the widget and optionally sets it to "ghost mode".

        "Ghost mode" can be used to show the user the value (called "ghost value") which will be used if he either doesn't choose an option in the widget, or explicitly chooses an "empty" or "default" option.

        Parameters:
        value - the ghost value
        isGhostMode - if true, sets the widget to ghost mode