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 TypeMethodDescriptionvoid
addBlockListener
(BlockListener listener) The block should notify this change listener when it movesboolean
protected void
protected void
int
hashCode()
void
removeBlockListener
(BlockListener listener) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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:Block
The block should notify this change listener when it moves- Specified by:
addBlockListener
in interfaceBlock
-
removeBlockListener
- Specified by:
removeBlockListener
in interfaceBlock
-
fireBlockMoved
protected void fireBlockMoved() -
fireUIChanged
protected void fireUIChanged() -
equals
-
hashCode
public int hashCode()
-