com.realtime.crossfire.jxclient.items
Interface ItemListener

All Superinterfaces:
java.util.EventListener

public interface ItemListener
extends java.util.EventListener

Interface for listeners for changes of item locations.


Method Summary
 void inventoryAdded(int tag, int index, CfItem item)
          An inventory CfItem has been added to the watched item.
 void inventoryRemoved(int tag, int index)
          An inventory item has been removed from the watched item.
 void itemChanged(int tag)
          The watched item has changed.
 void itemRemoved(int tag)
          The watched item has been removed from the location.
 

Method Detail

inventoryAdded

void inventoryAdded(int tag,
                    int index,
                    @NotNull
                    CfItem item)
An inventory CfItem has been added to the watched item.

Parameters:
tag - the watched item's tag
index - the inventory index
item - the inventory item

inventoryRemoved

void inventoryRemoved(int tag,
                      int index)
An inventory item has been removed from the watched item.

Parameters:
tag - the watched item's tag
index - the inventory index

itemChanged

void itemChanged(int tag)
The watched item has changed.

Parameters:
tag - the watched item's tag

itemRemoved

void itemRemoved(int tag)
The watched item has been removed from the location.

Parameters:
tag - the watched item's tag