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

Public Member Functions

CfItem getItem (final int index)
 
int getSize ()
 
 SpellsView (@NotNull final SpellsManager spellsManager, @NotNull final FacesManager facesManager)
 
- Public Member Functions inherited from com.realtime.crossfire.jxclient.items.AbstractItemView
void addLocationListener (final int index, @NotNull final LocationListener locationListener)
 
void addLocationsListener (@NotNull final LocationsListener locationsListener)
 
void removeLocationListener (final int index, @NotNull final LocationListener locationListener)
 
void removeLocationsListener (@NotNull final LocationsListener locationsListener)
 

Private Attributes

final FacesManager facesManager
 
final SpellsManager spellsManager
 

Additional Inherited Members

- Protected Member Functions inherited from com.realtime.crossfire.jxclient.items.AbstractItemView
 AbstractItemView ()
 
void addModified (final int index)
 
void addModifiedRange (final int firstIndex, final int lastIndex)
 

Detailed Description

Provides a view of all spells a character knows.

Author
Nicolas Weeger

Definition at line 37 of file SpellsView.java.

Constructor & Destructor Documentation

◆ SpellsView()

com.realtime.crossfire.jxclient.items.SpellsView.SpellsView ( @NotNull final SpellsManager  spellsManager,
@NotNull final FacesManager  facesManager 
)

Member Function Documentation

◆ getItem()

CfItem com.realtime.crossfire.jxclient.items.SpellsView.getItem ( final int  index)

◆ getSize()

int com.realtime.crossfire.jxclient.items.SpellsView.getSize ( )

Returns the number of items.

Returns
the number of items

Implements com.realtime.crossfire.jxclient.items.ItemView.

Definition at line 80 of file SpellsView.java.

References com.realtime.crossfire.jxclient.spells.SpellsManager.getFilteredSpellsCount(), and com.realtime.crossfire.jxclient.items.SpellsView.spellsManager.

Here is the call graph for this function:

Member Data Documentation

◆ facesManager

final FacesManager com.realtime.crossfire.jxclient.items.SpellsView.facesManager
private

◆ spellsManager

final SpellsManager com.realtime.crossfire.jxclient.items.SpellsView.spellsManager
private

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