public interface CodexEntryPlugin
| Modifier and Type | Interface and Description |
|---|---|
static class |
CodexEntryPlugin.ListMode |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(CodexEntryPlugin entry) |
void |
addRelatedEntry(CodexEntryPlugin entry) |
void |
addRelatedEntry(java.lang.String id) |
void |
addTag(java.lang.String tag)
These tags are completely unrelated to the matchesTags() method; these are not player-facing at all.
|
boolean |
checkTagsWhenLocked() |
void |
configureTagDisplay(TagDisplayAPI tags) |
void |
createCustomDetail(CustomPanelAPI panel,
UIPanelAPI relatedEntries,
CodexDialogAPI codex) |
void |
createTitleForList(TooltipMakerAPI info,
float width,
CodexEntryPlugin.ListMode mode) |
void |
destroyCustomDetail() |
float |
getCategorySortTierForRelatedEntries()
Checked for the *parent* of the related entry.
|
java.util.List<CodexEntryPlugin> |
getChildren() |
java.util.List<CodexEntryPlugin> |
getChildrenRecursive(boolean includeCategories) |
CustomUIPanelPlugin |
getCustomPanelPlugin()
Optional, can be null.
|
java.lang.String |
getIcon() |
default java.awt.Color |
getIconColor() |
java.lang.String |
getId() |
java.lang.Object |
getParam() |
java.lang.Object |
getParam2() |
CodexEntryPlugin |
getParent() |
java.util.Set<CodexEntryPlugin> |
getRelatedEntries() |
java.util.Set<java.lang.String> |
getRelatedEntryIds() |
java.lang.String |
getSearchString() |
java.lang.String |
getSortTitle() |
ModSpecAPI |
getSourceMod() |
java.util.Set<java.lang.String> |
getTags()
These tags are completely unrelated to the matchesTags() method; these are not player-facing at all.
|
java.lang.String |
getTitle() |
boolean |
hasCustomDetailPanel() |
boolean |
hasDetail() |
boolean |
hasTag(java.lang.String tag)
These tags are completely unrelated to the matchesTags() method; these are not player-facing at all.
|
boolean |
hasTagDisplay() |
boolean |
isCategory() |
boolean |
isLocked() |
boolean |
isRetainOrderOfChildren() |
boolean |
isRetainOrderOfRelatedEntries() |
boolean |
isVignetteIcon() |
boolean |
isVisible() |
boolean |
matchesTags(java.util.Set<java.lang.String> tags) |
void |
removeRelatedEntry(CodexEntryPlugin entry) |
void |
removeRelatedEntry(java.lang.String id) |
void |
setCategorySortTierForRelatedEntries(float categorySortTierForRelatedEntries) |
void |
setIcon(java.lang.String icon) |
void |
setParent(CodexEntryPlugin parent) |
void |
setRetainOrderOfChildren(boolean retainOrderOfChildren) |
void |
setRetainOrderOfRelatedEntries(boolean retainOrderOfRelatedEntries) |
boolean |
skipForTags() |
void createTitleForList(TooltipMakerAPI info, float width, CodexEntryPlugin.ListMode mode)
java.lang.String getId()
java.lang.String getTitle()
java.lang.String getSortTitle()
java.lang.String getSearchString()
java.lang.String getIcon()
boolean isVignetteIcon()
default java.awt.Color getIconColor()
CodexEntryPlugin getParent()
void setParent(CodexEntryPlugin parent)
boolean isRetainOrderOfChildren()
void setRetainOrderOfChildren(boolean retainOrderOfChildren)
java.util.List<CodexEntryPlugin> getChildren()
void addChild(CodexEntryPlugin entry)
boolean isCategory()
boolean hasDetail()
boolean isVisible()
java.lang.Object getParam()
java.lang.Object getParam2()
boolean isLocked()
boolean matchesTags(java.util.Set<java.lang.String> tags)
boolean hasTagDisplay()
void configureTagDisplay(TagDisplayAPI tags)
java.util.Set<CodexEntryPlugin> getRelatedEntries()
void addRelatedEntry(CodexEntryPlugin entry)
void addRelatedEntry(java.lang.String id)
void removeRelatedEntry(CodexEntryPlugin entry)
void removeRelatedEntry(java.lang.String id)
boolean isRetainOrderOfRelatedEntries()
void setRetainOrderOfRelatedEntries(boolean retainOrderOfRelatedEntries)
float getCategorySortTierForRelatedEntries()
void setCategorySortTierForRelatedEntries(float categorySortTierForRelatedEntries)
java.util.List<CodexEntryPlugin> getChildrenRecursive(boolean includeCategories)
boolean hasCustomDetailPanel()
CustomUIPanelPlugin getCustomPanelPlugin()
void createCustomDetail(CustomPanelAPI panel, UIPanelAPI relatedEntries, CodexDialogAPI codex)
void destroyCustomDetail()
java.util.Set<java.lang.String> getRelatedEntryIds()
boolean skipForTags()
java.util.Set<java.lang.String> getTags()
void addTag(java.lang.String tag)
boolean hasTag(java.lang.String tag)
void setIcon(java.lang.String icon)
boolean checkTagsWhenLocked()
ModSpecAPI getSourceMod()