net.minecraft.client.gui.components

public abstract class AbstractScrollArea

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fom
net.minecraft.client.gui.components.AbstractScrollArea
net.minecraft.class_7528
net.minecraft.client.gui.widget.ScrollableWidget

Field summary

Modifier and TypeField
public static final int
b
SCROLLBAR_WIDTH
field_55258
SCROLLBAR_WIDTH
private double
a
scrollAmount
field_39497
scrollY
private static final ResourceLocation
c
SCROLLER_SPRITE
field_45906
SCROLLER_TEXTURE
private static final ResourceLocation
d
SCROLLER_BACKGROUND_SPRITE
field_55259
SCROLLER_BACKGROUND_TEXTURE
private boolean
e
scrolling
field_39498
scrollbarDragged

Constructor summary

ModifierConstructor
public (int arg0, int arg1, int arg2, int arg3, Component arg4)

Method summary

Modifier and TypeMethod
public boolean
a(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
method_25401(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
public boolean
a(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
method_25403(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
public void
b(double arg0, double arg1)
onRelease(double arg0, double arg1)
method_25357(double arg0, double arg1)
onRelease(double arg0, double arg1)
public double
g()
scrollAmount()
method_44387()
getScrollY()
public void
a(double arg0)
setScrollAmount(double arg0)
method_44382(double arg0)
setScrollY(double scrollY)
public boolean
c(double arg0, double arg1, int arg2)
updateScrolling(double arg0, double arg1, int arg2)
method_65505(double arg0, double arg1, int arg2)
checkScrollbarDragged(double mouseX, double mouseY, int button)
public void
h()
refreshScrollAmount()
method_65506()
refreshScroll()
public int
i()
maxScrollAmount()
method_44390()
getMaxScrollY()
protected boolean
j()
scrollbarVisible()
method_44392()
overflows()
protected int
k()
scrollerHeight()
method_44394()
getScrollbarThumbHeight()
protected int
l()
scrollBarX()
method_65507()
getScrollbarX()
protected int
m()
scrollBarY()
method_65508()
getScrollbarThumbY()
protected void
a(fof arg0)
renderScrollbar(GuiGraphics arg0)
method_44396(class_332 arg0)
drawScrollbar(DrawContext context)
protected abstract int
n()
contentHeight()
method_44395()
getContentsHeightWithPadding()
protected abstract double
o()
scrollRate()
method_44393()
getDeltaYPerScroll()