code: @Override
      public void stateChanged(final CssProperty stateChangedObject) {
  
          if (stateChangedObject instanceof BorderTopColor) {
              final BorderTopColor borderTopColor = (BorderTopColor) stateChangedObject;
              if (BorderTopColor.INITIAL.equals(borderTopColor.getCssValue())
                      || BorderTopColor.INHERIT
                              .equals(borderTopColor.getCssValue())) {
                  throw new InvalidValueException(
                          "borderTopColor cannot have initial/inherit as its cssValue");
              }
          } else if (stateChangedObject instanceof BorderRightColor) {
              final BorderRightColor borderRightColor = (BorderRightColor) stateChangedObject;
              if (BorderRightColor.INITIAL.equals(borderRightColor.getCssValue())
                      || BorderRightColor.INHERIT
                              .equals(borderRightColor.getCssValue())) {
                  throw new InvalidValueException(
                          "borderRightColor cannot have initial/inherit as its cssValue");
              }
          } else if (stateChangedObject instanceof BorderBottomColor) {
              final BorderBottomColor borderBottomColor = (BorderBottomColor) stateChangedObject;
              if (BorderBottomColor.INITIAL
                      .equals(borderBottomColor.getCssValue())
                      || BorderBottomColor.INHERIT
                              .equals(borderBottomColor.getCssValue())) {
                  throw new InvalidValueException(
                          "borderBottomColor cannot have initial/inherit as its cssValue");
              }
          } else if (stateChangedObject instanceof BorderLeftColor) {
              final BorderLeftColor borderLeftColor = (BorderLeftColor) stateChangedObject;
              if (BorderLeftColor.INITIAL.equals(borderLeftColor.getCssValue())
                      || BorderLeftColor.INHERIT
                              .equals(borderLeftColor.getCssValue())) {
                  throw new InvalidValueException(
                          "borderLeftColor cannot have initial/inherit as its cssValue");
              }
          }
  
          assignProducedCssValue(borderTopColor, borderRightColor,
                  borderBottomColor, borderLeftColor);
  
      }
docs: /*
  (non-Javadoc)
  
  @see
  com.webfirmframework.wffweb.informer.StateChangeInformer#stateChanged(
  java.lang .Object)