code: @Override
    protected void updateStyle(PseudoClass pseudo, boolean newValue) {
      if (node != null) {
        node.pseudoClassStateChanged(pseudo, newValue);
      }
      if (fieldLabel != null) {
        fieldLabel.pseudoClassStateChanged(pseudo, newValue);
      }
    }
docs: Sets the css style for the defined properties.
  
  @param pseudo   The CSS pseudo class to toggle.
  @param newValue Determines whether the CSS class should be applied.