Class AbstractBlock
- java.lang.Object
- 
- com.inductiveautomation.ignition.designer.blockandconnector.model.impl.AbstractBlock
 
- 
- All Implemented Interfaces:
- Block
 - Direct Known Subclasses:
- PropertySetBlock
 
 public abstract class AbstractBlock extends java.lang.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 SummaryFields Modifier and Type Field Description protected java.util.List<BlockListener>listeners
 - 
Constructor SummaryConstructors Constructor Description AbstractBlock()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBlockListener(BlockListener listener)The block should notify this change listener when it movesbooleanequals(java.lang.Object obj)protected voidfireBlockMoved()protected voidfireUIChanged()inthashCode()voidremoveBlockListener(BlockListener listener)- 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.ignition.designer.blockandconnector.model.Blockcopy, getAnchorPoints, getDefaultDropAnchor, getId, getLocation, initUI, setLocation
 
- 
 
- 
- 
- 
Field Detail- 
listenersprotected final java.util.List<BlockListener> listeners 
 
- 
 - 
Method Detail- 
addBlockListenerpublic void addBlockListener(BlockListener listener) Description copied from interface:BlockThe block should notify this change listener when it moves- Specified by:
- addBlockListenerin interface- Block
 
 - 
removeBlockListenerpublic void removeBlockListener(BlockListener listener) - Specified by:
- removeBlockListenerin interface- Block
 
 - 
fireBlockMovedprotected void fireBlockMoved() 
 - 
fireUIChangedprotected void fireUIChanged() 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-