Class SubstanceIconFactory


  • public class SubstanceIconFactory
    extends Object
    Icon factory for dynamically-changing icons. This class is for internal use only.
    • Constructor Detail

      • SubstanceIconFactory

        public SubstanceIconFactory()
    • Method Detail

      • getSliderHorizontalIcon

        public static Icon getSliderHorizontalIcon​(int size,
                                                   boolean isMirrorred)
        Retrieves icon for horizontal slider in SubstanceSliderUI.
        Parameters:
        size - The size of the icon to retrieve.
        isMirrorred - Indication whether the icon should be mirrored.
        Returns:
        Icon for horizontal slider in SubstanceSliderUI.
      • getSliderRoundIcon

        public static Icon getSliderRoundIcon​(int size)
        Retrieves round icon for slider in SubstanceSliderUI.
        Parameters:
        size - The size of the icon to retrieve.
        Returns:
        Round icon for slider in SubstanceSliderUI.
      • getSliderVerticalIcon

        public static Icon getSliderVerticalIcon​(int size,
                                                 boolean isMirrorred)
        Retrieves icon for vertical slider in SubstanceSliderUI.
        Parameters:
        size - The size of the icon to retrieve.
        isMirrorred - Indication whether the icon should be mirrored.
        Returns:
        Icon for vertical slider in SubstanceSliderUI.
      • getTreeIcon

        public static Icon getTreeIcon​(JTree tree,
                                       boolean isCollapsed)