Class in reactor_windows.js
Window_NameInput
29 public functions in 7 groups · show internal (_) functions
Familiar territory. Window_NameInput keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.
Quick Reference
Setup & Creation 1
| initialize() | Sets up a new instance. |
Getting Information 4
| maxCols() | The maximum cols. |
| maxItems() | The maximum items. |
| itemWidth() | Item width. |
| itemRect() | Item rect. |
Checks (True / False) 4
| isPageChange() | Whether it is page change. |
| isOk() | Whether it is ok. |
| isCursorMovable() | Whether it is cursor movable. |
| isCancelEnabled() | Whether it is cancel enabled. |
Actions 1
| setEditWindow() | Sets the edit window. |
Events, Commands & Input 8
| processCursorMove() | Handles the cursor move. |
| processHandling() | Handles the handling. |
| processCancel() | Handles the cancel. |
| processJump() | Handles the jump. |
| processBack() | Handles the back. |
| processOk() | Handles the ok. |
| onNameAdd() | Called when name add happens. |
| onNameOk() | Called when name ok happens. |
Updating & Drawing 2
| drawItem() | Draws the item. |
| updateCursor() | Updates the cursor each frame. |
Other 9
| table() | Table. |
| groupSpacing() | Group spacing. |
| character() | Character. |
| cursorDown() | Cursor down. |
| cursorUp() | Cursor up. |
| cursorRight() | Cursor right. |
| cursorLeft() | Cursor left. |
| cursorPagedown() | Cursor pagedown. |
| cursorPageup() | Cursor pageup. |
Setup & Creation
initialize
method sourceWindow_NameInput.prototype.initialize(rect)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
Getting Information
maxCols
method sourceWindow_NameInput.prototype.maxCols()
The maximum cols. (Same as the RPG Maker MZ method of this name.)
maxItems
method sourceWindow_NameInput.prototype.maxItems()
The maximum items. (Same as the RPG Maker MZ method of this name.)
itemWidth
method sourceWindow_NameInput.prototype.itemWidth()
Item width. (Same as the RPG Maker MZ method of this name.)
itemRect
method sourceWindow_NameInput.prototype.itemRect(index)
Item rect. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isPageChange
method sourceWindow_NameInput.prototype.isPageChange()
Whether it is page change. (Same as the RPG Maker MZ method of this name.)
isOk
method sourceWindow_NameInput.prototype.isOk()
Whether it is ok. (Same as the RPG Maker MZ method of this name.)
isCursorMovable
method sourceWindow_NameInput.prototype.isCursorMovable()
Whether it is cursor movable. (Same as the RPG Maker MZ method of this name.)
isCancelEnabled
method sourceWindow_NameInput.prototype.isCancelEnabled()
Whether it is cancel enabled. (Same as the RPG Maker MZ method of this name.)
Actions
setEditWindow
method sourceWindow_NameInput.prototype.setEditWindow(editWindow)
Sets the edit window. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
processCursorMove
method sourceWindow_NameInput.prototype.processCursorMove()
Handles the cursor move. (Same as the RPG Maker MZ method of this name.)
processHandling
method sourceWindow_NameInput.prototype.processHandling()
Handles the handling. (Same as the RPG Maker MZ method of this name.)
processCancel
method sourceWindow_NameInput.prototype.processCancel()
Handles the cancel. (Same as the RPG Maker MZ method of this name.)
processJump
method sourceWindow_NameInput.prototype.processJump()
Handles the jump. (Same as the RPG Maker MZ method of this name.)
processBack
method sourceWindow_NameInput.prototype.processBack()
Handles the back. (Same as the RPG Maker MZ method of this name.)
processOk
method sourceWindow_NameInput.prototype.processOk()
Handles the ok. (Same as the RPG Maker MZ method of this name.)
onNameAdd
method sourceWindow_NameInput.prototype.onNameAdd()
Called when name add happens. (Same as the RPG Maker MZ method of this name.)
onNameOk
method sourceWindow_NameInput.prototype.onNameOk()
Called when name ok happens. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
drawItem
method sourceWindow_NameInput.prototype.drawItem(index)
Draws the item. (Same as the RPG Maker MZ method of this name.)
updateCursor
method sourceWindow_NameInput.prototype.updateCursor()
Updates the cursor each frame. (Same as the RPG Maker MZ method of this name.)
Other
table
method sourceWindow_NameInput.prototype.table()
Table. (Same as the RPG Maker MZ method of this name.)
groupSpacing
method sourceWindow_NameInput.prototype.groupSpacing()
Group spacing. (Same as the RPG Maker MZ method of this name.)
character
method sourceWindow_NameInput.prototype.character()
Character. (Same as the RPG Maker MZ method of this name.)
cursorDown
method sourceWindow_NameInput.prototype.cursorDown(wrap)
Cursor down. (Same as the RPG Maker MZ method of this name.)
cursorUp
method sourceWindow_NameInput.prototype.cursorUp(wrap)
Cursor up. (Same as the RPG Maker MZ method of this name.)
cursorRight
method sourceWindow_NameInput.prototype.cursorRight(wrap)
Cursor right. (Same as the RPG Maker MZ method of this name.)
cursorLeft
method sourceWindow_NameInput.prototype.cursorLeft(wrap)
Cursor left. (Same as the RPG Maker MZ method of this name.)
cursorPagedown
method sourceWindow_NameInput.prototype.cursorPagedown()
Cursor pagedown. (Same as the RPG Maker MZ method of this name.)
cursorPageup
method sourceWindow_NameInput.prototype.cursorPageup()
Cursor pageup. (Same as the RPG Maker MZ method of this name.)