Class StyledColorProperty
java.lang.Object
dev.prozilla.pine.common.property.VariableProperty<Color>
dev.prozilla.pine.common.property.style.StyledProperty<Color>
dev.prozilla.pine.common.property.style.StyledColorProperty
- All Implemented Interfaces:
Animatable
,Printable
,ColorProperty
,Transmittable<Color>
-
Field Summary
Fields inherited from class dev.prozilla.pine.common.property.style.StyledProperty
name, node, rules, transitionRules
Fields inherited from class dev.prozilla.pine.common.property.VariableProperty
random
-
Constructor Summary
ConstructorsConstructorDescriptionStyledColorProperty
(StyledPropertyKey<Color> name, Node node, List<StyleRule<Color>> styleRules, AdaptivePropertyBase<Color> defaultValue) StyledColorProperty
(StyledPropertyKey<Color> name, Node node, List<StyleRule<Color>> styleRules, AdaptivePropertyBase<Color> defaultValue, List<StyleRule<AnimationCurve>> transitionRules) -
Method Summary
Modifier and TypeMethodDescriptionprotected AdaptiveProperty
<Color> createAdaptiveProperty
(VariableProperty<Color> property) protected AdaptiveProperty
<Color> createAdaptiveProperty
(Color value) protected TransitionedColorProperty
createTransitionedProperty
(Color initialValue, AnimationCurve curve) void
Transmits this object's data to a given target object.Methods inherited from class dev.prozilla.pine.common.property.style.StyledProperty
addRule, addTransitionRule, applyRules, applyTransitionRules, getBestMatch, getValue, invalidate, restartAnimation, setAdaptiveProperty, supportsTransitions, toString, updateAnimation
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.prozilla.pine.common.property.ColorProperty
getColor
-
Constructor Details
-
StyledColorProperty
public StyledColorProperty(StyledPropertyKey<Color> name, Node node, List<StyleRule<Color>> styleRules, AdaptivePropertyBase<Color> defaultValue) -
StyledColorProperty
public StyledColorProperty(StyledPropertyKey<Color> name, Node node, List<StyleRule<Color>> styleRules, AdaptivePropertyBase<Color> defaultValue, List<StyleRule<AnimationCurve>> transitionRules)
-
-
Method Details
-
transmit
Description copied from interface:Transmittable
Transmits this object's data to a given target object.- Specified by:
transmit
in interfaceTransmittable<Color>
- Parameters:
target
- the target object to which data will be transmitted
-
createAdaptiveProperty
- Specified by:
createAdaptiveProperty
in classStyledProperty<Color>
-
createAdaptiveProperty
- Specified by:
createAdaptiveProperty
in classStyledProperty<Color>
-
createTransitionedProperty
protected TransitionedColorProperty createTransitionedProperty(Color initialValue, AnimationCurve curve) - Specified by:
createTransitionedProperty
in classStyledProperty<Color>
-