Class CustomCssProperty

All Implemented Interfaces:
CssProperty, Serializable, Cloneable

public class CustomCssProperty extends AbstractCssProperty<CustomCssProperty>
Since:
1.0.0
See Also:
  • Constructor Details

    • CustomCssProperty

      public CustomCssProperty(String cssName, String cssValue)
      Parameters:
      cssName - the css name to set.
      cssValue - the css value to set.
    • CustomCssProperty

      public CustomCssProperty(CustomCssProperty customCssProperty)
      Parameters:
      customCssProperty - the CustomCss object from which the cssName and cssValue to set.
  • Method Details

    • getCssName

      public String getCssName()
      Returns:
      the name portion in style, eg align-content for style align-content: center.
    • getCssValue

      public String getCssValue()
      Returns:
      the value portion in style, eg center for style align-content: center.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setCssValue

      public CustomCssProperty setCssValue(String cssValue)
      Specified by:
      setCssValue in class AbstractCssProperty<CustomCssProperty>
      Parameters:
      cssValue - null is considered as an invalid value.
      Returns:
      the current object.
      Since:
      1.0.0