Uses of Interface
com.fs.starfarer.api.ui.LabelAPI
Packages that use LabelAPI
Package
Description
-
Uses of LabelAPI in com.fs.starfarer.api
Methods in com.fs.starfarer.api that return LabelAPI -
Uses of LabelAPI in com.fs.starfarer.api.campaign
Methods in com.fs.starfarer.api.campaign that return LabelAPIModifier and TypeMethodDescriptionTextPanelAPI.addParagraph
(String text) TextPanelAPI.addParagraph
(String text, Color color) -
Uses of LabelAPI in com.fs.starfarer.api.ui
Methods in com.fs.starfarer.api.ui that return LabelAPIModifier and TypeMethodDescriptionTooltipMakerAPI.addParaWithMarkup
(String str, float pad) TooltipMakerAPI.addParaWithMarkup
(String str, float pad, String... tokens) TooltipMakerAPI.addParaWithMarkup
(String str, Color color, float pad) TooltipMakerAPI.addParaWithMarkup
(String str, Color color, float pad, String... tokens) Markup: {{string}} -> highlights it {{color:|string}} -> highlights it with color color can be h|good|bad|text|gray|blue or a color in settings.json If passing in tokens and needing to use a % in the base string: use %% (tokens means a String.format call) If NOT passing in tokens and needing to use a % in the base string: use % (no String.format call) TooltipMakerAPI.addSectionHeading
(String str, Alignment align, float pad) TooltipMakerAPI.addSectionHeading
(String str, Color textColor, Color bgColor, Alignment align, float pad) TooltipMakerAPI.addSectionHeading
(String str, Color textColor, Color bgColor, Alignment align, float width, float pad) TooltipMakerAPI.createLabel
(String str, Color color) Create a label without adding it to the tooltip, so it can be added via addCustom() or passed in to a table row.TooltipMakerAPI.createLabel
(String str, Color color, float maxTextWidth) Create a label without adding it to the tooltip, so it can be added via addCustom() or passed in to a table row.TextFieldAPI.getTextLabelAPI()
HintPanelAPI.setHint
(int index, String format, boolean flash, Color color, Color hl, String... highlights) -
Uses of LabelAPI in com.fs.starfarer.api.util
Methods in com.fs.starfarer.api.util that return LabelAPIModifier and TypeMethodDescriptionstatic LabelAPI
Misc.addDesignTypePara
(TooltipMakerAPI tooltip, String design, float pad)