Package org.loboevolution.html.renderer
Class RBlockScroll
java.lang.Object
org.loboevolution.html.renderer.RBlockScroll
RBlockScroll class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JScrollBargetHScrollBar.protected JScrollBargetVScrollBar.protected intgetVUnitIncrement.protected voidinvalidateLayoutLocal.voidpaintSroll.protected voidresetScrollBars(RenderState renderState) resetScrollBars.booleanscrollBy(int orientation, double offset) scrollBy.protected voidupdateWidgetBounds(int guiX, int guiY) updateWidgetBounds.
-
Constructor Details
-
RBlockScroll
Constructor for RBlockScroll.
- Parameters:
rBlock- aRBlockobject.
-
-
Method Details
-
paintSroll
paintSroll.
- Parameters:
g- aGraphicsobject.
-
getVScrollBar
getVScrollBar.
-
getHScrollBar
getHScrollBar.
-
invalidateLayoutLocal
protected void invalidateLayoutLocal()invalidateLayoutLocal.
-
resetScrollBars
resetScrollBars.
Changes scroll bar state to match viewport origin. -
updateWidgetBounds
protected void updateWidgetBounds(int guiX, int guiY) updateWidgetBounds.
-
getVUnitIncrement
protected int getVUnitIncrement()getVUnitIncrement.
-
scrollBy
public boolean scrollBy(int orientation, double offset) scrollBy.
-