Package com.fs.starfarer.api.ui
Interface CustomPanelAPI
- All Superinterfaces:
UIComponentAPI
,UIPanelAPI
-
Method Summary
Modifier and TypeMethodDescriptionaddUIElement
(TooltipMakerAPI element) createCustomPanel
(float width, float height, CustomUIPanelPlugin plugin) createUIElement
(float width, float height, boolean withScroller) Returns the intel UI; only works when creating large intel descriptions.void
wrapTooltipWithBox
(TooltipMakerAPI tooltip) wrapTooltipWithBox
(TooltipMakerAPI tooltip, float padLeft, float padRight, float padBelow, float padAbove, Color color) wrapTooltipWithBox
(TooltipMakerAPI tooltip, Color color) Methods inherited from interface com.fs.starfarer.api.ui.UIComponentAPI
advance, getOpacity, getPosition, processInput, render, setOpacity
Methods inherited from interface com.fs.starfarer.api.ui.UIPanelAPI
addComponent, bringComponentToTop, removeComponent, sendToBottom
-
Method Details
-
createCustomPanel
-
createUIElement
-
addUIElement
-
getPlugin
CustomUIPanelPlugin getPlugin() -
getIntelUI
IntelUIAPI getIntelUI()Returns the intel UI; only works when creating large intel descriptions.- Returns:
-
wrapTooltipWithBox
-
wrapTooltipWithBox
-
wrapTooltipWithBox
UIPanelAPI wrapTooltipWithBox(TooltipMakerAPI tooltip, float padLeft, float padRight, float padBelow, float padAbove, Color color) -
updateUIElementSizeAndMakeItProcessInput
-