public abstract class AbstractBlock extends java.lang.Object implements Block
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<BlockListener> |
listeners |
| Constructor and Description |
|---|
AbstractBlock() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBlockListener(BlockListener listener)
The block should notify this change listener when it moves
|
boolean |
equals(java.lang.Object obj) |
protected void |
fireBlockMoved() |
protected void |
fireUIChanged() |
int |
hashCode() |
void |
removeBlockListener(BlockListener listener) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcopy, getAnchorPoints, getDefaultDropAnchor, getId, getLocation, initUI, setLocationprotected final java.util.List<BlockListener> listeners
public void addBlockListener(BlockListener listener)
BlockaddBlockListener in interface Blockpublic void removeBlockListener(BlockListener listener)
removeBlockListener in interface Blockprotected void fireBlockMoved()
protected void fireUIChanged()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object