Packages that use CfItem | |
---|---|
com.realtime.crossfire.jxclient.gui.commands | |
com.realtime.crossfire.jxclient.gui.item | |
com.realtime.crossfire.jxclient.items | |
com.realtime.crossfire.jxclient.scripts |
Uses of CfItem in com.realtime.crossfire.jxclient.gui.commands |
---|
Methods in com.realtime.crossfire.jxclient.gui.commands with parameters of type CfItem | |
---|---|
protected abstract void |
CommandType.doExecute(CfItem item,
CrossfireServerConnection crossfireServerConnection,
int floor,
CommandQueue commandQueue)
Executes the action. |
Uses of CfItem in com.realtime.crossfire.jxclient.gui.item |
---|
Fields in com.realtime.crossfire.jxclient.gui.item declared as CfItem | |
---|---|
private CfItem |
GUIItemItem.item
The current item instance. |
Methods in com.realtime.crossfire.jxclient.gui.item that return CfItem | |
---|---|
CfItem |
GUIItemItem.getItem()
Returns the current item instance. |
Methods in com.realtime.crossfire.jxclient.gui.item with parameters of type CfItem | |
---|---|
protected abstract java.awt.Image |
GUIItemItem.getFace(CfItem item)
Returns the face for a CfItem instance. |
protected java.awt.Image |
GUIItemInventory.getFace(CfItem item)
Returns the face for a CfItem instance. |
protected java.awt.Image |
GUIItemFloor.getFace(CfItem item)
Returns the face for a CfItem instance. |
void |
ItemPainter.paint(java.awt.Graphics2D g,
CfItem item,
boolean selected,
java.awt.Image face)
Paints an CfItem . |
protected void |
GUIItemItem.setItem(CfItem item)
Sets the current item instance. |
protected void |
GUIItemItem.setItemNoListeners(CfItem item)
Sets the current item instance without registering listeners for updates. |
Uses of CfItem in com.realtime.crossfire.jxclient.items |
---|
Subclasses of CfItem in com.realtime.crossfire.jxclient.items | |
---|---|
class |
CfPlayer
A CfItem that represents a character. |
Fields in com.realtime.crossfire.jxclient.items declared as CfItem | |
---|---|
private CfItem |
ItemSet.player
The current player object this client controls. |
Fields in com.realtime.crossfire.jxclient.items with type parameters of type CfItem | |
---|---|
private java.util.Map<java.lang.Integer,CfItem> |
ItemSet.allItems
Maps item tags to items. |
private java.util.Comparator<CfItem> |
InventoryView.comparator
The Comparator for sorting. |
private java.util.Map<java.lang.Integer,java.util.List<CfItem>> |
ItemSet.items
Maps location (=tag) to list of items in that location. |
private java.util.List<CfItem> |
InventoryView.items
The items in the inventory ordered by InventoryView.comparator . |
Methods in com.realtime.crossfire.jxclient.items that return CfItem | |
---|---|
CfItem |
ItemSet.getInventoryItem(int tag,
int index)
Returns a CfItem from the inventory of an item. |
CfItem |
FloorView.getItem(int index)
Returns the CfItem in a given slot. |
CfItem |
ItemView.getItem(int index)
Returns the CfItem in a given slot. |
CfItem |
InventoryView.getItem(int index)
Returns the CfItem in a given slot. |
CfItem |
ItemSet.getItemByTag(int tag)
Returns an item by tag. |
private CfItem |
ItemSet.getItemOrPlayer(int tag)
Returns an item by tag. |
CfItem |
ItemSet.getPlayer()
Returns the player object this client controls. |
Methods in com.realtime.crossfire.jxclient.items that return types with arguments of type CfItem | |
---|---|
private java.util.List<CfItem> |
ItemSet.getInventoryByTag(int tag)
Returns the inventory of an item. |
java.util.List<CfItem> |
ItemSet.getItemsByLocation(int location)
Returns a list of items in a given location. |
java.lang.Iterable<CfItem> |
ItemSet.getPlayerInventory()
Returns the player's inventory. |
Methods in com.realtime.crossfire.jxclient.items with parameters of type CfItem | |
---|---|
void |
ItemSet.addItem(CfItem item)
Adds an item. |
private int |
ItemSet.addItem(CfItem item,
boolean notifyListeners)
Adds a CfItem . |
int |
InventoryComparator.compare(CfItem o1,
CfItem o2)
|
private int |
InventoryView.findInsertionIndex(CfItem item)
Returns the insertion index of a CfItem . |
void |
ItemListener.inventoryAdded(int tag,
int index,
CfItem item)
An inventory CfItem has been added to the watched item. |
void |
ItemSetListener.itemAdded(CfItem item)
A CfItem has been added. |
void |
ItemSetListener.itemChanged(CfItem item)
A CfItem 's attributes have been changed. |
void |
ItemSetListener.itemMoved(CfItem item)
A CfItem 's location has been changed. |
void |
ItemSetListener.itemRemoved(CfItem item)
A CfItem has been removed. |
void |
ItemSetListener.playerChanged(CfItem player)
The player CfItem has changed. |
void |
ItemSet.setPlayer(CfItem player)
Sets the player object this client controls. |
Constructor parameters in com.realtime.crossfire.jxclient.items with type arguments of type CfItem | |
---|---|
InventoryView(ItemSet itemSet,
java.util.Comparator<CfItem> comparator)
Creates a new instance. |
Uses of CfItem in com.realtime.crossfire.jxclient.scripts |
---|
Methods in com.realtime.crossfire.jxclient.scripts with parameters of type CfItem | |
---|---|
private void |
DefaultScriptProcess.commandSentItem(java.lang.String cmd,
CfItem item)
Sends an item info message to the script process. |