Package com.persequor.extension.frontend
Class Icon
java.lang.Object
com.persequor.extension.frontend.Icon
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIcon
(String name, Color color, Icon.IconPlacement placement) Icon
(String name, Icon.Style style) Icon
(String name, Icon.Style style, Color color) Icon
(String name, Icon.Style style, Color color, Icon.IconPlacement placement) Deprecated.Icon
(String name, String color, Icon.IconPlacement placement) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic Icon
static Icon
static Icon
centralising
(Color color) static Icon
commissioning
(Color color) static Icon
static Icon
static Icon
create
(String name, Color color, Icon.IconPlacement placement) static Icon
create
(String name, Icon.Style style) Create an Iconstatic Icon
create
(String name, Icon.Style style, Color color) Create an Iconstatic Icon
create
(String name, Icon.Style style, Color color, Icon.IconPlacement placement) static Icon
Deprecated.static Icon
create
(String name, String color, Icon.IconPlacement placement) Deprecated.static Icon
getBadge()
getColor()
getName()
getSize()
getTitle()
static Icon
static Icon
static Icon
measurement
(Color color) static Icon
static Icon
static Icon
setDefaultColor
(Color defaultColor) Default color to be used if color isn't setsetPlacement
(Icon.IconPlacement placement)
-
Field Details
-
fa
-
-
Constructor Details
-
Icon
-
Icon
-
Icon
Deprecated. -
Icon
-
Icon
-
Icon
Deprecated. -
Icon
-
Icon
-
-
Method Details
-
create
- Parameters:
name
- the name of the icon taken from the fontawesome icon gallery- Returns:
- the icon object
-
create
Create an Icon- Parameters:
name
- the name of the icon taken from the FontAwesome icon gallerystyle
- the style of the icon, defaults to Style.DUOTONE- Returns:
-
create
Deprecated.- Parameters:
name
- the name of the icon taken from the fontawesome icon gallerycolor
- color of the icon, either by name or hex value- Returns:
- the icon object
-
create
- Parameters:
name
- the name of the icon taken from the fontawesome icon gallerycolor
- color of the icon, either by name or hex value- Returns:
- the icon object
-
create
Create an Icon- Parameters:
name
- the name of the icon taken from the FontAwesome icon gallerystyle
- the style of the icon, defaults to Style.DUOTONE- Returns:
-
create
- Parameters:
name
- the name of the icon taken from the fontawesome icon gallerycolor
- color of the iconplacement
- placement- Returns:
- the icon object
-
create
- Parameters:
name
- the name of the icon taken from the fontawesome icon gallerycolor
- color of the iconplacement
- placement- Returns:
- the icon object
-
create
Deprecated.- Parameters:
name
- the name of the icon taken from the fontawesome icon gallerycolor
- color of the icon, either by name or hex valueplacement
- placement- Returns:
- the icon object
-
farm
-
box
-
boxes
-
pallet
-
measurement
-
grinding
-
mixing
-
centralising
-
commissioning
-
search
-
history
-
getName
-
setName
-
getColor
-
setDefaultColor
Default color to be used if color isn't set- Parameters:
defaultColor
- default color of the icon- Returns:
- the icon object
-
setColor
-
getPlacement
-
setPlacement
-
setBadge
-
setBadge
-
getBadge
-
setSize
-
setTitle
-
getTitle
-
getBadgeColor
-
getBadgeTextColor
-
getSize
-
getPrefix
-