Class PinID<N>

java.lang.Object
org.praxislive.ide.pxr.graph.scene.PinID<N>
Type Parameters:
N - node type

public class PinID<N> extends Object
ID of a pin on a node.
  • Constructor Details

    • PinID

      public PinID(N parent, String name)
      Construct a PinID for a pin with the given name on the provided node.
      Parameters:
      parent - parent node
      name - pin name
  • Method Details

    • getParent

      public N getParent()
      Get the parent node.
      Returns:
      parent node
    • getName

      public String getName()
      Get pin name.
      Returns:
      pin name
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object