Package dev.prozilla.pine.common
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 TypeMethodDescriptionstatic <T> voidtransmit(Transmittable<T> source, T target) Transmits the data of a source to a given target object, if neither object isnull.voidTransmits this object's data to a given target object.
-
Method Details
-
transmit
Transmits this object's data to a given target object.- Parameters:
target- The target object to transmit data to
-
transmit
Transmits the data of a source to a given target object, if neither object isnull.- Type Parameters:
T- The type of target object- Parameters:
source- The source to read data fromtarget- The target to transmit data to
-