Class HiddenValueCallback

    • Constructor Detail

      • HiddenValueCallback

        public HiddenValueCallback​(String id)
        Create a new HiddenValueCallback with the id as specified.
        Parameters:
        id - The id for the HiddenValueCallback when it is rendered as an HTML element.
      • HiddenValueCallback

        public HiddenValueCallback​(String id,
                                   String value)
        Create a new HiddenValueCallback with the id and initial value as specified.
        Parameters:
        id - The id for the HiddenValueCallback when it is rendered as an HTML element.
        value - The initial value for the HiddenValueCallback when it is rendered as an HTML element.
    • Method Detail

      • getValue

        public String getValue()
        Get the value set on the HiddenValueCallback when it is sent in a REST request.
        Returns:
        The value set on the callback.
      • setValue

        public void setValue​(String value)
        Set the value on the HiddenValueCallback.
        Parameters:
        value - The value to set on the callback.
      • getId

        public String getId()
        Get the id for the HiddenValueCallback to use when it is rendered as an HTML element.
        Returns:
        The id for the callback.
      • getDefaultValue

        public String getDefaultValue()
        Get the initial default value set on the HiddenValueCallback.
        Returns:
        The initial default value.