Package io.github.cottonmc.cotton.gui.widget


package io.github.cottonmc.cotton.gui.widget
Widgets for building GUIs.
  • Interface Summary
    Interface
    Description
    A listener for changes in an item slot.
    A label updater updates the label of a slider based on the current value.
  • Class Summary
    Class
    Description
    A builder for widget tooltips.
    A base class for slider widgets that can be used to select int values.
    A bar that displays int values from a PropertyDelegate.
    Similar to the BoxLayout in Swing, this widget represents a list of widgets along an axis.
     
    Similar to the CardLayout in AWT, this panel displays one widget at a time from a list of widgets.
    A panel that is clipped to only render widgets inside its bounds.
    Dynamic labels are labels that pull their text from a Supplier<String>.
    A panel that positions children in a grid.
    A widget that displays an item or a list of items.
    A widget that displays an item that can be interacted with.
    A single-line label widget.
    A vanilla-style labeled slider widget.
    WListPanel<D,​W extends WWidget>
    Similar to the RecyclerView in Android, this widget represents a scrollable list of items.
    Panels are widgets that contain other widgets.
    A panel that positions children by pixel-perfect positions.
    A player inventory widget that has a visually separate hotbar.
     
    Similar to the JScrollPane in Swing, this widget represents a scrollable widget.
    A simple slider widget that can be used to select int values.
     
    A panel that contains creative inventory-style tabs on the top.
    The data of a tab.
    A builder for tab data.
    A multiline label widget.
     
    A sprite whose texture will be tiled.
     
    The base class for all widgets.
  • Enum Class Summary
    Enum Class
    Description
    The direction enum represents all four directions a slider can face.