Options
All
  • Public
  • Public/Protected
  • All
Menu

Class representing DisplayWindow

Hierarchy

  • DisplayWindow

Index

Properties

io: Io
displayContext: DisplayContext
windowName: string
displayName: string
uniformGridCellSize: UniformGridCellSize

Constructors

Methods

  • _postRequest<T>(data: object): Promise<T>
  • id(): string
  • clearGrid(): Promise<object>
  • clearContents(): Promise<object>
  • Creates a simple grid layout in the display window

    example

    A sample options object 'contentGrid': { 'row': 2, 'col': 2, 'padding': 5, 'rowHeight' : [ 0.5, 0.5] // ( float array, height percent for each row - 0.0 to 1.0 ) 'colWidth' : [ 0.4, 0.6] //( float array, width percent for each col - 0.0 to 1.0 ) }, 'gridBackground' : { '1|1' : 'white', '1|2' : 'grey', '2|1' : 'grey', '2|2' : 'white' }

    Parameters

    Returns Promise<object>

  • addToGrid(label: string, bounds: { left: string; top: string; width: string; height: string }, backgroundStyle: string): Promise<object>
  • adds a cell to the grid

    Parameters

    • label: string
    • bounds: { left: string; top: string; width: string; height: string }
      • left: string
      • top: string
      • width: string
      • height: string
    • backgroundStyle: string

    Returns Promise<object>

  • removeFromGrid(label: string): Promise<object>
  • getGrid(): Promise<object>
  • setCellStyle(label: string, style: string, animation?: object): Promise<object>
  • setFontSize(fontSize: string): Promise<object>
  • hide(): Promise<object>
  • show(): Promise<object>
  • close(): Promise<object>
  • openDevTools(): Promise<object>
  • closeDevTools(): Promise<object>
  • capture(): Promise<object>

Generated using TypeDoc