Interface ITaggedWidget

All Known Implementing Classes:
KeybindingButton, WidgetButtonExtended, WidgetCheckBox, WidgetColorSelector, WidgetKeybindCheckBox, WidgetRangeToggleButton
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ITaggedWidget
Represents a widget with a string tag, which is sent to the server in a PacketUpdateGui when the widget is clicked. The open container must implement IGUIButtonSensitive to process the received packet.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the data to send to the server.
  • Method Details

    • getTag

      String getTag()
      Get the data to send to the server. This is just some arbitrary string data which will be processed by the server-side container.
      Returns:
      a string tag containing any arbitrary information