Class StyledDimensionProperty
java.lang.Object
dev.prozilla.pine.common.property.VariableProperty<DimensionBase>
dev.prozilla.pine.common.property.style.StyledProperty<DimensionBase>
dev.prozilla.pine.common.property.style.StyledDimensionProperty
- 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
ConstructorsConstructorDescriptionStyledDimensionProperty(StyledPropertyKey<DimensionBase> name, Node node, List<StyleRule<DimensionBase>> styleRules, AdaptivePropertyBase<DimensionBase> defaultValue) StyledDimensionProperty(StyledPropertyKey<DimensionBase> name, Node node, List<StyleRule<DimensionBase>> styleRules, AdaptivePropertyBase<DimensionBase> defaultValue, List<StyleRule<AnimationCurve>> transitionRules) -
Method Summary
Modifier and TypeMethodDescriptionprotected AdaptiveProperty<DimensionBase> protected AdaptiveProperty<DimensionBase> createAdaptiveProperty(VariableProperty<DimensionBase> property) protected TransitionedDimensionPropertycreateTransitionedProperty(DimensionBase 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
-
StyledDimensionProperty
public StyledDimensionProperty(StyledPropertyKey<DimensionBase> name, Node node, List<StyleRule<DimensionBase>> styleRules, AdaptivePropertyBase<DimensionBase> defaultValue) -
StyledDimensionProperty
public StyledDimensionProperty(StyledPropertyKey<DimensionBase> name, Node node, List<StyleRule<DimensionBase>> styleRules, AdaptivePropertyBase<DimensionBase> defaultValue, List<StyleRule<AnimationCurve>> transitionRules)
-
-
Method Details
-
createAdaptiveProperty
- Specified by:
createAdaptivePropertyin classStyledProperty<DimensionBase>
-
createAdaptiveProperty
protected AdaptiveProperty<DimensionBase> createAdaptiveProperty(VariableProperty<DimensionBase> property) - Specified by:
createAdaptivePropertyin classStyledProperty<DimensionBase>
-
createTransitionedProperty
protected TransitionedDimensionProperty createTransitionedProperty(DimensionBase initialValue, AnimationCurve curve) - Specified by:
createTransitionedPropertyin classStyledProperty<DimensionBase>
-