Class in reactor_windows.js

Window_NameInput

29 functions in 7 groups · hide internal

Windows draw every menu, list and status panel.

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 source
Window_NameInput.prototype.initialize(rect)

Sets up a new instance. (Same as the RPG Maker MZ method of this name.)

Getting Information

maxCols

method source
Window_NameInput.prototype.maxCols()

The maximum cols. (Same as the RPG Maker MZ method of this name.)

maxItems

method source
Window_NameInput.prototype.maxItems()

The maximum items. (Same as the RPG Maker MZ method of this name.)

itemWidth

method source
Window_NameInput.prototype.itemWidth()

Item width. (Same as the RPG Maker MZ method of this name.)

itemRect

method source
Window_NameInput.prototype.itemRect(index)

Item rect. (Same as the RPG Maker MZ method of this name.)

Checks (True / False)

isPageChange

method source
Window_NameInput.prototype.isPageChange()

Whether it is page change. (Same as the RPG Maker MZ method of this name.)

isOk

method source
Window_NameInput.prototype.isOk()

Whether it is ok. (Same as the RPG Maker MZ method of this name.)

isCursorMovable

method source
Window_NameInput.prototype.isCursorMovable()

Whether it is cursor movable. (Same as the RPG Maker MZ method of this name.)

isCancelEnabled

method source
Window_NameInput.prototype.isCancelEnabled()

Whether it is cancel enabled. (Same as the RPG Maker MZ method of this name.)

Actions

setEditWindow

method source
Window_NameInput.prototype.setEditWindow(editWindow)

Sets the edit window. (Same as the RPG Maker MZ method of this name.)

Events, Commands & Input

processCursorMove

method source
Window_NameInput.prototype.processCursorMove()

Handles the cursor move. (Same as the RPG Maker MZ method of this name.)

processHandling

method source
Window_NameInput.prototype.processHandling()

Handles the handling. (Same as the RPG Maker MZ method of this name.)

processCancel

method source
Window_NameInput.prototype.processCancel()

Handles the cancel. (Same as the RPG Maker MZ method of this name.)

processJump

method source
Window_NameInput.prototype.processJump()

Handles the jump. (Same as the RPG Maker MZ method of this name.)

processBack

method source
Window_NameInput.prototype.processBack()

Handles the back. (Same as the RPG Maker MZ method of this name.)

processOk

method source
Window_NameInput.prototype.processOk()

Handles the ok. (Same as the RPG Maker MZ method of this name.)

onNameAdd

method source
Window_NameInput.prototype.onNameAdd()

Called when name add happens. (Same as the RPG Maker MZ method of this name.)

onNameOk

method source
Window_NameInput.prototype.onNameOk()

Called when name ok happens. (Same as the RPG Maker MZ method of this name.)

Updating & Drawing

drawItem

method source
Window_NameInput.prototype.drawItem(index)

Draws the item. (Same as the RPG Maker MZ method of this name.)

updateCursor

method source
Window_NameInput.prototype.updateCursor()

Updates the cursor each frame. (Same as the RPG Maker MZ method of this name.)

Other

table

method source
Window_NameInput.prototype.table()

Table. (Same as the RPG Maker MZ method of this name.)

groupSpacing

method source
Window_NameInput.prototype.groupSpacing()

Group spacing. (Same as the RPG Maker MZ method of this name.)

character

method source
Window_NameInput.prototype.character()

Character. (Same as the RPG Maker MZ method of this name.)

cursorDown

method source
Window_NameInput.prototype.cursorDown(wrap)

Cursor down. (Same as the RPG Maker MZ method of this name.)

cursorUp

method source
Window_NameInput.prototype.cursorUp(wrap)

Cursor up. (Same as the RPG Maker MZ method of this name.)

cursorRight

method source
Window_NameInput.prototype.cursorRight(wrap)

Cursor right. (Same as the RPG Maker MZ method of this name.)

cursorLeft

method source
Window_NameInput.prototype.cursorLeft(wrap)

Cursor left. (Same as the RPG Maker MZ method of this name.)

cursorPagedown

method source
Window_NameInput.prototype.cursorPagedown()

Cursor pagedown. (Same as the RPG Maker MZ method of this name.)

cursorPageup

method source
Window_NameInput.prototype.cursorPageup()

Cursor pageup. (Same as the RPG Maker MZ method of this name.)