Interface ColorProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.awt.Color getColor()
      Returns the default color when no component is available.
      java.awt.Color getColor​(java.awt.Component component)
      Returns the color obtained from the given component.
    • Method Detail

      • getColor

        java.awt.Color getColor()
        Returns the default color when no component is available.
        Returns:
        the default color when no component is available
      • getColor

        java.awt.Color getColor​(java.awt.Component component)
        Returns the color obtained from the given component.
        Parameters:
        component - the component
        Returns:
        the color obtained from the given component