public interface IGuiColor extends Serializable
EColorPalette.| Modifier and Type | Method and Description | 
|---|---|
<T extends Serializable> | 
getField(IColorField<T> field)
Finds the value of the given color palette field. 
 | 
default String | 
getStyleBackground()  | 
default String | 
getStyleClassBackground()  | 
default String | 
getStyleClassTextOnWhite()  | 
default String | 
getStyleTextOnWhite(boolean whiteToBlack)  | 
com.google.common.collect.ImmutableSet<IColorField<?>> | 
getSupportedFields()  | 
default boolean | 
supportsField(IColorField<?> field)
Checks whether the color field is supported by this color. 
 | 
default String getStyleBackground()
default String getStyleClassBackground()
default String getStyleClassTextOnWhite()
default String getStyleTextOnWhite(boolean whiteToBlack)
<T extends Serializable> T getField(IColorField<T> field) throws IllegalArgumentException
T - Type of the field value.field - A field to retrieve.IllegalArgumentException - If the given field is not supported, see EColorPalette.supportsField(de.xima.fc.gui.common.interfaces.IColorField<?>).com.google.common.collect.ImmutableSet<IColorField<?>> getSupportedFields()
supportsField(IColorField)default boolean supportsField(IColorField<?> field)
false for a certain
 IColorField, getField(IColorField) will throw an exception when called with that field. Otherwise,
 when this returns true, a value is available.field - A field to check.getSupportedFields()Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.