Interface BindableModel

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void bind​(Binding toBind)
      Attach the binding to the model.
      <T extends java.lang.Enum<T> & ModelUpdate>
      void
      modelUpdated​(T... changed)
      Alert the bindings that the model has updated with the specified change types.
      void unbind​(Binding toUnbind)
      Removes the passed binding from this model.
    • Method Detail

      • bind

        void bind​(Binding toBind)
        Attach the binding to the model. Whenever the model is updated then the binding will be triggered.
      • unbind

        void unbind​(Binding toUnbind)
        Removes the passed binding from this model.
      • modelUpdated

        <T extends java.lang.Enum<T> & ModelUpdate> void modelUpdated​(T... changed)
        Alert the bindings that the model has updated with the specified change types.
        Parameters:
        changed - list of change types to indicate