Class AdaptiveProperty<T>
java.lang.Object
dev.prozilla.pine.common.property.VariableProperty<T>
dev.prozilla.pine.common.property.adaptive.AdaptivePropertyBase<T>
dev.prozilla.pine.common.property.adaptive.AdaptiveProperty<T>
- All Implemented Interfaces:
- Animatable
- Direct Known Subclasses:
- AdaptiveColorProperty,- AdaptiveDimensionProperty,- AdaptiveDirectionProperty,- AdaptiveDistributionProperty,- AdaptiveDualDimensionProperty,- AdaptiveEdgeAlignmentProperty,- AdaptiveGridAlignmentProperty,- AdaptiveObjectProperty,- AdaptiveStringProperty
A generic optimized property that can either have a fixed or dynamic value.
- 
Field SummaryFields inherited from class dev.prozilla.pine.common.property.adaptive.AdaptivePropertyBaseanimatedProperty, variablePropertyFields inherited from class dev.prozilla.pine.common.property.VariablePropertyrandom
- 
Constructor SummaryConstructorsConstructorDescriptionAdaptiveProperty(VariableProperty<T> variableProperty) Creates a new property with a dynamic value.AdaptiveProperty(T fixedValue) Creates a new property with a fixed value.
- 
Method SummaryMethods inherited from class dev.prozilla.pine.common.property.adaptive.AdaptivePropertyBaseisAnimated, isDynamic, restartAnimation, updateAnimationMethods inherited from class dev.prozilla.pine.common.property.VariablePropertyexists, hasValue
- 
Constructor Details- 
AdaptivePropertyCreates a new property with a dynamic value.- Parameters:
- variableProperty- Variable property that determines the value of this property
 
- 
AdaptivePropertyCreates a new property with a fixed value.
 
- 
- 
Method Details- 
getValueDescription copied from class:VariablePropertyReturns the value of this property.- Specified by:
- getValuein class- VariableProperty<T>
- Returns:
- The value of this property.
 
 
-