Class AbstractBlock
java.lang.Object
com.inductiveautomation.ignition.designer.blockandconnector.model.impl.AbstractBlock
- All Implemented Interfaces:
Block
- Direct Known Subclasses:
PropertySetBlock
Abstract implementation takes care of the bookkeeping required for event handling. Also implements hashcode and
equals using the UUID from getId()
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBlockListener(BlockListener listener) The block should notify this change listener when it movesbooleanprotected voidprotected voidinthashCode()voidremoveBlockListener(BlockListener listener) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.designer.blockandconnector.model.Block
copy, getAnchorPoints, getDefaultDropAnchor, getId, getLocation, initUI, setLocation
-
Field Details
-
listeners
-
-
Constructor Details
-
AbstractBlock
public AbstractBlock()
-
-
Method Details
-
addBlockListener
Description copied from interface:BlockThe block should notify this change listener when it moves- Specified by:
addBlockListenerin interfaceBlock
-
removeBlockListener
- Specified by:
removeBlockListenerin interfaceBlock
-
fireBlockMoved
protected void fireBlockMoved() -
fireUIChanged
protected void fireUIChanged() -
equals
-
hashCode
public int hashCode()
-