net.minecraft.client.gui.components

public abstract class AbstractScrollArea

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

gho
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 Identifier
c
SCROLLER_SPRITE
field_45906
SCROLLER_TEXTURE
private static final Identifier
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(gxs arg0, double arg1, double arg2)
mouseDragged(MouseButtonEvent arg0, double arg1, double arg2)
method_25403(class_11909 arg0, double arg1, double arg2)
mouseDragged(Click arg0, double arg1, double arg2)
public void
a(gxs arg0)
onRelease(MouseButtonEvent arg0)
method_25357(class_11909 arg0)
onRelease(Click arg0)
public double
h()
scrollAmount()
method_44387()
getScrollY()
public void
a(double arg0)
setScrollAmount(double arg0)
method_44382(double arg0)
setScrollY(double scrollY)
public boolean
c(gxs arg0)
updateScrolling(MouseButtonEvent arg0)
method_65505(class_11909 arg0)
checkScrollbarDragged(Click click)
protected boolean
a(double arg0, double arg1)
isOverScrollbar(double arg0, double arg1)
method_74038(double arg0, double arg1)
isInScrollbar(double mouseX, double mouseY)
public void
i()
refreshScrollAmount()
method_65506()
refreshScroll()
public int
j()
maxScrollAmount()
method_44390()
getMaxScrollY()
protected boolean
k()
scrollbarVisible()
method_44392()
overflows()
protected int
l()
scrollerHeight()
method_44394()
getScrollbarThumbHeight()
protected int
m()
scrollBarX()
method_65507()
getScrollbarX()
protected int
n()
scrollBarY()
method_65508()
getScrollbarThumbY()
protected void
a(ghi arg0, int arg1, int arg2)
renderScrollbar(GuiGraphics arg0, int arg1, int arg2)
method_44396(class_332 arg0, int arg1, int arg2)
drawScrollbar(DrawContext context, int mouseX, int mouseY)
protected abstract int
o()
contentHeight()
method_44395()
getContentsHeightWithPadding()
protected abstract double
p()
scrollRate()
method_44393()
getDeltaYPerScroll()