Interface I_CmsStringModel

  • All Superinterfaces:
    com.google.gwt.event.shared.HasHandlers, com.google.gwt.event.logical.shared.HasValueChangeHandlers<java.lang.String>
    All Known Implementing Classes:
    CmsDefaultStringModel

    public interface I_CmsStringModel
    extends com.google.gwt.event.logical.shared.HasValueChangeHandlers<java.lang.String>
    The interface for a string model.

    Since:
    8.0.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getId()
      Returns the model id.
      java.lang.String getValue()
      Returns the model value.
      void setValue​(java.lang.String value, boolean notify)
      Sets the model value.
      • Methods inherited from interface com.google.gwt.event.shared.HasHandlers

        fireEvent
      • Methods inherited from interface com.google.gwt.event.logical.shared.HasValueChangeHandlers

        addValueChangeHandler
    • Method Detail

      • getId

        java.lang.String getId()
        Returns the model id.

        Returns:
        the model id
      • getValue

        java.lang.String getValue()
        Returns the model value.

        Returns:
        the model value
      • setValue

        void setValue​(java.lang.String value,
                      boolean notify)
        Sets the model value.

        Parameters:
        value - the new model value
        notify - if true, value change listeners will be notified of the new value