Package de.xima.fc.mdl.ui
Class CustomGuiIcon.Builder
java.lang.Object
de.xima.fc.mdl.ui.CustomGuiIcon.Builder
- Enclosing class:
- CustomGuiIcon
A new builder for a custom GUI icon.
- Since:
- 8.0.1
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Sets the inline style of the icon.styleClass
(String styleClass) Sets the style class of the icon.Sets the value (text content) of the icon, usually used by icons implemented via ligatures.
-
Method Details
-
style
Sets the inline style of the icon.- Parameters:
style
- Style of the icon.- Returns:
- This builder instance for chaining method calls.
-
styleClass
Sets the style class of the icon.- Parameters:
styleClass
- Style class of the icon.- Returns:
- This builder instance for chaining method calls.
-
value
Sets the value (text content) of the icon, usually used by icons implemented via ligatures.- Parameters:
value
- Text content of the icon.- Returns:
- This builder instance for chaining method calls.
-
build
- Returns:
- A new custom GUI icon with the current settings.
-