public class QuestsView extends AbstractItemView
Constructor and Description |
---|
QuestsView(@NotNull QuestsManager questsManager,
@NotNull FacesManager facesManager)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
@Nullable CfItem |
getItem(int index)
Returns the
CfItem in a given slot. |
int |
getSize()
Returns the number of items.
|
void |
setFilter(@NotNull QuestsFilter filter)
Sets the
QuestsFilter . |
addLocationListener, addLocationsListener, addModified, addModifiedRange, removeLocationListener, removeLocationsListener
public QuestsView(@NotNull @NotNull QuestsManager questsManager, @NotNull @NotNull FacesManager facesManager)
questsManager
- the quests to displayfacesManager
- the faces manager for retrieving face informationpublic int getSize()
ItemView
@Nullable public @Nullable CfItem getItem(int index)
ItemView
CfItem
in a given slot.index
- the slot indexnull
if the slot is emptypublic void setFilter(@NotNull @NotNull QuestsFilter filter)
QuestsFilter
.filter
- the new quests filter