Interface AnnotationColorConfiguration.Builder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract T setDefaultColor(@ColorInt() int defaultColor) Sets default foreground color.
      abstract T setAvailableColors(@NonNull() List<Integer> availableColors) Sets colors that will be available in the color picker.
      abstract T setCustomColorPickerEnabled(boolean customColorPickerEnabled) Sets whether or not the custom color picker is used.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • setDefaultColor

        @NonNull() abstract T setDefaultColor(@ColorInt() int defaultColor)

        Sets default foreground color.

        Parameters:
        defaultColor - Foreground color used as default for newly created annotations.
      • setCustomColorPickerEnabled

        @NonNull() abstract T setCustomColorPickerEnabled(boolean customColorPickerEnabled)

        Sets whether or not the custom color picker is used.

        Parameters:
        customColorPickerEnabled - true if the custom color picker should be used, false otherwise.