src/main/java/com/spinyowl/legui/theme/colored/def/FlatScrollBarTheme.java
@Override
  public void apply(T component) {
    super.apply(component);
    component.getStyle().setShadow(null);
    component.getStyle().getBackground().setColor(settings.sliderColor());
    component.setArrowColor(ColorUtil.oppositeBlackOrWhite(settings.borderColor()));
    component.setScrollColor(settings.backgroundColor());
    component.setArrowsEnabled(false);
  }
/**
   * Used to apply theme only for component and not apply for child components.
   *
   * @param component component to apply theme.
   */
Used to apply theme only for component and not apply for child components.
@param component component to apply theme.
Used to apply theme only for component and not apply for child components . @param component component to apply theme .
@Override
  public void apply(T component) {
    super.apply(component);
    component.getStyle().setShadow(null);
    component.getStyle().getBackground().setColor(settings.sliderColor());
    component.setArrowColor(ColorUtil.oppositeBlackOrWhite(settings.borderColor()));
    component.setScrollColor(settings.backgroundColor());
    component.setArrowsEnabled(false);
  }
@ Override public void apply ( T component ) { super . apply ( component ) ; component . getStyle ( ) . setShadow ( null ) ; component . getStyle ( ) . getBackground ( ) . setColor ( settings . sliderColor ( ) ) ; component . setArrowColor ( ColorUtil . oppositeBlackOrWhite ( settings . borderColor ( ) ) ) ; component . setScrollColor ( settings . backgroundColor ( ) ) ; component . setArrowsEnabled ( false ) ; }
Used to apply theme only for component and not apply for child components.
Used to apply theme only for component and not apply for child components .