Public Member Functions |
| PagePanel () |
| Constructor.
|
int | AddPage () |
| Adds an end page.
|
int | AddPage (Panel panel) |
| Adds an end page.
|
int | InsertPage (int index, Panel panel) |
| Inserts a panel at the position of the specified page number.
|
void | InsertPage (int index) |
| Inserts a page at the position of the specified page number.
|
bool | RemovePage (Panel panel) |
| Deletes the specified page.
|
void | RemovePageAt (int index) |
| Deletes the page of the specified page number.
|
Panel | GetPage (int index) |
| Obtains the panel of a specified page.
|
void | ScrollTo (int index, bool withAnimation) |
| Scrolls to the specified page position.
|
Protected Member Functions |
override void | DisposeSelf () |
| Frees used resources.
|
override void | OnUpdate (float elapsedTime) |
| Update processing.
|
internal override void | OnTouchEvent (TouchEventCollection touchEvents) |
| Touch event handler.
|
internal override void | OnResetState () |
| Status reset handler.
|
internal override void | OnPreviewKeyEvent (KeyEvent keyEvent) |
| Advance key event handler.
|
Properties |
int | PageCount [get] |
| Obtains the number of pages.
|
int | CurrentPageIndex [get, set] |
| Obtains and sets the current page number.
|
override float | Width [get, set] |
| Obtains and sets the width.
|
override float | Height [get, set] |
| Obtains and sets the height.
|
override bool | Focusable [get, set] |
| Obtains and sets whether to set the focus.
|
A container widget that scrolls by page.
Made up of multiple panels.