java.lang.Object
com.inductiveautomation.ignition.designer.blockandconnector.model.impl.AbstractBlock
All Implemented Interfaces:
Block
Direct Known Subclasses:
PropertySetBlock

public abstract class AbstractBlock extends Object implements Block
Abstract implementation takes care of the bookkeeping required for event handling. Also implements hashcode and equals using the UUID from getId()
  • Field Details

  • Constructor Details

    • AbstractBlock

      public AbstractBlock()
  • Method Details

    • addBlockListener

      public void addBlockListener(BlockListener listener)
      Description copied from interface: Block
      The block should notify this change listener when it moves
      Specified by:
      addBlockListener in interface Block
    • removeBlockListener

      public void removeBlockListener(BlockListener listener)
      Specified by:
      removeBlockListener in interface Block
    • fireBlockMoved

      protected void fireBlockMoved()
    • fireUIChanged

      protected void fireUIChanged()
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object