public class MapMarkerIntel extends FleetLogIntel
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BUTTON_EDIT |
protected SectorEntityToken |
copy |
protected java.lang.String |
discoveredPrefixOverride |
protected SectorEntityToken |
entity |
protected java.lang.String |
text |
protected java.lang.String |
title |
DEFAULT_DURATION, DISCOVERED_PARAM, duration, icon, iconId, keepExploredDebrisField, removeSurveyedPlanet, removeTrigger, soundBULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, tagsForSort, timestampLIST_ITEM_TEXT_WIDTH, NEW_DAYS| Constructor and Description |
|---|
MapMarkerIntel() |
MapMarkerIntel(SectorEntityToken entity,
java.lang.String title,
java.lang.String text,
java.lang.String icon,
boolean withDesc) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBulletPoints(TooltipMakerAPI info,
IntelInfoPlugin.ListInfoMode mode) |
protected void |
addCustomDescription(TooltipMakerAPI info,
float width,
float height) |
protected void |
addCustomVisual(TooltipMakerAPI info,
float width,
float height) |
protected void |
addExtraBulletPoints(TooltipMakerAPI info,
java.awt.Color tc,
float initPad,
IntelInfoPlugin.ListInfoMode mode) |
protected void |
addPostDescriptionSection(TooltipMakerAPI info,
float width,
float height,
float opad) |
void |
buttonPressConfirmed(java.lang.Object buttonId,
IntelUIAPI ui) |
void |
createIntelInfo(TooltipMakerAPI info,
IntelInfoPlugin.ListInfoMode mode) |
void |
createSmallDescription(TooltipMakerAPI info,
float width,
float height) |
boolean |
doesButtonHaveConfirmDialog(java.lang.Object buttonId) |
protected boolean |
endsInPunct(java.lang.String str,
boolean forBulletPoint) |
java.lang.String |
getDiscoveredPrefixOverride() |
SectorEntityToken |
getEntity() |
FactionAPI |
getFactionForUIColors() |
java.util.Set<java.lang.String> |
getIntelTags(SectorMapAPI map)
Method NEEDS to handle map being null gracefully.
|
SectorEntityToken |
getMapLocation(SectorMapAPI map) |
java.lang.String |
getName() |
java.lang.String |
getSmallDescriptionTitle() |
java.lang.String |
getSortString() |
java.lang.String |
getText() |
java.lang.String |
getTitle() |
protected void |
init(SectorEntityToken entity,
java.lang.String title,
java.lang.String text,
java.lang.String icon,
boolean withDesc) |
protected void |
init(SectorEntityToken entity,
java.lang.String title,
java.lang.String text,
java.lang.String icon,
boolean withDesc,
TextPanelAPI textPanel) |
boolean |
isHidden()
Whether to actually show this piece of intel in the intel screen/show messages or updates for it,
despite it being technically known to the player.
|
boolean |
isWithDeleteButton() |
boolean |
isWithDesc() |
boolean |
isWithTimestamp() |
static SectorEntityToken |
makeDoubleWithSameOrbit(SectorEntityToken entity) |
void |
reportRemovedIntel() |
void |
setDiscoveredPrefixOverride(java.lang.String discoveredPrefixOverride) |
void |
setEntity(SectorEntityToken entity) |
void |
setText(java.lang.String text) |
void |
setTitle(java.lang.String title) |
void |
setWithDeleteButton(boolean withDeleteButton) |
void |
setWithDesc(boolean withDesc) |
void |
setWithTimestamp(boolean withTimestamp) |
boolean |
shouldRemoveIntel() |
protected boolean |
withCustomDescription() |
protected boolean |
withCustomVisual() |
protected boolean |
withTextInDesc() |
getCommMessageSound, getIcon, getIconId, getKeepExploredDebrisField, getRemoveSurveyedPlanet, getRemoveTrigger, getSound, setDefaultExpiration, setDuration, setIcon, setIconId, setKeepExploredDebrisField, setRemoveSurveyedPlanet, setRemoveTrigger, setSoundaddBulletPoints, addDays, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, addLogTimestamp, addMarketTable, addMarketToList, addMarketToList, advance, advanceImpl, autoAddCampaignMessage, bullet, buttonPressCancelled, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, canTurnImportantOff, createConfirmationPrompt, createDeleteConfirmationPrompt, createLargeDescription, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getImportantIcon, getListInfoParam, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSortStringNewestFirst, getSortStringNewestFirst, getSortTier, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, getTagsForSort, getTimeRemainingFraction, getTitleColor, hasImportantButton, hasLargeDescription, hasSmallDescription, indent, isDone, isEnded, isEnding, isImportant, isNew, isPlayerVisible, isSendingUpdate, notifyEnded, notifyEnding, notifyPlayerAboutToOpenIntelScreen, reportMadeVisibleToPlayer, reportPlayerClickedOn, runWhilePaused, sendUpdate, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, setForceAddNextFrame, setHidden, setImportant, setListInfoParam, setNew, setPlayerVisibleTimestamp, setPostingLocation, setPostingRangeLY, setPostingRangeLY, setTagsForSort, storyActionConfirmed, tableRowClicked, unindentpublic static java.lang.String BUTTON_EDIT
protected SectorEntityToken entity
protected SectorEntityToken copy
protected java.lang.String title
protected java.lang.String text
protected transient java.lang.String discoveredPrefixOverride
public MapMarkerIntel()
public MapMarkerIntel(SectorEntityToken entity, java.lang.String title, java.lang.String text, java.lang.String icon, boolean withDesc)
protected void init(SectorEntityToken entity, java.lang.String title, java.lang.String text, java.lang.String icon, boolean withDesc)
protected void init(SectorEntityToken entity, java.lang.String title, java.lang.String text, java.lang.String icon, boolean withDesc, TextPanelAPI textPanel)
public void reportRemovedIntel()
reportRemovedIntel in interface IntelInfoPluginreportRemovedIntel in class BaseIntelPluginpublic static SectorEntityToken makeDoubleWithSameOrbit(SectorEntityToken entity)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public SectorEntityToken getEntity()
public void setEntity(SectorEntityToken entity)
public java.lang.String getText()
public void setText(java.lang.String text)
public boolean isWithDesc()
public void setWithDesc(boolean withDesc)
public void createIntelInfo(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
createIntelInfo in interface IntelInfoPlugincreateIntelInfo in class BaseIntelPluginprotected void addBulletPoints(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
addBulletPoints in class BaseIntelPluginprotected void addExtraBulletPoints(TooltipMakerAPI info, java.awt.Color tc, float initPad, IntelInfoPlugin.ListInfoMode mode)
protected boolean endsInPunct(java.lang.String str, boolean forBulletPoint)
protected boolean withTextInDesc()
protected boolean withCustomVisual()
protected boolean withCustomDescription()
protected void addCustomVisual(TooltipMakerAPI info, float width, float height)
protected void addCustomDescription(TooltipMakerAPI info, float width, float height)
protected void addPostDescriptionSection(TooltipMakerAPI info, float width, float height, float opad)
public boolean isWithDeleteButton()
public void setWithDeleteButton(boolean withDeleteButton)
public boolean isWithTimestamp()
public void setWithTimestamp(boolean withTimestamp)
public void createSmallDescription(TooltipMakerAPI info, float width, float height)
createSmallDescription in interface IntelInfoPlugincreateSmallDescription in class BaseIntelPluginpublic void buttonPressConfirmed(java.lang.Object buttonId, IntelUIAPI ui)
buttonPressConfirmed in interface IntelInfoPluginbuttonPressConfirmed in class BaseIntelPluginpublic boolean doesButtonHaveConfirmDialog(java.lang.Object buttonId)
doesButtonHaveConfirmDialog in interface IntelInfoPlugindoesButtonHaveConfirmDialog in class BaseIntelPluginpublic java.util.Set<java.lang.String> getIntelTags(SectorMapAPI map)
IntelInfoPlugingetIntelTags in interface IntelInfoPlugingetIntelTags in class FleetLogIntelpublic java.lang.String getSortString()
getSortString in interface IntelInfoPlugingetSortString in class FleetLogIntelpublic java.lang.String getDiscoveredPrefixOverride()
public void setDiscoveredPrefixOverride(java.lang.String discoveredPrefixOverride)
public java.lang.String getName()
getName in class BaseIntelPluginpublic FactionAPI getFactionForUIColors()
getFactionForUIColors in interface IntelInfoPlugingetFactionForUIColors in class BaseIntelPluginpublic java.lang.String getSmallDescriptionTitle()
getSmallDescriptionTitle in interface IntelInfoPlugingetSmallDescriptionTitle in class BaseIntelPluginpublic SectorEntityToken getMapLocation(SectorMapAPI map)
getMapLocation in interface IntelInfoPlugingetMapLocation in class BaseIntelPluginpublic boolean shouldRemoveIntel()
shouldRemoveIntel in interface IntelInfoPluginshouldRemoveIntel in class FleetLogIntelpublic boolean isHidden()
IntelInfoPluginisHidden in interface IntelInfoPluginisHidden in class BaseIntelPlugin