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 Summary
Modifier and TypeMethodDescriptionstatic String
getColoredIconHtml
(String icon, String text, String color) static String
getColoredIconHtmlWithoutI18N
(String icon, String text, String color) static String
static String
static String
getIconHtml
(String icon) static String
getIconHtml
(String icon, String text) static String
getIconHtml
(String icon, String rotation, String text) static String
getIndexedIcon
(Integer indexed) static String
getIndexedIconButtonHTML
(long docId, Integer indexed, String color) static String
getLockedButtonHTML
(Integer status, String user, String color) static String
getSignedIconButtonHTML
(long docId, String fileName, String tooltip, String color) static String
getSpinnerIconHtml
(String icon, String text) static String
getStampedIconButtonHTML
(long docId, String fileVersion, String tooltip, String color) 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)static com.smartgwt.client.widgets.Button
newIconButton
(String icon, String toolTip) Creates a ToolStripButton using font-awesome icon useful for small icons (16x16)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)static com.smartgwt.client.widgets.toolbar.ToolStripButton
newToolStripButton
(String icon, String toolTip) Creates a ToolStripButton using font-awesome iconstatic com.smartgwt.client.widgets.toolbar.ToolStripButton
newToolStripButton
(String icon, String toolTip, String text) Creates a ToolStripButton using font-awesome iconstatic com.smartgwt.client.widgets.toolbar.ToolStripMenuButton
newToolStripToolStripMenuButton
(String icon, String rotation, String title, String toolTip, com.smartgwt.client.widgets.menu.Menu menu) Creates a ToolStripButton using font-awesome icon
-
Method Details
-
newToolStripButton
public static com.smartgwt.client.widgets.toolbar.ToolStripButton newToolStripButton(String icon, String toolTip) Creates a ToolStripButton using font-awesome icon- Parameters:
icon
- the icon file nametoolTip
- the message to display when the user moves the cursor over the button- Returns:
- the new button
-
newToolStripButton
public 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 nametoolTip
- the message to display when the user moves the cursor over the buttontext
- title of the button- Returns:
- the new button
-
newIconButton
Creates a ToolStripButton using font-awesome icon useful for small icons (16x16)- Parameters:
icon
- the icon file nametoolTip
- the message to display when the user moves the cursor over the button- Returns:
- the new button
-
newColoredIconButton
public 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 nametoolTip
- the message to display when the user moves the cursor over the buttoncolor
- the color of the icon- Returns:
- the new button
-
newIconButton
public 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 nametoolTip
- the message to display when the user moves the cursor over the buttontext
- title of the button- Returns:
- the new button
-
getCssClassPrefix
-
getIconHtml
-
getSpinnerIconHtml
-
getIconButtonHTML
-
getIndexedIconButtonHTML
-
getStampedIconButtonHTML
-
getSignedIconButtonHTML
-
getLockedButtonHTML
-
getIndexedIcon
-
getIconHtml
-
getColoredIconHtml
-
getIconHtml
-
getColoredIconHtmlWithoutI18N
-