Class AwesomeFactory
java.lang.Object
com.logicaldoc.gui.common.client.util.AwesomeFactory
Factory of objects that make use of font awesome
- Since:
- 8.0
- Author:
- Marco Meschieri - LogicalDOC
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringgetColoredIconHtml(String icon, String text, String color) static StringgetColoredIconHtml(String icon, String text, String color, String animation) static StringgetColoredIconHtmlWithoutI18N(String icon, String text, String color) static StringgetColoredIconHtmlWithoutI18N(String icon, String text, String color, String animation) static Stringstatic Stringstatic StringgetIconButtonHTML(String icon, String text, String tooltip, String color, String animation, String url) static StringgetIconHtml(String icon) static StringgetIconHtml(String icon, String text) static StringgetIconHtml(String icon, String rotation, String text) static StringgetIconHtml(String icon, String rotation, String text, String animation) static StringgetIndexedIcon(Integer indexed) static StringgetIndexedIconButtonHTML(long docId, Integer indexed, String color) static StringgetLockedButtonHTML(Integer status, String user, String color) static StringgetSignedIconButtonHTML(long docId, String fileName, String tooltip, String color) static StringgetSpinnerIconHtml(String icon, String text) static StringgetStampedIconButtonHTML(long docId, String fileVersion, String tooltip, String color) static com.smartgwt.client.widgets.ButtonnewColoredIconButton(String icon, String toolTip, String color) Creates a ToolStripButton using font-awesome icon useful for small icons (16x16)static com.smartgwt.client.widgets.ButtonnewIconButton(String icon, String toolTip) Creates a ToolStripButton using font-awesome icon useful for small icons (16x16)static com.smartgwt.client.widgets.ButtonnewIconButton(String icon, String toolTip, String text) Creates a ToolStripButton using font-awesome icon useful for small icons (16x16)static com.smartgwt.client.widgets.toolbar.ToolStripButtonnewToolStripButton(String icon, String toolTip) Creates a ToolStripButton using font-awesome iconstatic com.smartgwt.client.widgets.toolbar.ToolStripButtonnewToolStripButton(String icon, String toolTip, String text) Creates a ToolStripButton using font-awesome iconstatic com.smartgwt.client.widgets.toolbar.ToolStripMenuButtonnewToolStripToolStripMenuButton(String icon, String rotation, String title, String toolTip, com.smartgwt.client.widgets.menu.Menu menu) Creates a ToolStripButton using font-awesome icon
- 
Method Details- 
newToolStripButtonpublic static com.smartgwt.client.widgets.toolbar.ToolStripButton newToolStripButton(String icon, String toolTip) Creates a ToolStripButton using font-awesome icon- Parameters:
- icon- the icon file name
- toolTip- the message to display when the user moves the cursor over the button
- Returns:
- the new button
 
- 
newToolStripButtonpublic static com.smartgwt.client.widgets.toolbar.ToolStripButton newToolStripButton(String icon, String toolTip, String text) Creates a ToolStripButton using font-awesome icon- Parameters:
- icon- the icon file name
- toolTip- the message to display when the user moves the cursor over the button
- text- title of the button
- Returns:
- the new button
 
- 
newIconButtonCreates a ToolStripButton using font-awesome icon useful for small icons (16x16)- Parameters:
- icon- the icon file name
- toolTip- the message to display when the user moves the cursor over the button
- Returns:
- the new button
 
- 
newColoredIconButtonpublic static com.smartgwt.client.widgets.Button newColoredIconButton(String icon, String toolTip, String color) Creates a ToolStripButton using font-awesome icon useful for small icons (16x16)- Parameters:
- icon- the icon file name
- toolTip- the message to display when the user moves the cursor over the button
- color- the color of the icon
- Returns:
- the new button
 
- 
newIconButtonpublic static com.smartgwt.client.widgets.Button newIconButton(String icon, String toolTip, String text) Creates a ToolStripButton using font-awesome icon useful for small icons (16x16)- Parameters:
- icon- the icon file name
- toolTip- the message to display when the user moves the cursor over the button
- text- title of the button
- Returns:
- the new button
 
- 
getCssClassPrefix
- 
getIconHtml
- 
getSpinnerIconHtml
- 
getIconButtonHTML
- 
getIconButtonHTML
- 
getIndexedIconButtonHTML
- 
getStampedIconButtonHTML
- 
getSignedIconButtonHTML
- 
getLockedButtonHTML
- 
getIndexedIcon
- 
getIconHtml
- 
getColoredIconHtml
- 
getColoredIconHtml
- 
getIconHtml
- 
getIconHtml
- 
getColoredIconHtmlWithoutI18N
- 
getColoredIconHtmlWithoutI18N
 
-