Class IconsManager


  • public class IconsManager
    extends Object
    Author:
    M. Assante CNR

    makes it easy to incorporate icons into your web page. Here’s a small example: <i class="material-icons">face</i>

    Please note: for make this work you must install material-design-icons:
    The easiest way to set up icon fonts for use in any web page is through Google Web Fonts. All you need to do is include a single line of HTML: <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

    More information and othere ways to setup MD Icons @see http://google.github.io/material-design-icons/
    • Constructor Detail

      • IconsManager

        public IconsManager()
    • Method Detail

      • getIconFolder

        public static MDIcon getIconFolder​(boolean isShared)
        Parameters:
        isShared - true is the folder is shared
        Returns:
        the html related to the private or shared Folders
      • getIconVREFolder

        public static MDIcon getIconVREFolder()
        Returns:
        the html related to the VRE Folders
      • getIconTypeLink

        public static MDIcon getIconTypeLink()
      • getXMLTypeLink

        public static MDIcon getXMLTypeLink()
      • getDefault

        public static MDIcon getDefault()
      • getMDIconTextualName

        public static MDIcon getMDIconTextualName​(String filenameWithExtension)
        easy to incorporate icons into your web page. Here’s a small example: <i class="material-icons">face</i>
        Parameters:
        filenameWithExtension - the file name with extension
        Returns:
        the Material Design Icon textual name to be placed within any <i class="material-icons"> $The Returned Material Design Icon Textual Name </i>
        See Also:
        http://google.github.io/material-design-icons/