Uses of Enum Class
no.ntnu.principes.components.primary.Badge.Variant
Packages that use Badge.Variant
-
Uses of Badge.Variant in no.ntnu.principes.components.primary
Methods in no.ntnu.principes.components.primary that return Badge.VariantModifier and TypeMethodDescriptionstatic Badge.VariantBadge.Variant.getWeightVariant(int weight) Returns the badge variant based on a 1-6 weight.static Badge.VariantReturns the enum constant of this class with the specified name.static Badge.Variant[]Badge.Variant.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in no.ntnu.principes.components.primary with parameters of type Badge.VariantModifier and TypeMethodDescriptionvoidBadge.setVariant(Badge.Variant variant) Updates the badge's visual appearance by setting the styling variant.Constructors in no.ntnu.principes.components.primary with parameters of type Badge.VariantModifierConstructorDescriptionBadge(String text, Badge.Variant variant) Constructs a Badge component with specified text and styling variant for the UI.