Package org.loboevolution.html.renderer
Class RBlockScroll
java.lang.Object
org.loboevolution.html.renderer.RBlockScroll
RBlockScroll class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected JScrollBar
getHScrollBar.protected JScrollBar
getVScrollBar.protected int
getVUnitIncrement.protected void
invalidateLayoutLocal.void
paintSroll.protected void
resetScrollBars
(RenderState renderState) resetScrollBars.boolean
scrollBy
(int orientation, double offset) scrollBy.protected void
updateWidgetBounds
(int guiX, int guiY) updateWidgetBounds.
-
Constructor Details
-
RBlockScroll
Constructor for RBlockScroll.
- Parameters:
rBlock
- aRBlock
object.
-
-
Method Details
-
paintSroll
paintSroll.
- Parameters:
g
- aGraphics
object.
-
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.
-