Class UIThemeSkin

All Implemented Interfaces:
DBData, JcmsConstants, ImportConstants, MashupConstants, Storable, JaliosConstants, LangPropertyArgument, Serializable, Cloneable, Comparable<BasicStorable>

public class UIThemeSkin extends Data implements DBData
See Also:
  • Field Details

    • skinName

      protected String skinName
    • showHeader

      protected boolean showHeader
    • headerBackgroundColor

      protected String headerBackgroundColor
    • showHeaderIcon

      protected boolean showHeaderIcon
    • headerIconColor

      protected String headerIconColor
    • headerColor

      protected String headerColor
    • headerFontName

      protected String headerFontName
    • headerFontSize

      protected int headerFontSize
    • headerFontWeight

      protected String headerFontWeight
    • showDecoration

      protected boolean showDecoration
    • decorationType

      protected String decorationType
    • decorationColor

      protected String decorationColor
    • showBodyBackgroundColor

      protected boolean showBodyBackgroundColor
    • bodyBackgroundColor

      protected String bodyBackgroundColor
    • bodyBorderSize

      protected int bodyBorderSize
    • bodyCornerRadius

      protected boolean bodyCornerRadius
    • bodyShadow

      protected boolean bodyShadow
  • Constructor Details

    • UIThemeSkin

      public UIThemeSkin()
    • UIThemeSkin

      public UIThemeSkin(UIThemeSkin other)
  • Method Details

    • setFieldValue

      public void setFieldValue(String fieldName, Object value, String lang) throws NoSuchFieldException
      Sets the Object value of the given field name for this Skin.
      Do not set Category fields, see Data.setCategoryFieldValue(String, TreeSet).
      Overrides:
      setFieldValue in class Data
      Parameters:
      fieldName - the field name from which to retrieve the field value.
      value - the Object field value
      lang - the language (ISO-639 code) in which to retrieve the field value (used only for multilingual fields).
      Throws:
      NoSuchFieldException - if the field was not found in the given Publication.
      Since:
      jcms-6.3.0
    • setBooleanFieldValue

      public void setBooleanFieldValue(String fieldName, boolean value) throws NoSuchFieldException
      Sets the value of the given boolean field name for the current Skin.
      Overrides:
      setBooleanFieldValue in class Data
      Parameters:
      fieldName - the field name from which to retrieve the field value.
      value - the boolean field value
      Throws:
      NoSuchFieldException - if the field was not found.
      Since:
      jcms-6.3.0
    • setIntFieldValue

      public void setIntFieldValue(String fieldName, int value) throws NoSuchFieldException
      Sets the value of the given int field name for the current Skin.
      Overrides:
      setIntFieldValue in class Data
      Parameters:
      fieldName - the field name from which to retrieve the field value.
      value - the int field value
      Throws:
      NoSuchFieldException - if the field was not found.
      Since:
      jcms-6.3.0
    • getSkinName

      public String getSkinName()
    • setSkinName

      public void setSkinName(String v)
    • getShowHeader

      public boolean getShowHeader()
    • setShowHeader

      public void setShowHeader(Boolean v)
    • getHeaderBackgroundColor

      public String getHeaderBackgroundColor()
    • setHeaderBackgroundColor

      public void setHeaderBackgroundColor(String v)
    • getShowHeaderIcon

      public boolean getShowHeaderIcon()
    • setShowHeaderIcon

      public void setShowHeaderIcon(Boolean v)
    • getHeaderIconColor

      public String getHeaderIconColor()
    • setHeaderIconColor

      public void setHeaderIconColor(String v)
    • getHeaderColor

      public String getHeaderColor()
    • setHeaderColor

      public void setHeaderColor(String v)
    • getHeaderFontName

      public String getHeaderFontName()
    • setHeaderFontName

      public void setHeaderFontName(String v)
    • getHeaderFontSize

      public int getHeaderFontSize()
    • setHeaderFontSize

      public void setHeaderFontSize(Integer v)
    • getHeaderFontWeight

      public String getHeaderFontWeight()
    • setHeaderFontWeight

      public void setHeaderFontWeight(String v)
    • getShowDecoration

      public boolean getShowDecoration()
    • setShowDecoration

      public void setShowDecoration(Boolean v)
    • getDecorationType

      public String getDecorationType()
    • setDecorationType

      public void setDecorationType(String v)
    • getDecorationColor

      public String getDecorationColor()
    • setDecorationColor

      public void setDecorationColor(String v)
    • getShowBodyBackgroundColor

      public boolean getShowBodyBackgroundColor()
    • setShowBodyBackgroundColor

      public void setShowBodyBackgroundColor(Boolean v)
    • getBodyBackgroundColor

      public String getBodyBackgroundColor()
    • setBodyBackgroundColor

      public void setBodyBackgroundColor(String v)
    • getBodyBorderSize

      public int getBodyBorderSize()
    • setBodyBorderSize

      public void setBodyBorderSize(Integer v)
    • getBodyCornerRadius

      public boolean getBodyCornerRadius()
    • setBodyCornerRadius

      public void setBodyCornerRadius(Boolean v)
    • getBodyShadow

      public boolean getBodyShadow()
    • setBodyShadow

      public void setBodyShadow(Boolean v)
    • getDataName

      public String getDataName(String language)
      Description copied from class: Data
      Return the name of this Data, every sub class Data which will be displayed to user should implements this method already.
      • The Title (multi-language) for a Publication.
      • The Name (multi-language) for a Category.
      • The Name for a Group, a Member.
      • The Title (multi-language) for a Workspace.
      Can be seen as a smart multi-language toString(), but never returning null.
      Default behaviour is to return toFullString() of Data or empty string if toFullString is null.
      Overrides:
      getDataName in class Data
      Parameters:
      language - the language in which to return the name if multilang available for the data.
      Returns:
      a String, MUST NOT return null.