Class StyledDualDimensionProperty
java.lang.Object
dev.prozilla.pine.common.property.VariableProperty<DualDimension>
dev.prozilla.pine.common.property.style.StyledProperty<DualDimension>
dev.prozilla.pine.common.property.style.StyledDualDimensionProperty
- All Implemented Interfaces:
Animatable,Printable
-
Field Summary
Fields inherited from class dev.prozilla.pine.common.property.style.StyledProperty
name, node, rules, transitionRulesFields inherited from class dev.prozilla.pine.common.property.VariableProperty
random -
Constructor Summary
ConstructorsConstructorDescriptionStyledDualDimensionProperty(StyledPropertyKey<DualDimension> name, Node node, List<StyleRule<DualDimension>> styleRules, AdaptivePropertyBase<DualDimension> defaultValue) StyledDualDimensionProperty(StyledPropertyKey<DualDimension> name, Node node, List<StyleRule<DualDimension>> styleRules, AdaptivePropertyBase<DualDimension> defaultValue, List<StyleRule<AnimationCurve>> transitionRules) -
Method Summary
Modifier and TypeMethodDescriptionprotected AdaptiveProperty<DualDimension> protected AdaptiveProperty<DualDimension> createAdaptiveProperty(VariableProperty<DualDimension> property) protected TransitionedDualDimensionPropertycreateTransitionedProperty(DualDimension initialValue, AnimationCurve curve) Methods inherited from class dev.prozilla.pine.common.property.style.StyledProperty
addRule, addTransitionRule, applyRules, applyTransitionRules, getBestMatch, getValue, invalidate, restartAnimation, setAdaptiveProperty, supportsTransitions, toString, updateAnimationMethods inherited from class dev.prozilla.pine.common.property.VariableProperty
exists, getValue, getValue, hasValue
-
Constructor Details
-
StyledDualDimensionProperty
public StyledDualDimensionProperty(StyledPropertyKey<DualDimension> name, Node node, List<StyleRule<DualDimension>> styleRules, AdaptivePropertyBase<DualDimension> defaultValue) -
StyledDualDimensionProperty
public StyledDualDimensionProperty(StyledPropertyKey<DualDimension> name, Node node, List<StyleRule<DualDimension>> styleRules, AdaptivePropertyBase<DualDimension> defaultValue, List<StyleRule<AnimationCurve>> transitionRules)
-
-
Method Details
-
createAdaptiveProperty
- Specified by:
createAdaptivePropertyin classStyledProperty<DualDimension>
-
createAdaptiveProperty
protected AdaptiveProperty<DualDimension> createAdaptiveProperty(VariableProperty<DualDimension> property) - Specified by:
createAdaptivePropertyin classStyledProperty<DualDimension>
-
createTransitionedProperty
protected TransitionedDualDimensionProperty createTransitionedProperty(DualDimension initialValue, AnimationCurve curve) - Specified by:
createTransitionedPropertyin classStyledProperty<DualDimension>
-