Class IconInterface
java.lang.Object
megalodonte.base.components.IconInterface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract javafx.scene.NodeReturns the underlying JavaFX node for this icon.static IconInterfaceof(javafx.scene.Node node) Creates anIconInterfacewrapping the given JavaFX node.ref(Ref<IconInterface> ref) Binds this icon to aRef, making it accessible from the parent scope.
-
Constructor Details
-
IconInterface
public IconInterface()
-
-
Method Details
-
getJavaFxNode
public abstract javafx.scene.Node getJavaFxNode()Returns the underlying JavaFX node for this icon. -
ref
Binds this icon to aRef, making it accessible from the parent scope.- Parameters:
ref- the reference to bind to- Returns:
- this icon for chaining
-
of
Creates anIconInterfacewrapping the given JavaFX node.- Parameters:
node- the node to wrap- Returns:
- a new icon instance
-