public static <E extends Style.HasCssName, F extends Enum<? extends Style.HasCssName>> void addUniqueEnumStyleName(final UIObject uiObject,
                                                                                                                       final Class<F> enumClass,
                                                                                                                       final E style) {
        removeEnumStyleNames(uiObject, enumClass);
        addEnumStyleName(uiObject, style);
    }
public static < E extends Style . HasCssName , F extends Enum < ? extends Style . HasCssName > > void addUniqueEnumStyleName ( final UIObject uiObject , final Class < F > enumClass , final E style ) { removeEnumStyleNames ( uiObject , enumClass ) ; addEnumStyleName ( uiObject , style ) ; }
Convenience method for first removing all enum style constants and then adding the single one.

@see #removeEnumStyleNames(UIObject, Class)
@see #addEnumStyleName(UIObject, Style.HasCssName)