Package noppes.npcs.api.gui
Interface IScroll
-
- All Superinterfaces:
ICustomGuiComponent
public interface IScroll extends ICustomGuiComponent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDefaultSelection()intgetHeight()java.lang.String[]getList()intgetWidth()booleanisMultiSelect()IScrollsetDefaultSelection(int defaultSelection)IScrollsetList(java.lang.String[] textList)IScrollsetMultiSelect(boolean selectMultiple)IScrollsetSize(int width, int height)-
Methods inherited from interface noppes.npcs.api.gui.ICustomGuiComponent
fromNBT, getAlpha, getColor, getHoverText, getID, getPosX, getPosY, getRotation, hasHoverText, setAlpha, setColor, setHoverText, setHoverText, setID, setPos, setRotation, toNBT
-
-
-
-
Method Detail
-
getWidth
int getWidth()
-
getHeight
int getHeight()
-
setSize
IScroll setSize(int width, int height)
-
getList
java.lang.String[] getList()
-
setList
IScroll setList(java.lang.String[] textList)
-
getDefaultSelection
int getDefaultSelection()
-
setDefaultSelection
IScroll setDefaultSelection(int defaultSelection)
-
isMultiSelect
boolean isMultiSelect()
-
setMultiSelect
IScroll setMultiSelect(boolean selectMultiple)
-
-