Interface HasToolTip
- All Known Implementing Classes:
ExtensibleTextFieldWidget,FancyButtonWidget,IconWidget,ResetConfigWidget,TexturedButtonWidget
public interface HasToolTip
-
Method Summary
Modifier and TypeMethodDescriptionThe tooltip to show, can be multiline by adding another element onto the list.int[]getXYWH()The position and size of your element.
-
Method Details
-
getTooltip
The tooltip to show, can be multiline by adding another element onto the list.- Returns:
- a List of colour-enabled strings to use as a tooltip.
-
getXYWH
int[] getXYWH()The position and size of your element. Required.- Returns:
- a 4 length array of ints, the X position, Y position, width and height of your element.
-