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 TypeMethodDescriptiongetQuestItems(IColonyView colonyView) Get the list of quests for this window.voidrenderQuestItem(T quest, IColonyView colonyView, com.ldtteam.blockui.Pane row) Renderer method for an individual quest item.default voidtrackQuest(T quest) Method to instantiate quest tracking, does not have to be implemented.
-
Method Details
-
getQuestItems
Get the list of quests for this window.- Parameters:
colonyView- the colony instance.- Returns:
- a list of quest items.
-
renderQuestItem
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
Method to instantiate quest tracking, does not have to be implemented.- Parameters:
quest- the quest instance.
-