Interface GUIScrollable
-
- All Known Subinterfaces:
GUIScrollable2
- All Known Implementing Classes:
GUICharacter,GUICharacterList,GUIFloorList,GUIInventoryList,GUIItem,GUIItemFloor,GUIItemInventory,GUIItemItem,GUIItemKnowledge,GUIItemKnowledgeType,GUIItemList,GUIItemQuest,GUIItemShortcut,GUIItemSpell,GUIItemSpellSkill,GUIKnowledgeList,GUIKnowledgeTypeList,GUILabelLog,GUIList,GUILog,GUIMessageLog,GUIMetaElement,GUIMetaElementList,GUIQuestList,GUISpellList,GUISpellSkillList
public interface GUIScrollableInterface forGUIElementsthat support scrolling.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanScroll(int distance)Returns whether scrolling is possible.voidresetScroll()Resets the scroll index to the default value.voidscroll(int distance)Scrolls the element.
-
-
-
Method Detail
-
canScroll
boolean canScroll(int distance)
Returns whether scrolling is possible.- Parameters:
distance- the distance to scroll- Returns:
- whether scrolling is possible
-
scroll
void scroll(int distance)
Scrolls the element.- Parameters:
distance- the distance to scroll
-
resetScroll
void resetScroll()
Resets the scroll index to the default value.
-
-