Class AwesomeFactory
- java.lang.Object
-
- com.logicaldoc.gui.common.client.util.AwesomeFactory
-
public class AwesomeFactory extends Object
Factory of objects that make use of font awesome- Since:
- 8.0
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description AwesomeFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getCssClassPrefix()
static String
getIconHtml(String icon)
static String
getIconHtml(String icon, String text)
static String
getSpinnerIconHtml(String icon, String text)
static com.smartgwt.client.widgets.toolbar.ToolStripButton
newIconButton(String icon, String toolTip)
Creates a ToolStripButton using font-awesome icon useful for small icons (16x16)static com.smartgwt.client.widgets.toolbar.ToolStripButton
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
newIndexedButton(Integer indexed)
static com.smartgwt.client.widgets.toolbar.ToolStripButton
newLockedButton(Integer status, String user)
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 icon
-
-
-
Method Detail
-
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
public static com.smartgwt.client.widgets.toolbar.ToolStripButton newIconButton(String icon, String toolTip)
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
-
newIconButton
public static com.smartgwt.client.widgets.toolbar.ToolStripButton 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
-
newLockedButton
public static com.smartgwt.client.widgets.toolbar.ToolStripButton newLockedButton(Integer status, String user)
-
newIndexedButton
public static com.smartgwt.client.widgets.toolbar.ToolStripButton newIndexedButton(Integer indexed)
-
getCssClassPrefix
public static String getCssClassPrefix()
-
-