diff --git a/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/dashboard/widgets/blocks/text/TextStyles.java b/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/dashboard/widgets/blocks/text/TextStyles.java index f735798d..41cadb00 100644 --- a/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/dashboard/widgets/blocks/text/TextStyles.java +++ b/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/dashboard/widgets/blocks/text/TextStyles.java @@ -30,4 +30,104 @@ import com.kingsrook.qqq.backend.core.model.dashboard.widgets.blocks.BlockStyles *******************************************************************************/ public class TextStyles implements BlockStylesInterface { + private StandardColor standardColor; + + private boolean isAlert; + + + + /*************************************************************************** + ** + ***************************************************************************/ + public enum StandardColor + { + SUCCESS, + WARNING, + ERROR, + INFO, + MUTED + } + + + + /******************************************************************************* + ** Constructor + ** + *******************************************************************************/ + public TextStyles() + { + } + + + + /*************************************************************************** + ** + ***************************************************************************/ + public TextStyles(StandardColor standardColor) + { + setStandardColor(standardColor); + } + + + + /******************************************************************************* + ** Getter for standardColor + *******************************************************************************/ + public StandardColor getStandardColor() + { + return (this.standardColor); + } + + + + /******************************************************************************* + ** Setter for standardColor + *******************************************************************************/ + public void setStandardColor(StandardColor standardColor) + { + this.standardColor = standardColor; + } + + + + /******************************************************************************* + ** Fluent setter for standardColor + *******************************************************************************/ + public TextStyles withStandardColor(StandardColor standardColor) + { + this.standardColor = standardColor; + return (this); + } + + + /******************************************************************************* + ** Getter for isAlert + *******************************************************************************/ + public boolean getIsAlert() + { + return (this.isAlert); + } + + + + /******************************************************************************* + ** Setter for isAlert + *******************************************************************************/ + public void setIsAlert(boolean isAlert) + { + this.isAlert = isAlert; + } + + + + /******************************************************************************* + ** Fluent setter for isAlert + *******************************************************************************/ + public TextStyles withIsAlert(boolean isAlert) + { + this.isAlert = isAlert; + return (this); + } + + }