Class AnchorPointId


  • public class AnchorPointId
    extends java.lang.Object
    Holds an anchor point's block and anchor id
    • Constructor Detail

      • AnchorPointId

        public AnchorPointId​(AnchorPoint pt)
      • AnchorPointId

        public AnchorPointId​(java.util.UUID blockId,
                             java.lang.Object anchorId)
    • Method Detail

      • getBlockId

        public java.util.UUID getBlockId()
      • getAnchorId

        public java.lang.Object getAnchorId()
      • find

        public AnchorPoint find​(BlockDiagramModel model)
        Attempts to find the AnchorPoint this object represents in a model. If it is not found, it returns null.
        Returns:
        The AnchorPoint represented by this object, or null if it is not found.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object