You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
511 B
35 lines
511 B
package net.tortuga.gui.widgets;
|
|
|
|
|
|
/**
|
|
* Scrollable element
|
|
*
|
|
* @author Ondřej Hruška (MightyPork)
|
|
*/
|
|
public interface IScrollbar {
|
|
|
|
/**
|
|
* Set scrollbar value
|
|
*
|
|
* @param value value 0-1
|
|
*/
|
|
public void setValue(double value);
|
|
|
|
|
|
/**
|
|
* Get scrollbar value
|
|
*
|
|
* @return value 0-1
|
|
*/
|
|
public double getValue();
|
|
|
|
|
|
/**
|
|
* Perform scrolling from wheel on another widget
|
|
*
|
|
* @param scrollscroll wheel steps
|
|
* @return this (widget)
|
|
*/
|
|
public Widget onScrollDelegate(int scroll);
|
|
|
|
}
|
|
|