Interface Transmittable<T>

Type Parameters:
T - The type of the target object that can receive the transmission
All Known Subinterfaces:
ColorProperty, ConfigOption<T>, Transceivable<T>, Vector2fProperty, Vector3fProperty, Vector4fProperty
All Known Implementing Classes:
AdaptiveColorProperty, AnimatedColorProperty, AnimatedColorProperty.AnimatedAlpha, BooleanConfigOption, Color, Colour, DelegatedVector2fProperty, DelegatedVector3fProperty, DelegatedVector4fProperty, FixedColorProperty, FloatConfigOption, IntConfigOption, LocalStorage, ObjectConfigOption, RandomVector2fProperty, SessionStorage, Storage, StringConfigOption, StyledColorProperty, TransitionedColorProperty, VariableColorProperty

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

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

      static <T> T transmitBetween(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