/** * Returns the alpha channel of the color scheme of the component. * * @param component * Component. * @param componentState * Component state. * @return Color scheme alpha channel. */ public static float getAlpha(Component component, ComponentState componentState) { return SubstanceCoreUtilities.getSkin(component).getAlpha(component, componentState); }
/** * Returns the alpha channel of the color scheme of the component. * * @param component * Component. * @param componentState * Component state. * @return Color scheme alpha channel. */ public static float getAlpha(Component component, ComponentState componentState) { return SubstanceCoreUtilities.getSkin(component).getAlpha(component, componentState); }
.getForegroundColor(mainDisabledScheme); Color disabledTextComponentForegroundColor = disabledForegroundColor; float alpha = skin.getAlpha(null, ComponentState.DISABLED_UNSELECTED); if (alpha < 1.0f) { ColorUIResource defaultTextBackgroundColor = SubstanceColorUtilities
.getForegroundColor(mainDisabledScheme); Color disabledTextComponentForegroundColor = disabledForegroundColor; float alpha = skin.getAlpha(null, ComponentState.DISABLED_UNSELECTED); if (alpha < 1.0f) { ColorUIResource defaultTextBackgroundColor = SubstanceColorUtilities