|
Crossfire JXClient, Trunk
R20561
|
Inheritance diagram for com.realtime.crossfire.jxclient.items.ItemView:
Collaboration diagram for com.realtime.crossfire.jxclient.items.ItemView:Public Member Functions | |
| void | addLocationListener (int index, @NotNull LocationListener locationListener) |
| Adds a LocationListener to be notified when the item displayed in a floor slot has changed. More... | |
| void | addLocationsListener (@NotNull LocationsListener locationsListener) |
| Adds a LocationsListener to be notified when any displayed item has changed. More... | |
| CfItem | getItem (int index) |
| Returns the CfItem in a given slot. More... | |
| int | getSize () |
| Returns the number of items. More... | |
| void | removeLocationListener (int index, @NotNull LocationListener locationListener) |
| Removes a LocationListener to be notified when the item displayed in a floor slot has changed. More... | |
| void | removeLocationsListener (@NotNull LocationsListener locationsListener) |
| Removes a LocationsListener to be notified when any displayed item has changed. More... | |
A list of CfItems.
Definition at line 31 of file ItemView.java.
| void com.realtime.crossfire.jxclient.items.ItemView.addLocationListener | ( | int | index, |
| @NotNull LocationListener | locationListener | ||
| ) |
Adds a LocationListener to be notified when the item displayed in a floor slot has changed.
| index | the floor slot |
| locationListener | the location listener to add |
Implemented in com.realtime.crossfire.jxclient.items.AbstractItemView.
Referenced by com.realtime.crossfire.jxclient.gui.item.GUIItemFloor.setIndex(), and com.realtime.crossfire.jxclient.gui.item.GUIItemInventory.setIndex().
Here is the caller graph for this function:| void com.realtime.crossfire.jxclient.items.ItemView.addLocationsListener | ( | @NotNull LocationsListener | locationsListener | ) |
Adds a LocationsListener to be notified when any displayed item has changed.
| locationsListener | the locations listener to add |
Implemented in com.realtime.crossfire.jxclient.items.AbstractItemView.
| CfItem com.realtime.crossfire.jxclient.items.ItemView.getItem | ( | int | index | ) |
Returns the CfItem in a given slot.
| index | the slot index |
Implemented in com.realtime.crossfire.jxclient.items.InventoryView, com.realtime.crossfire.jxclient.items.FloorView, com.realtime.crossfire.jxclient.items.SpellSkillView, com.realtime.crossfire.jxclient.items.SpellsView, com.realtime.crossfire.jxclient.items.QuestsView, com.realtime.crossfire.jxclient.items.KnowledgeView, and com.realtime.crossfire.jxclient.items.KnowledgeTypeView.
Referenced by com.realtime.crossfire.jxclient.gui.list.GUIItemList< GUIItemSpell >.selectionChanged(), com.realtime.crossfire.jxclient.gui.item.GUIItemInventory.setChanged(), com.realtime.crossfire.jxclient.gui.item.GUIItemFloor.setIndex(), com.realtime.crossfire.jxclient.gui.item.GUIItemInventory.setIndex(), com.realtime.crossfire.jxclient.gui.item.GUIItemKnowledgeType.setIndexNoListeners(), com.realtime.crossfire.jxclient.gui.item.GUIItemKnowledge.setIndexNoListeners(), com.realtime.crossfire.jxclient.gui.item.GUIItemFloor.setIndexNoListeners(), com.realtime.crossfire.jxclient.gui.item.GUIItemQuest.setIndexNoListeners(), com.realtime.crossfire.jxclient.gui.item.GUIItemSpellSkill.setIndexNoListeners(), com.realtime.crossfire.jxclient.gui.item.GUIItemInventory.setIndexNoListeners(), com.realtime.crossfire.jxclient.gui.item.GUIItemSpell.setIndexNoListeners(), and com.realtime.crossfire.jxclient.gui.list.GUIItemList< GUIItemSpell >.updateTooltip().
Here is the caller graph for this function:| int com.realtime.crossfire.jxclient.items.ItemView.getSize | ( | ) |
Returns the number of items.
Implemented in com.realtime.crossfire.jxclient.items.InventoryView, com.realtime.crossfire.jxclient.items.FloorView, com.realtime.crossfire.jxclient.items.SpellSkillView, com.realtime.crossfire.jxclient.items.SpellsView, com.realtime.crossfire.jxclient.items.QuestsView, com.realtime.crossfire.jxclient.items.KnowledgeView, and com.realtime.crossfire.jxclient.items.KnowledgeTypeView.
Referenced by com.realtime.crossfire.jxclient.gui.item.GUIItemInventory.canScroll(), com.realtime.crossfire.jxclient.gui.item.GUIItemFloor.canScroll(), and com.realtime.crossfire.jxclient.gui.list.GUIItemList< GUIItemSpell >.rebuildList().
Here is the caller graph for this function:| void com.realtime.crossfire.jxclient.items.ItemView.removeLocationListener | ( | int | index, |
| @NotNull LocationListener | locationListener | ||
| ) |
Removes a LocationListener to be notified when the item displayed in a floor slot has changed.
| index | the floor slot |
| locationListener | the location listener to remove |
Implemented in com.realtime.crossfire.jxclient.items.AbstractItemView.
Referenced by com.realtime.crossfire.jxclient.gui.item.GUIItemFloor.setIndex(), and com.realtime.crossfire.jxclient.gui.item.GUIItemInventory.setIndex().
Here is the caller graph for this function:| void com.realtime.crossfire.jxclient.items.ItemView.removeLocationsListener | ( | @NotNull LocationsListener | locationsListener | ) |
Removes a LocationsListener to be notified when any displayed item has changed.
| locationsListener | the locations listener to remove |
Implemented in com.realtime.crossfire.jxclient.items.AbstractItemView.
Referenced by com.realtime.crossfire.jxclient.gui.list.GUIItemList< GUIItemSpell >.dispose().
Here is the caller graph for this function: