Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to create standard ui for the mod's machines. StandardWindow is a WindowGroup that has three windows with names "main", "inventory" and "header". They represent custom window contents, player's inventory and window's header respectively

Hierarchy

Index

Constructors

Properties

closeOnBackPressed: boolean
class: Class<StandardWindow>

Methods

  • clone(): any
  • close(): void
  • equals(param0: any): boolean
  • finalize(): void
  • frame(time: number): void
  • getClass(): Class<any>
  • getWindowNames(): Collection<string>
  • hashCode(): number
  • invalidateAllContent(): void
  • invalidateDrawing(onCurrentThread: boolean): void
  • Forces ui drawables of the window to refresh

    Parameters

    • onCurrentThread: boolean

      if true, the drawables will be refreshed immediately, otherwise refresh event will be posted. Default value if false. Ensure you are in the UI thread if you pass true as the parameter

    Returns void

  • invalidateElements(onCurrentThread: boolean): void
  • Forces ui elements of the window to refresh

    Parameters

    • onCurrentThread: boolean

      if true, the elements will be refreshed immediately, otherwise refresh event will be posted. Default value if false. Ensure you are in the UI thread if you pass true as the parameter

    Returns void

  • isDynamic(): boolean
  • isInventoryNeeded(): boolean
  • isOpened(): boolean
  • moveOnTop(name: string): void
  • notify(): void
  • notifyAll(): void
  • onBackPressed(): boolean
  • open(): void
  • refreshAll(): void
  • refreshWindow(name: string): void
  • removeWindow(name: string): void
  • setBlockingBackground(bb: boolean): void
  • setCloseOnBackPressed(val: boolean): void
  • setDebugEnabled(debug: boolean): void
  • toString(): string
  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void

Generated using TypeDoc