Class FeaturePackUtil

java.lang.Object
com.vaadin.featurepack.desktop.FeaturePackUtil

public class FeaturePackUtil extends Object
Various utility methods for Feature Pack in general.
  • Constructor Details

    • FeaturePackUtil

      public FeaturePackUtil()
  • Method Details

    • colorToHex

      public static String colorToHex(Color c)
      Utility method to convert Color object to it's hex representation
      Parameters:
      c -
      Returns:
    • getRoot

      public static com.vaadin.flow.component.Component getRoot(com.vaadin.flow.component.Component c)
      Find the parent component of type Window
      Parameters:
      c -
      Returns: