|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrle.core.vm.PlugInBase
rle.core.board.item.ItemContainerBase
public abstract class ItemContainerBase
Abstract implementation of ItemContainer which leaves the choice of underlying storage to the subclass.
Field Summary |
---|
Fields inherited from class rle.core.vm.PlugInBase |
---|
config, context, parameters |
Constructor Summary | |
---|---|
ItemContainerBase()
|
Method Summary | |
---|---|
void |
addItemContainerListener(ItemContainerListener icl)
|
protected void |
fireItemAdded(Item item)
|
protected void |
fireItemRemoved(Item item)
|
boolean |
isEmpty()
Whether this container is empty |
void |
removeItemContainerListener(ItemContainerListener icl)
|
Methods inherited from class rle.core.vm.PlugInBase |
---|
config, getContext, getParameters, paramMap, setConfig, setParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface rle.core.board.item.ItemContainer |
---|
items |
Methods inherited from interface rle.core.vm.PlugIn |
---|
config, getContext, paramMap, setConfig, setParameters |
Constructor Detail |
---|
public ItemContainerBase()
Method Detail |
---|
public boolean isEmpty()
isEmpty
in interface ItemContainer
public void addItemContainerListener(ItemContainerListener icl)
addItemContainerListener
in interface ItemContainer
public void removeItemContainerListener(ItemContainerListener icl)
removeItemContainerListener
in interface ItemContainer
protected void fireItemAdded(Item item)
protected void fireItemRemoved(Item item)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |