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 a CustomColor.
Author:
XIMA MEDIA GmbH
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • 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)
      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.