public interface TextPanelAPI
Modifier and Type | Method and Description |
---|---|
boolean |
addCostPanel(java.lang.String title,
java.awt.Color color,
java.awt.Color dark,
java.lang.Object... params) |
ResourceCostPanelAPI |
addCostPanel(java.lang.String title,
float height,
java.awt.Color color,
java.awt.Color dark) |
boolean |
addCostPanel(java.lang.String title,
java.lang.Object... params) |
void |
addImage(java.lang.String spriteName) |
void |
addImage(java.lang.String category,
java.lang.String key) |
LabelAPI |
addPara(java.lang.String text) |
LabelAPI |
addPara(java.lang.String text,
java.awt.Color color) |
LabelAPI |
addPara(java.lang.String format,
java.awt.Color color,
java.awt.Color hl,
java.lang.String... highlights) |
LabelAPI |
addPara(java.lang.String format,
java.awt.Color hl,
java.lang.String... highlights) |
LabelAPI |
addParagraph(java.lang.String text) |
LabelAPI |
addParagraph(java.lang.String text,
java.awt.Color color) |
void |
addSkillPanel(PersonAPI person,
boolean admin) |
void |
addTooltip() |
void |
advance(float amount) |
void |
appendToLastParagraph(int charsToCut,
java.lang.String text) |
void |
appendToLastParagraph(java.lang.String text) |
TooltipMakerAPI |
beginTooltip() |
void |
clear() |
InteractionDialogAPI |
getDialog() |
void |
highlightFirstInLastPara(java.lang.String text,
java.awt.Color color) |
void |
highlightInLastPara(java.awt.Color color,
java.lang.String... strings) |
void |
highlightInLastPara(java.lang.String... strings)
Must be in order they appear in the paragraph.
|
void |
highlightLastInLastPara(java.lang.String text,
java.awt.Color color) |
boolean |
isOrbitronMode() |
void |
replaceLastParagraph(java.lang.String text) |
void |
replaceLastParagraph(java.lang.String text,
java.awt.Color color) |
void |
setFontInsignia() |
void |
setFontOrbitron() |
void |
setFontOrbitronUnnecessarilyLarge() |
void |
setFontSmallInsignia() |
void |
setFontVictor() |
void |
setHighlightColorsInLastPara(java.awt.Color... colors) |
void |
setHighlightsInLastPara(Highlights h) |
void |
setOrbitronMode(boolean orbitronMode) |
void |
updateSize() |
void setFontInsignia()
void setFontOrbitron()
void setFontVictor()
void setFontSmallInsignia()
LabelAPI addPara(java.lang.String text)
LabelAPI addPara(java.lang.String text, java.awt.Color color)
LabelAPI addParagraph(java.lang.String text)
LabelAPI addParagraph(java.lang.String text, java.awt.Color color)
void replaceLastParagraph(java.lang.String text)
void replaceLastParagraph(java.lang.String text, java.awt.Color color)
void appendToLastParagraph(java.lang.String text)
void appendToLastParagraph(int charsToCut, java.lang.String text)
void highlightFirstInLastPara(java.lang.String text, java.awt.Color color)
void highlightLastInLastPara(java.lang.String text, java.awt.Color color)
void highlightInLastPara(java.awt.Color color, java.lang.String... strings)
void highlightInLastPara(java.lang.String... strings)
strings
- void setHighlightColorsInLastPara(java.awt.Color... colors)
void clear()
InteractionDialogAPI getDialog()
boolean isOrbitronMode()
void setOrbitronMode(boolean orbitronMode)
ResourceCostPanelAPI addCostPanel(java.lang.String title, float height, java.awt.Color color, java.awt.Color dark)
void setHighlightsInLastPara(Highlights h)
LabelAPI addPara(java.lang.String format, java.awt.Color color, java.awt.Color hl, java.lang.String... highlights)
LabelAPI addPara(java.lang.String format, java.awt.Color hl, java.lang.String... highlights)
void advance(float amount)
TooltipMakerAPI beginTooltip()
void addTooltip()
void updateSize()
boolean addCostPanel(java.lang.String title, java.awt.Color color, java.awt.Color dark, java.lang.Object... params)
boolean addCostPanel(java.lang.String title, java.lang.Object... params)
void addSkillPanel(PersonAPI person, boolean admin)
void setFontOrbitronUnnecessarilyLarge()
void addImage(java.lang.String category, java.lang.String key)
void addImage(java.lang.String spriteName)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.