类 AbstractTextAreaWidget

所有已实现的接口:
GuiEventListener, Renderable, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier
直接已知子类:
FittingMultiLineTextWidget, MultiLineEditBox, TelemetryEventWidget

public abstract class AbstractTextAreaWidget extends AbstractScrollArea
  • 字段详细资料

    • BACKGROUND_SPRITES

      private static final WidgetSprites BACKGROUND_SPRITES
    • INNER_PADDING

      private static final int INNER_PADDING
      另请参阅:
  • 构造器详细资料

    • AbstractTextAreaWidget

      public AbstractTextAreaWidget(int p_378028_, int p_375960_, int p_376988_, int p_376757_, Component p_378529_)
  • 方法详细资料

    • mouseClicked

      public boolean mouseClicked(double p_375702_, double p_378084_, int p_377941_)
      指定者:
      mouseClicked 在接口中 GuiEventListener
      覆盖:
      mouseClicked 在类中 AbstractWidget
    • keyPressed

      public boolean keyPressed(int p_378364_, int p_377961_, int p_378789_)
    • renderWidget

      public void renderWidget(GuiGraphics p_376330_, int p_376585_, int p_376181_, float p_376214_)
      指定者:
      renderWidget 在类中 AbstractWidget
    • renderDecorations

      protected void renderDecorations(GuiGraphics p_376435_)
    • innerPadding

      protected int innerPadding()
    • totalInnerPadding

      protected int totalInnerPadding()
    • isMouseOver

      public boolean isMouseOver(double p_376364_, double p_377350_)
      指定者:
      isMouseOver 在接口中 GuiEventListener
      覆盖:
      isMouseOver 在类中 AbstractWidget
    • scrollBarX

      protected int scrollBarX()
      覆盖:
      scrollBarX 在类中 AbstractScrollArea
    • contentHeight

      protected int contentHeight()
      指定者:
      contentHeight 在类中 AbstractScrollArea
    • renderBackground

      protected void renderBackground(GuiGraphics p_378043_)
    • renderBorder

      protected void renderBorder(GuiGraphics p_376239_, int p_378450_, int p_375463_, int p_377865_, int p_375612_)
    • withinContentAreaTopBottom

      protected boolean withinContentAreaTopBottom(int p_376309_, int p_378518_)
    • getInnerHeight

      protected abstract int getInnerHeight()
    • renderContents

      protected abstract void renderContents(GuiGraphics p_375874_, int p_377970_, int p_376165_, float p_376358_)
    • getInnerLeft

      protected int getInnerLeft()
    • getInnerTop

      protected int getInnerTop()
    • playDownSound

      public void playDownSound(SoundManager p_378011_)
      覆盖:
      playDownSound 在类中 AbstractWidget