public interface NodeUtils
Utility class for working with nodes.
- Author:
- Besmir Beqiri
-
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <K,V> V getPropertyValue(javafx.scene.Node node, K key, V defaultValue) Retrieves the value of a property associated with the given key from a node.
-
Field Details
-
MULTI_FILE_UPLOADER_KEY
-
-
Method Details
-
getPropertyValue
static <K,V> V getPropertyValue(javafx.scene.Node node, K key, V defaultValue) Retrieves the value of a property associated with the given key from a node.- Type Parameters:
K- the type of the keyV- the type of the value- Parameters:
node- the node to retrieve the property value fromkey- the key of the property to retrievedefaultValue- the default value to return if the property does not exist- Returns:
- the value of the property associated with the given key, or the default value if the property does not exist
-