Interface HasToolTip

All Known Implementing Classes:
ExtensibleTextFieldWidget, FancyButtonWidget, IconWidget, TexturedButtonWidget

public interface HasToolTip
  • Method Summary

    Modifier and Type
    Method
    Description
    The tooltip to show, can be multiline by adding another element onto the list.
    int[]
    The position and size of your element.
  • Method Details

    • getTooltip

      List<String> 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.