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, wait
copy, getAnchorPoints, getDefaultDropAnchor, getId, getLocation, initUI, setLocation
protected final java.util.List<BlockListener> listeners
public void addBlockListener(BlockListener listener)
Block
addBlockListener
in interface Block
public void removeBlockListener(BlockListener listener)
removeBlockListener
in interface Block
protected void fireBlockMoved()
protected void fireUIChanged()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object