public class GenericSpecialItemPlugin extends BaseSpecialItemPlugin
BaseSpecialItemPlugin.BlueprintLister, BaseSpecialItemPlugin.ItemCostLabelDataSpecialItemPlugin.RightClickActionHelper, SpecialItemPlugin.SpecialItemRendererAPI| Modifier and Type | Field and Description |
|---|---|
protected boolean |
tooltipIsForPlanetSearch |
itemId, spec, stack| Constructor and Description |
|---|
GenericSpecialItemPlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addInstalledInSection(TooltipMakerAPI tooltip,
float pad) |
static void |
addReqsSection(Industry industry,
InstallableItemEffect effect,
TooltipMakerAPI tooltip,
boolean withRequiresText,
float pad) |
static void |
addSpecialNotesSection(Industry industry,
InstallableItemEffect effect,
TooltipMakerAPI tooltip,
boolean withRequiresText,
float pad) |
void |
createTooltip(TooltipMakerAPI tooltip,
boolean expanded,
CargoTransferHandlerAPI transferHandler,
java.lang.Object stackSource) |
boolean |
isTooltipIsForPlanetSearch() |
void |
setTooltipIsForPlanetSearch(boolean tooltipIsForPlanetSearch) |
addBlueprintList, addCostLabel, addFighterList, addShipList, addWeaponList, createTooltip, getCostLabelData, getDesignType, getId, getItemPriceMult, getName, getPrice, getSpec, getTooltipWidth, hasRightClickAction, init, isTooltipExpandable, performRightClickAction, performRightClickAction, render, resolveDropParamsToSpecificItemData, setId, shouldRemoveOnRightClickActionprotected transient boolean tooltipIsForPlanetSearch
public GenericSpecialItemPlugin()
protected void addInstalledInSection(TooltipMakerAPI tooltip, float pad)
public static void addReqsSection(Industry industry, InstallableItemEffect effect, TooltipMakerAPI tooltip, boolean withRequiresText, float pad)
public static void addSpecialNotesSection(Industry industry, InstallableItemEffect effect, TooltipMakerAPI tooltip, boolean withRequiresText, float pad)
public boolean isTooltipIsForPlanetSearch()
public void setTooltipIsForPlanetSearch(boolean tooltipIsForPlanetSearch)
public void createTooltip(TooltipMakerAPI tooltip, boolean expanded, CargoTransferHandlerAPI transferHandler, java.lang.Object stackSource)
createTooltip in interface SpecialItemPlugincreateTooltip in class BaseSpecialItemPlugin