Package de.xima.fc.gui.common.model
Class CustomColor.Builder
- java.lang.Object
 - 
- de.xima.fc.gui.common.model.CustomColor.Builder
 
 
- 
- Enclosing class:
 - CustomColor
 
public static class CustomColor.Builder extends Object
Simple builder for aCustomColor.- Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IGuiColorbuild()<T extends Serializable>
CustomColor.Builderwith(IColorField<T> field, T value)Adds the given field to the custom color. 
 - 
 
- 
- 
Method Detail
- 
build
public IGuiColor build()
- Returns:
 - The custom color with the current settings.
 
 
- 
with
public <T extends Serializable> CustomColor.Builder with(IColorField<T> field, T value)
Adds 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.
 
 
 - 
 
 -