Class NodeSelectionDialog<T extends Node>

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.marginallyclever.ro3.apps.nodeselector.NodeSelectionDialog<T>
Type Parameters:
T - the type of node to select
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class NodeSelectionDialog<T extends Node> extends JPanel
A dialog that allows the user to select a node from the scene graph.
See Also:
  • Constructor Details

    • NodeSelectionDialog

      public NodeSelectionDialog()
    • NodeSelectionDialog

      public NodeSelectionDialog(Class<T> type)
  • Method Details

    • setSubject

      public void setSubject(T subject)
    • getSelectedNode

      public T getSelectedNode()