Package com.vaadin.featurepack.desktop
Class FeaturePackUtil
java.lang.Object
com.vaadin.featurepack.desktop.FeaturePackUtil
Various utility methods for Feature Pack in general.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcolorToHex(Color c) Utility method to convert Color object to it's hex representationstatic com.vaadin.flow.component.ComponentgetRoot(com.vaadin.flow.component.Component c) Find the parent component of typeWindow
-
Constructor Details
-
FeaturePackUtil
public FeaturePackUtil()
-
-
Method Details
-
colorToHex
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 typeWindow- Parameters:
c-- Returns:
-