Class GUINewcharLabel

All Implemented Interfaces:
GUIElement, ImageObserver, MenuContainer, Serializable

public class GUINewcharLabel extends GUIOneLineLabel
A GUIHTMLLabel that displays stat information in the character creation dialog.
See Also:
  • Constructor Details

    • GUINewcharLabel

      public GUINewcharLabel(@NotNull @NotNull TooltipManager tooltipManager, @NotNull @NotNull GUIElementListener elementListener, @NotNull @NotNull String name, @NotNull @NotNull CrossfireServerConnection crossfireServerConnection, @NotNull @NotNull Font font, @NotNull @NotNull Font fontError, @NotNull @NotNull NewcharStat stat, @NotNull @NotNull NewcharType type, @NotNull @NotNull NewCharModel newCharModel, @NotNull @NotNull Color color, @NotNull @NotNull Color colorError, @NotNull @NotNull GuiFactory guiFactory)
      Creates a new instance.
      Parameters:
      tooltipManager - the tooltip manager to update
      elementListener - the element listener to notify
      name - the gui element name
      crossfireServerConnection - the connection instance
      font - the font to use
      fontError - the font for invalid values
      stat - the stat value to display
      type - the stat type to display
      newCharModel - the global new char model instance
      color - the default text color
      colorError - the text color for invalid values
      guiFactory - the global GUI factory instance
  • Method Details