Class QuestsView

java.lang.Object
com.realtime.crossfire.jxclient.items.AbstractItemView
com.realtime.crossfire.jxclient.items.QuestsView
All Implemented Interfaces:
ItemView

public class QuestsView extends AbstractItemView
Provides a view of all quests a character is doing.
  • Constructor Details

    • QuestsView

      public QuestsView(@NotNull @NotNull QuestsManager questsManager, @NotNull @NotNull FacesManager facesManager)
      Creates a new instance.
      Parameters:
      questsManager - the quests to display
      facesManager - the faces manager for retrieving face information
  • Method Details

    • getSize

      public int getSize()
      Description copied from interface: ItemView
      Returns the number of items.
      Returns:
      the number of items
    • getItem

      @Nullable public @Nullable CfItem getItem(int index)
      Description copied from interface: ItemView
      Returns the CfItem in a given slot.
      Parameters:
      index - the slot index
      Returns:
      the item or null if the slot is empty
    • setFilter

      public void setFilter(@NotNull @NotNull QuestsFilter filter)
      Sets the QuestsFilter.
      Parameters:
      filter - the new quests filter