@ExportedBean(defaultVisibility=2) public class BadgeAction extends AbstractBadgeAction
| Modifier and Type | Method and Description |
|---|---|
static BadgeAction |
createBadge(String icon,
String text) |
static BadgeAction |
createBadge(String icon,
String text,
String link) |
static BadgeAction |
createErrorBadge(String text) |
static BadgeAction |
createInfoBadge(String text) |
static BadgeAction |
createShortText(String text) |
static BadgeAction |
createShortText(String text,
String color,
String background,
String border,
String borderColor) |
static BadgeAction |
createShortText(String text,
String color,
String background,
String border,
String borderColor,
String link) |
static BadgeAction |
createWarningBadge(String text) |
String |
getBackground() |
String |
getBorder() |
String |
getBorderColor() |
String |
getColor() |
String |
getDisplayName() |
String |
getIconFileName() |
String |
getIconPath() |
static String |
getIconPath(String icon) |
String |
getLink() |
String |
getText() |
String |
getUrlName() |
boolean |
isTextOnly() |
getId, setIdpublic static BadgeAction createBadge(String icon, String text)
public static BadgeAction createBadge(String icon, String text, String link)
public static BadgeAction createShortText(String text)
public static BadgeAction createShortText(String text, String color, String background, String border, String borderColor)
public static BadgeAction createShortText(String text, String color, String background, String border, String borderColor, String link)
public static BadgeAction createInfoBadge(String text)
public static BadgeAction createWarningBadge(String text)
public static BadgeAction createErrorBadge(String text)
public String getUrlName()
public String getDisplayName()
public String getIconFileName()
@Exported public boolean isTextOnly()
@Exported public String getIconPath()
@Exported public String getText()
@Exported public String getColor()
@Exported public String getBackground()
@Exported public String getBorder()
@Exported public String getBorderColor()
@Exported public String getLink()
Copyright © 2016–2018. All rights reserved.