Package de.xima.fc.gui.common.model
Class CustomColor.Builder
java.lang.Object
de.xima.fc.gui.common.model.CustomColor.Builder
- Enclosing class:
- CustomColor
Simple builder for a
CustomColor
.- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
<T extends Serializable>
CustomColor.Builderwith
(IColorField<T> field, T value) Adss the given field to the custom color.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
- Returns:
- The custom color with the current settings.
-
with
Adss the given field to the custom color.- Type Parameters:
T
- Type of the field value.- Parameters:
field
- A field to support.value
- The value of the field.- Returns:
- this for chaining.
-