Package tripleplay.ui
Class Scroller.TouchBars
java.lang.Object
tripleplay.ui.Scroller.Bars
tripleplay.ui.Scroller.TouchBars
- All Implemented Interfaces:
AutoCloseable
,react.Closeable
- Enclosing class:
Scroller
Plain rectangle scroll bars that overlay the content area, consume no additional screen
space, and fade out after inactivity. Ideal for drag scrolling on a mobile device.
-
Nested Class Summary
Nested classes/interfaces inherited from interface react.Closeable
react.Closeable.Set, react.Closeable.Util
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class tripleplay.ui.Scroller.Bars
close, size, updateView
-
Constructor Details
-
TouchBars
-
-
Method Details
-
update
public void update(float delta) Description copied from class:Scroller.Bars
Updates the scroll bars' time based animation, if any, after the given time delta.- Overrides:
update
in classScroller.Bars
-
updatePosition
public void updatePosition()Description copied from class:Scroller.Bars
Updates the scroll bars' positions. Not necessary for immediate layer bars.- Overrides:
updatePosition
in classScroller.Bars
-
layer
Description copied from class:Scroller.Bars
Gets the layer to display the scroll bars. It gets added to the same parent as the content's.- Specified by:
layer
in classScroller.Bars
-