Starsector API
Loading...
Searching...
No Matches
com.fs.starfarer.api.ui.CustomPanelAPI Interface Reference
Inheritance diagram for com.fs.starfarer.api.ui.CustomPanelAPI:
[legend]
Collaboration diagram for com.fs.starfarer.api.ui.CustomPanelAPI:
[legend]

Public Member Functions

CustomPanelAPI createCustomPanel (float width, float height, CustomUIPanelPlugin plugin)
 
TooltipMakerAPI createUIElement (float width, float height, boolean withScroller)
 
PositionAPI addUIElement (TooltipMakerAPI element)
 
CustomUIPanelPlugin getPlugin ()
 
IntelUIAPI getIntelUI ()
 
UIPanelAPI wrapTooltipWithBox (TooltipMakerAPI tooltip)
 
UIPanelAPI wrapTooltipWithBox (TooltipMakerAPI tooltip, Color color)
 
UIPanelAPI wrapTooltipWithBox (TooltipMakerAPI tooltip, float padLeft, float padRight, float padBelow, float padAbove, Color color)
 
void updateUIElementSizeAndMakeItProcessInput (TooltipMakerAPI element)
 
- Public Member Functions inherited from com.fs.starfarer.api.ui.UIPanelAPI
PositionAPI addComponent (UIComponentAPI custom)
 
void removeComponent (UIComponentAPI component)
 
void bringComponentToTop (UIComponentAPI c)
 
void sendToBottom (UIComponentAPI c)
 
- Public Member Functions inherited from com.fs.starfarer.api.ui.UIComponentAPI
PositionAPI getPosition ()
 
void render (float alphaMult)
 
void processInput (List< InputEventAPI > events)
 
void advance (float amount)
 
void setOpacity (float opacity)
 
float getOpacity ()
 

Detailed Description

Definition at line 7 of file CustomPanelAPI.java.

Member Function Documentation

◆ addUIElement()

PositionAPI com.fs.starfarer.api.ui.CustomPanelAPI.addUIElement ( TooltipMakerAPI element)

◆ createCustomPanel()

CustomPanelAPI com.fs.starfarer.api.ui.CustomPanelAPI.createCustomPanel ( float width,
float height,
CustomUIPanelPlugin plugin )

◆ createUIElement()

TooltipMakerAPI com.fs.starfarer.api.ui.CustomPanelAPI.createUIElement ( float width,
float height,
boolean withScroller )

◆ getIntelUI()

IntelUIAPI com.fs.starfarer.api.ui.CustomPanelAPI.getIntelUI ( )

Returns the intel UI; only works when creating large intel descriptions.

Returns

◆ getPlugin()

CustomUIPanelPlugin com.fs.starfarer.api.ui.CustomPanelAPI.getPlugin ( )

◆ updateUIElementSizeAndMakeItProcessInput()

void com.fs.starfarer.api.ui.CustomPanelAPI.updateUIElementSizeAndMakeItProcessInput ( TooltipMakerAPI element)

◆ wrapTooltipWithBox() [1/3]

UIPanelAPI com.fs.starfarer.api.ui.CustomPanelAPI.wrapTooltipWithBox ( TooltipMakerAPI tooltip)

◆ wrapTooltipWithBox() [2/3]

UIPanelAPI com.fs.starfarer.api.ui.CustomPanelAPI.wrapTooltipWithBox ( TooltipMakerAPI tooltip,
Color color )

◆ wrapTooltipWithBox() [3/3]

UIPanelAPI com.fs.starfarer.api.ui.CustomPanelAPI.wrapTooltipWithBox ( TooltipMakerAPI tooltip,
float padLeft,
float padRight,
float padBelow,
float padAbove,
Color color )

The documentation for this interface was generated from the following file: