Interface WindowQuestLogQuestModule<T>

Type Parameters:
T - the quest instance type.
All Known Implementing Classes:
WindowQuestLogAvailableQuestModule, WindowQuestLogFinishedQuestModule, WindowQuestLogInProgressQuestQuestModule

public interface WindowQuestLogQuestModule<T>
Interface for quest log renderers.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the list of quests for this window.
    void
    renderQuestItem(T quest, IColonyView colonyView, com.ldtteam.blockui.Pane row)
    Renderer method for an individual quest item.
    default void
    trackQuest(T quest)
    Method to instantiate quest tracking, does not have to be implemented.
  • Method Details

    • getQuestItems

      List<T> getQuestItems(IColonyView colonyView)
      Get the list of quests for this window.
      Parameters:
      colonyView - the colony instance.
      Returns:
      a list of quest items.
    • renderQuestItem

      void renderQuestItem(T quest, IColonyView colonyView, com.ldtteam.blockui.Pane row)
      Renderer method for an individual quest item. Called via the scrolling list.
      Parameters:
      quest - the current quest instance.
      colonyView - the colony view instance.
      row - the parenting row pane.
    • trackQuest

      default void trackQuest(T quest)
      Method to instantiate quest tracking, does not have to be implemented.
      Parameters:
      quest - the quest instance.