Interface Transmittable<T>

Type Parameters:
T - The type of the target object that can receive the transmission
All Known Subinterfaces:
ColorProperty, Transceivable<T>
All Known Implementing Classes:
AdaptiveColorProperty, AnimatedColorProperty, AnimatedColorProperty.AnimatedAlpha, Color, Colour, LocalStorage, SessionStorage, Storage, StyledColorProperty, TransitionedColorProperty, VariableColorProperty

public interface Transmittable<T>
Represents an object that can transmit its data.
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> void
    transmit(Transmittable<T> source, T target)
    Transmits the data of a source to a given target object, if neither object is null.
    void
    transmit(T target)
    Transmits this object's data to a given target object.
  • Method Details

    • transmit

      void transmit(T target)
      Transmits this object's data to a given target object.
      Parameters:
      target - The target object to transmit data to
    • transmit

      static <T> void transmit(Transmittable<T> source, T target)
      Transmits the data of a source to a given target object, if neither object is null.
      Type Parameters:
      T - The type of target object
      Parameters:
      source - The source to read data from
      target - The target to transmit data to