Package org.gcube.portal.stohubicons
Class IconsManager
- java.lang.Object
-
- org.gcube.portal.stohubicons.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>
More information and othere ways to setup MD Icons @see http://google.github.io/material-design-icons/
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">
-
-
Constructor Summary
Constructors Constructor Description IconsManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MDIcongetDefault()static MDIcongetIconFolder(boolean isShared)static MDIcongetIconTypeLink()static MDIcongetIconVREFolder()static MDIcongetMDIconTextualName(String filenameWithExtension)easy to incorporate icons into your web page.static MDIcongetXMLTypeLink()
-
-
-
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/
-
-