Link Search Menu Expand Document

Window_Selectable.d overview


Table of contents


utils

Window_Selectable (class)

Window_Selectable

The window class with cursor movement functions.

Signature

export declare class Window_Selectable {
  constructor(rect: Rectangle)
}

index (method)

Signature

index(): number

cursorFixed (method)

Signature

cursorFixed(): boolean

setCursorFixed (method)

Signature

setCursorFixed(cursorFixed: boolean): void

cursorAll (method)

Signature

cursorAll(): boolean

setCursorAll (method)

Signature

setCursorAll(cursorAll: boolean): void

maxCols (method)

Signature

maxCols(): number

maxItems (method)

Signature

maxItems(): number

colSpacing (method)

Signature

colSpacing(): number

rowSpacing (method)

Signature

rowSpacing(): number

itemWidth (method)

Signature

itemWidth(): number

itemHeight (method)

Signature

itemHeight(): number

contentsHeight (method)

Signature

contentsHeight(): number

maxRows (method)

Signature

maxRows(): number

overallHeight (method)

Signature

overallHeight(): number

activate (method)

Signature

activate(): void

deactivate (method)

Signature

deactivate(): void

select (method)

Signature

select(index: number): void

forceSelect (method)

Signature

forceSelect(index: number): void

smoothSelect (method)

Signature

smoothSelect(index: number): void

deselect (method)

Signature

deselect(): void

reselect (method)

Signature

reselect(): void

row (method)

Signature

row(): number

topRow (method)

Signature

topRow(): number

maxTopRow (method)

Signature

maxTopRow(): number

setTopRow (method)

Signature

setTopRow(row: number): void

maxPageRows (method)

Signature

maxPageRows(): number

maxPageItems (method)

Signature

maxPageItems(): number

maxVisibleItems (method)

Signature

maxVisibleItems(): number

isHorizontal (method)

Signature

isHorizontal(): boolean

topIndex (method)

Signature

topIndex(): number

itemRect (method)

Signature

itemRect(index: number): Rectangle

itemRectWithPadding (method)

Signature

itemRectWithPadding(index: number): Rectangle

itemLineRect (method)

Signature

itemLineRect(index: number): Rectangle

setHelpWindow (method)

Signature

setHelpWindow(helpWindow: Window_Help): void

showHelpWindow (method)

Signature

showHelpWindow(): void

hideHelpWindow (method)

Signature

hideHelpWindow(): void

setHandler (method)

Signature

setHandler(symbol: string, method: () => void): void

isHandled (method)

Signature

isHandled(symbol: string): boolean

callHandler (method)

Signature

callHandler(symbol: string): void

isOpenAndActive (method)

Signature

isOpenAndActive(): boolean

isCursorMovable (method)

Signature

isCursorMovable(): boolean

cursorDown (method)

Signature

cursorDown(wrap: boolean): void

cursorUp (method)

Signature

cursorUp(wrap: boolean): void

cursorRight (method)

Signature

cursorRight(wrap: boolean): void

cursorLeft (method)

Signature

cursorLeft(wrap: boolean): void

cursorPagedown (method)

Signature

cursorPagedown(): void

cursorPageup (method)

Signature

cursorPageup(): void

isScrollEnabled (method)

Signature

isScrollEnabled(): boolean

update (method)

Signature

update(): void

processCursorMove (method)

Signature

processCursorMove(): void

processHandling (method)

Signature

processHandling(): void

processTouch (method)

Signature

processTouch(): void

isHoverEnabled (method)

Signature

isHoverEnabled(): boolean

onTouchSelect (method)

Signature

onTouchSelect(trigger: boolean): void

onTouchOk (method)

Signature

onTouchOk(): void

onTouchCancel (method)

Signature

onTouchCancel(): void

hitIndex (method)

Signature

hitIndex(): number

hitTest (method)

Signature

hitTest(x: number, y: number): number

isTouchOkEnabled (method)

Signature

isTouchOkEnabled(): boolean

isOkEnabled (method)

Signature

isOkEnabled(): boolean

isCancelEnabled (method)

Signature

isCancelEnabled(): boolean

isOkTriggered (method)

Signature

isOkTriggered(): boolean

isCancelTriggered (method)

Signature

isCancelTriggered(): boolean

processOk (method)

Signature

processOk(): void

callOkHandler (method)

Signature

callOkHandler(): void

processCancel (method)

Signature

processCancel(): void

callCancelHandler (method)

Signature

callCancelHandler(): void

processPageup (method)

Signature

processPageup(): void

processPagedown (method)

Signature

processPagedown(): void

updateInputData (method)

Signature

updateInputData(): void

ensureCursorVisible (method)

Signature

ensureCursorVisible(smooth: boolean): void

callUpdateHelp (method)

Signature

callUpdateHelp(): void

updateHelp (method)

Signature

updateHelp(): void

setHelpWindowItem (method)

Signature

setHelpWindowItem(item: DataItemBase | null): void

isCurrentItemEnabled (method)

Signature

isCurrentItemEnabled(): boolean

drawAllItems (method)

Signature

drawAllItems(): void

drawItem (method)

Signature

drawItem(..._args: unknown[]): void

clearItem (method)

Signature

clearItem(index: number): void

drawItemBackground (method)

Signature

drawItemBackground(index: number): void

drawBackgroundRect (method)

Signature

drawBackgroundRect(rect: Rectangle): void

redrawItem (method)

Signature

redrawItem(index: number): void

redrawCurrentItem (method)

Signature

redrawCurrentItem(): void

refresh (method)

Signature

refresh(): void

paint (method)

Signature

paint(): void

refreshCursor (method)

Signature

refreshCursor(): void

refreshCursorForAll (method)

Signature

refreshCursorForAll(): void

_index (property)

Signature

_index: number

_cursorFixed (property)

Signature

_cursorFixed: boolean

_cursorAll (property)

Signature

_cursorAll: boolean

_helpWindow (property)

Signature

_helpWindow: Window_Help | null

_handlers (property)

Signature

_handlers: Record<string, () => void>

_doubleTouch (property)

Signature

_doubleTouch: boolean

_canRepeat (property)

Signature

_canRepeat: boolean