Arma Reforger Script API
|
Public Member Functions | |
void | SetPageIndex (int index) |
void | SetEntryCount (int count) |
ScriptInvoker | GetOnShowEntries () |
override void | HandlerAttached (Widget w) |
Public Member Functions inherited from SCR_BasePaginationUIComponent | |
int | GetEntryCount () |
Return total number of entries. | |
int | GetRows () |
int | GetColumns () |
int | GetCurrentPage () |
int | GetEntryIndex (Widget w) |
ScriptInvoker | GetOnPageChanged () |
sealed bool | SetPage (int page, bool isRefresh=false) |
Set current page. | |
sealed bool | RefreshPage () |
Refresh the current page. | |
override bool | OnFocus (Widget w, int x, int y) |
override bool | OnMouseEnter (Widget w, int x, int y) |
override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
override void | HandlerAttached (Widget w) |
override void | HandlerDeattached (Widget w) |
Public Member Functions inherited from MenuRootSubComponent | |
Widget | GetWidget () |
Get widget to which the component belongs to. | |
MenuRootBase | GetMenu () |
Get menu of which the widget is part of. | |
MenuRootComponent | GetRootComponent () |
Get root component of this subcomponent,. | |
void | HandlerAttachedScripted (Widget w) |
Event called when subcomponent is initialized. | |
override void | HandlerAttached (Widget w) |
override void | HandlerDeattached (Widget w) |
Protected Member Functions | |
override void | ShowEntries (Widget contentWidget, int indexStart, int indexEnd) |
Function called when the page is refreshed. | |
override int | GetEntryCount () |
Return total number of entries. | |
Protected Member Functions inherited from SCR_BasePaginationUIComponent | |
void | DisableArrowsSinglePage () |
Disable page change button if flag is true and number of pages is 1. | |
void | ShowEntries (Widget contentWidget, int indexStart, int indexEnd) |
Function called when the page is refreshed. | |
void | IterateIndex (out int row, out int column) |
void | EnablePageButton (Widget w, bool enable) |
void | OnButtonPrev () |
void | OnButtonNext () |
void | SetUnderCursor (bool newUnderCursor) |
void | OnInputDeviceIsGamepad (bool isGamepad) |
override bool | IsUnique () |
Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for. | |
bool | IsUnique () |
Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for. | |
|
protected |
Return total number of entries.
To be overridden by inherited classes.
Implements SCR_BasePaginationUIComponent.
ScriptInvoker SCR_ExternalPaginationUIComponent.GetOnShowEntries | ( | ) |
override void SCR_ExternalPaginationUIComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_BasePaginationUIComponent.
void SCR_ExternalPaginationUIComponent.SetEntryCount | ( | int | count | ) |
void SCR_ExternalPaginationUIComponent.SetPageIndex | ( | int | index | ) |
|
protected |
Function called when the page is refreshed.
To be overridden by inherited classes.
contentWidget | Content widget |
indexStart | Index of the first displayed item |
indexEnd | Index of the last displayed item |
Implements SCR_BasePaginationUIComponent.
|
protected |
|
protected |