|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContainerWatcher
Interface implemented by mods that wish to be notified when the item they are attached to has its container changed.
To enable this notification, mods may implement this interface, though only one mod per object may implement it.
This interface is only useful when implemented by item Mods.
| Method Summary | |
|---|---|
void |
noteContainerChange(BasicObject oldContainer,
BasicObject newContainer)
Do whatever you want when the item's container changes. |
| Method Detail |
|---|
void noteContainerChange(BasicObject oldContainer,
BasicObject newContainer)
oldContainer - The old container (which no longer contains the
item at the point this method is called)newContainer - The new container (which now contains the item)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||