Interface Duplicatable<T>

  • Type Parameters:
    T - The node type
    All Known Implementing Classes:
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface Duplicatable<T>
    An interface used in ControlsFX to represent something that can be duplicated, as in the JavaFX scenegraph it is not possible to insert the same Node in multiple locations at the same time. Therefore, to work around this the node may implement this interface to duplicate itself.
    • Method Detail

      • duplicate

        T duplicate()