public class MessageIntel extends BaseIntelPlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageIntel.MessageLineData |
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
extra |
protected java.lang.String |
icon |
protected java.util.List<MessageIntel.MessageLineData> |
lines |
protected java.lang.String |
sound |
BULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, tagsForSort, timestampLIST_ITEM_TEXT_WIDTH, NEW_DAYS| Constructor and Description |
|---|
MessageIntel() |
MessageIntel(java.lang.String text) |
MessageIntel(java.lang.String text,
java.awt.Color color) |
MessageIntel(java.lang.String text,
java.awt.Color color,
java.lang.String[] highlights,
java.awt.Color... colors) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLine(java.lang.String text) |
void |
addLine(java.lang.String text,
java.awt.Color color) |
void |
addLine(java.lang.String text,
java.awt.Color color,
java.lang.String[] highlights,
java.awt.Color... colors) |
void |
clearLines() |
void |
createIntelInfo(TooltipMakerAPI info,
IntelInfoPlugin.ListInfoMode mode) |
java.lang.String |
getCommMessageSound() |
java.lang.String |
getExtra() |
java.lang.String |
getIcon()
40x40, no icon if null.
|
java.lang.String |
getSound() |
void |
setExtra(java.lang.String extra) |
void |
setIcon(java.lang.String icon) |
void |
setSound(java.lang.String sound) |
addBulletPoints, addBulletPoints, addDays, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, addLogTimestamp, addMarketTable, addMarketToList, addMarketToList, advance, advanceImpl, autoAddCampaignMessage, bullet, buttonPressCancelled, buttonPressConfirmed, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, canTurnImportantOff, createConfirmationPrompt, createDeleteConfirmationPrompt, createLargeDescription, createSmallDescription, doesButtonHaveConfirmDialog, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getFactionForUIColors, getImportantIcon, getIntelTags, getListInfoParam, getMapLocation, getName, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSmallDescriptionTitle, getSortString, getSortStringNewestFirst, getSortStringNewestFirst, getSortTier, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, getTagsForSort, getTimeRemainingFraction, getTitleColor, hasImportantButton, hasLargeDescription, hasSmallDescription, indent, isDone, isEnded, isEnding, isHidden, isImportant, isNew, isPlayerVisible, isSendingUpdate, notifyEnded, notifyEnding, notifyPlayerAboutToOpenIntelScreen, reportMadeVisibleToPlayer, reportPlayerClickedOn, reportRemovedIntel, runWhilePaused, sendUpdate, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, setForceAddNextFrame, setHidden, setImportant, setListInfoParam, setNew, setPlayerVisibleTimestamp, setPostingLocation, setPostingRangeLY, setPostingRangeLY, setTagsForSort, shouldRemoveIntel, storyActionConfirmed, tableRowClicked, unindentprotected java.util.List<MessageIntel.MessageLineData> lines
protected java.lang.String icon
protected java.lang.String sound
protected java.lang.String extra
public MessageIntel()
public MessageIntel(java.lang.String text)
public MessageIntel(java.lang.String text, java.awt.Color color)
public MessageIntel(java.lang.String text, java.awt.Color color, java.lang.String[] highlights, java.awt.Color... colors)
public void addLine(java.lang.String text)
public void addLine(java.lang.String text, java.awt.Color color)
public void addLine(java.lang.String text, java.awt.Color color, java.lang.String[] highlights, java.awt.Color... colors)
public void clearLines()
public void createIntelInfo(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
createIntelInfo in interface IntelInfoPlugincreateIntelInfo in class BaseIntelPluginpublic java.lang.String getIcon()
IntelInfoPlugingetIcon in interface IntelInfoPlugingetIcon in class BaseIntelPluginpublic void setIcon(java.lang.String icon)
public java.lang.String getSound()
public void setSound(java.lang.String sound)
public java.lang.String getCommMessageSound()
getCommMessageSound in interface IntelInfoPlugingetCommMessageSound in class BaseIntelPluginpublic java.lang.String getExtra()
public void setExtra(java.lang.String extra)