Class GUIDialogTitle

All Implemented Interfaces:
GUIElement, ImageObserver, MenuContainer, Serializable

public class GUIDialogTitle extends GUIOneLineLabel
A dialog title that allows to move the dialog.
See Also:
  • Constructor Details

    • GUIDialogTitle

      public GUIDialogTitle(@NotNull @NotNull TooltipManager tooltipManager, @NotNull @NotNull JXCWindowRenderer windowRenderer, @NotNull @NotNull GUIElementListener elementListener, @NotNull @NotNull String name, @NotNull @NotNull Font textFont, @NotNull @NotNull Color textColor, @Nullable @Nullable Color backgroundColor, @NotNull @NotNull String title, @NotNull @NotNull GuiFactory guiFactory)
      Creates a new instance.
      Parameters:
      tooltipManager - the tooltip manager to update
      windowRenderer - the window renderer this element belongs to
      elementListener - the element listener to notify
      name - the name of this element
      textFont - the font for rendering the label text
      textColor - the font color
      backgroundColor - the background color
      title - the title text
      guiFactory - the global GUI factory instance
  • Method Details