Class TooltipPrefab
java.lang.Object
dev.prozilla.pine.core.entity.prefab.Prefab
dev.prozilla.pine.core.entity.prefab.ui.NodePrefab
dev.prozilla.pine.core.entity.prefab.ui.LayoutPrefab
dev.prozilla.pine.core.entity.prefab.ui.TooltipPrefab
@Components({TooltipNode.class,LayoutNode.class,Node.class,Transform.class})
public class TooltipPrefab
extends LayoutPrefab
Prefab for tooltips in the UI.
-
Field Summary
FieldsFields inherited from class dev.prozilla.pine.core.entity.prefab.ui.LayoutPrefab
alignment, arrangeChildren, direction, distribution, gapFields inherited from class dev.prozilla.pine.core.entity.prefab.ui.NodePrefab
absolutePosition, anchor, autoFocus, backgroundColor, border, borderColor, borderImage, borderImageSlice, borderImageSliceFill, classes, color, htmlTag, margin, padding, passThrough, size, styleSheet, tabIndex, tooltipText -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdds this prefab's predefined components to a given entity and copies values from this prefab.voidsetOffset(DualDimension offset) voidsetOffsetX(DimensionBase offsetX) voidsetOffsetY(DimensionBase offsetY) Methods inherited from class dev.prozilla.pine.core.entity.prefab.ui.LayoutPrefab
setAlignment, setArrangeChildren, setDirection, setDistribution, setGapMethods inherited from class dev.prozilla.pine.core.entity.prefab.ui.NodePrefab
addClass, addClasses, setAbsolutePosition, setAnchor, setAutoFocus, setBackgroundColor, setBackgroundColor, setBorder, setBorderColor, setBorderImage, setBorderImage, setColor, setColor, setDefaultPropertyValue, setHTMLTag, setMargin, setMargin, setMargin, setPadding, setPadding, setPadding, setPassThrough, setSize, setSize, setSize, setStyleSheet, setStyleSheet, setTabIndex, setTooltipTextMethods inherited from class dev.prozilla.pine.core.entity.prefab.Prefab
addChild, addChildren, addChildren, instantiate, instantiate, removeChild, setActive, setName, setTag
-
Field Details
-
offset
-
-
Constructor Details
-
TooltipPrefab
public TooltipPrefab()
-
-
Method Details
-
setOffsetX
-
setOffsetY
-
setOffset
-
apply
Description copied from class:PrefabAdds this prefab's predefined components to a given entity and copies values from this prefab.- Overrides:
applyin classLayoutPrefab
-