Crossfire JXClient, Trunk
Public Member Functions | List of all members
com.realtime.crossfire.jxclient.items.ItemListener Interface Reference
Inheritance diagram for com.realtime.crossfire.jxclient.items.ItemListener:
Inheritance graph
Collaboration diagram for com.realtime.crossfire.jxclient.items.ItemListener:
Collaboration graph

Public Member Functions

void inventoryAdded (int tag, int index, @NotNull CfItem item)
 
void inventoryRemoved (int tag, int index)
 
void itemChanged (int tag)
 
void itemRemoved (int tag)
 

Detailed Description

Interface for listeners for changes of item locations.

Author
Andreas Kirschbaum

Definition at line 32 of file ItemListener.java.

Member Function Documentation

◆ inventoryAdded()

void com.realtime.crossfire.jxclient.items.ItemListener.inventoryAdded ( int  tag,
int  index,
@NotNull CfItem  item 
)

An inventory CfItem has been added to the watched item.

Parameters
tagthe watched item's tag
indexthe inventory index
itemthe inventory item

◆ inventoryRemoved()

void com.realtime.crossfire.jxclient.items.ItemListener.inventoryRemoved ( int  tag,
int  index 
)

An inventory item has been removed from the watched item.

Parameters
tagthe watched item's tag
indexthe inventory index

◆ itemChanged()

void com.realtime.crossfire.jxclient.items.ItemListener.itemChanged ( int  tag)

The watched item has changed.

Parameters
tagthe watched item's tag

◆ itemRemoved()

void com.realtime.crossfire.jxclient.items.ItemListener.itemRemoved ( int  tag)

The watched item has been removed from the location.

Parameters
tagthe watched item's tag

The documentation for this interface was generated from the following file: