Class AbstractCssProperty<EXTENDEDCLASS extends AbstractCssProperty<EXTENDEDCLASS>>

    • Constructor Detail

      • AbstractCssProperty

        public AbstractCssProperty​()
    • Method Detail

      • setCssValue

        public abstract EXTENDEDCLASS setCssValue​(java.lang.String value)
        Parameters:
        value - to set the value portion in style, eg center for style align-content: center.
        Returns:
        the current object.
        Since:
        1.0.0
      • setStateChangeInformer

        public void setStateChangeInformer​(StateChangeInformer<CssProperty> stateChangeInformer)
        Parameters:
        stateChangeInformer - the stateChangeInformer to set
        Since:
        1.0.0
      • clone

        public EXTENDEDCLASS clone​()
                            throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException
      • isAlreadyInUse

        public boolean isAlreadyInUse​()
        Returns:
        true if the object is already used by Style class.
        Since:
        1.0.0
      • setAlreadyInUse

        public void setAlreadyInUse​(boolean alreadyInUse)
        To set whether this object is used by any other object. It also dereferences stateChangeInformer object if the given argument is false.
        Parameters:
        alreadyInUse - the alreadyInUse to set
        Since:
        1.0.0
      • toCssString

        public java.lang.String toCssString​()
        Returns:
        the css string of the property
        Since:
        1.1.2