Crossfire JXClient, Trunk
R20561
|
Provides a view of all quests a character is doing. More...
Public Member Functions | |||||
CfItem | getItem (final int index) | ||||
Returns the CfItem in a given slot.
| |||||
int | getSize () | ||||
Returns the number of items.
| |||||
QuestsView (@NotNull final QuestsManager questsManager, @NotNull final FacesManager facesManager) | |||||
Creates a new instance. More... | |||||
![]() | |||||
void | addLocationListener (final int index, @NotNull final LocationListener locationListener) | ||||
Adds a LocationListener to be notified when the item displayed in a floor slot has changed.
| |||||
void | addLocationsListener (@NotNull final LocationsListener locationsListener) | ||||
Adds a LocationsListener to be notified when any displayed item has changed.
| |||||
void | removeLocationListener (final int index, @NotNull final LocationListener locationListener) | ||||
Removes a LocationListener to be notified when the item displayed in a floor slot has changed.
| |||||
void | removeLocationsListener (@NotNull final LocationsListener locationsListener) | ||||
Removes a LocationsListener to be notified when any displayed item has changed.
| |||||
Private Attributes | |
final FacesManager | facesManager |
The FacesManager for retrieving face information. More... | |
final QuestsManager | questsManager |
The quests to display. More... | |
Additional Inherited Members | |
![]() | |
AbstractItemView () | |
Creates a new instance. More... | |
void | addModified (final int index) |
Marks a slot as modified. More... | |
void | addModifiedRange (final int firstIndex, final int lastIndex) |
Marks a range of slots as modified. More... | |
Provides a view of all quests a character is doing.
Definition at line 34 of file QuestsView.java.
com.realtime.crossfire.jxclient.items.QuestsView.QuestsView | ( | @NotNull final QuestsManager | questsManager, |
@NotNull final FacesManager | facesManager | ||
) |
Creates a new instance.
questsManager | the quests to display |
facesManager | the faces manager for retrieving face information |
Definition at line 53 of file QuestsView.java.
References com.realtime.crossfire.jxclient.faces.FacesManager.addFacesManagerListener(), com.realtime.crossfire.jxclient.items.AbstractItemView.addModifiedRange(), com.realtime.crossfire.jxclient.items.QuestsView.facesManager, and com.realtime.crossfire.jxclient.items.QuestsView.questsManager.
CfItem com.realtime.crossfire.jxclient.items.QuestsView.getItem | ( | final int | index | ) |
Returns the CfItem in a given slot.
index | the slot index |
Implements com.realtime.crossfire.jxclient.items.ItemView.
Definition at line 77 of file QuestsView.java.
References com.realtime.crossfire.jxclient.quests.Quest.getCode(), com.realtime.crossfire.jxclient.faces.FacesManager.getFace(), com.realtime.crossfire.jxclient.quests.Quest.getFace(), com.realtime.crossfire.jxclient.quests.QuestsManager.getQuest(), and com.realtime.crossfire.jxclient.quests.Quest.getTitle().
int com.realtime.crossfire.jxclient.items.QuestsView.getSize | ( | ) |
Returns the number of items.
Implements com.realtime.crossfire.jxclient.items.ItemView.
Definition at line 68 of file QuestsView.java.
References com.realtime.crossfire.jxclient.quests.QuestsManager.getQuests().
|
private |
The FacesManager for retrieving face information.
Definition at line 46 of file QuestsView.java.
Referenced by com.realtime.crossfire.jxclient.items.QuestsView.QuestsView().
|
private |
The quests to display.
Definition at line 40 of file QuestsView.java.
Referenced by com.realtime.crossfire.jxclient.items.QuestsView.QuestsView().