Class FixedColorProperty
java.lang.Object
dev.prozilla.pine.common.property.fixed.FixedObjectProperty<Color>
dev.prozilla.pine.common.property.fixed.FixedColorProperty
- All Implemented Interfaces:
Cloneable<FixedObjectProperty<Color>>,ColorProperty,FixedProperty<Color>,Property<Color>,Transmittable<Color>,Functor<Color>
-
Field Summary
Fields inherited from class dev.prozilla.pine.common.property.fixed.FixedObjectProperty
value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreplaceNull(Color defaultValue) Returns a property whose value is the value of this property, ordefaultValueif the value of this property isnull.Methods inherited from class dev.prozilla.pine.common.property.fixed.FixedObjectProperty
clone, equals, equals, getValueMethods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.prozilla.pine.common.property.ColorProperty
getColor, transmitMethods inherited from interface dev.prozilla.pine.common.property.fixed.FixedProperty
hasValueProperty, isNotNullProperty, map, snapshot, toStringPropertyMethods inherited from interface dev.prozilla.pine.common.property.Property
getValue, getValueOr, hasValue, isNotNull, isNull, requireValue
-
Constructor Details
-
FixedColorProperty
-
-
Method Details
-
replaceNull
Description copied from interface:PropertyReturns a property whose value is the value of this property, ordefaultValueif the value of this property isnull.- Specified by:
replaceNullin interfaceColorProperty- Specified by:
replaceNullin interfaceFixedProperty<Color>- Specified by:
replaceNullin interfaceProperty<Color>- Returns:
- A property whose value is never
null.
-