Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LocationListRenderer

Hierarchy

  • ReactRenderer
    • LocationListRenderer

Index

Constructors

constructor

Properties

Protected _doShowTextInput

_doShowTextInput: boolean = false

Protected _drives

_drives: undefined | default[]

Protected directoryCache

directoryCache: ResolvedDirectoryCache

Protected doAttemptAutocomplete

doAttemptAutocomplete: boolean = true

Protected Readonly fileService

fileService: FileService

Protected homeDir

homeDir: string

Readonly host

host: HTMLElement

Protected lastUniqueTextInputLocation

lastUniqueTextInputLocation: undefined | default

Readonly options

Protected previousAutocompleteMatch

previousAutocompleteMatch: string

Protected service

Protected toDisposeOnNewCache

toDisposeOnNewCache: DisposableCollection = ...

Protected Readonly variablesServer

variablesServer: EnvVariablesServer

Accessors

doShowTextInput

  • get doShowTextInput(): boolean
  • set doShowTextInput(doShow: boolean): void

locationList

  • get locationList(): undefined | HTMLSelectElement

locationTextInput

  • get locationTextInput(): undefined | HTMLInputElement

Methods

Protected collectLocations

dispose

  • dispose(): void

Protected doAfterRender

  • doAfterRender(): void

Protected doLoadDrives

  • doLoadDrives(): void

Protected doRender

  • doRender(): ReactElement<any, string | ((props: any) => null | ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)>

Protected handleControlKeys

  • handleControlKeys(e: KeyboardEvent<HTMLInputElement>): void

Protected Readonly handleIconKeyDown

  • handleIconKeyDown(e: KeyboardEvent<HTMLSpanElement>): void

Protected Readonly handleLocationChanged

  • handleLocationChanged(e: ChangeEvent<HTMLSelectElement>): void

Protected Readonly handleTextInputKeyDown

  • handleTextInputKeyDown(e: KeyboardEvent<HTMLInputElement>): void

Protected Readonly handleTextInputMouseDown

  • handleTextInputMouseDown(e: MouseEvent<HTMLSpanElement, MouseEvent>): void

Protected Readonly handleTextInputOnBlur

  • handleTextInputOnBlur(): void

Protected Readonly handleTextInputOnChange

  • handleTextInputOnChange(e: ChangeEvent<HTMLInputElement>): void

init

  • init(): Promise<void>

Protected initResolveDirectoryCache

  • initResolveDirectoryCache(): void

Protected onLocationChanged

  • onLocationChanged(e: ChangeEvent<HTMLSelectElement>): void

render

  • render(): void

Protected renderInputIcon

  • renderInputIcon(): ReactNode

Protected renderLocation

  • renderLocation(location: Location): ReactNode

Protected renderSelectInput

  • renderSelectInput(): ReactNode

Protected renderTextInput

  • renderTextInput(): ReactNode

Protected toggleInputOnKeyDown

  • toggleInputOnKeyDown(e: KeyboardEvent<HTMLSpanElement>): void

Protected toggleToSelectInput

  • toggleToSelectInput(): void

Protected toggleToTextInputOnMouseDown

  • toggleToTextInputOnMouseDown(e: MouseEvent<HTMLSpanElement, MouseEvent>): void

Protected tryRenderFirstMatch

  • tryRenderFirstMatch(inputElement: HTMLInputElement, children: string[]): void

Protected trySetNewLocation

  • trySetNewLocation(newLocation: default): void

Protected trySuggestDirectory

  • trySuggestDirectory(e: ChangeEvent<HTMLInputElement>): void