Options
All
  • Public
  • Public/Protected
  • All
Menu

Class representing window's location. All coordinates are defined in units (given screen's width is 1000 units)

Hierarchy

Index

Constructors

Properties

forceScrollX: boolean
forceScrollY: boolean
height: number

Window height

scale: number

Window scale

scrollX: number

Horizontal window scroll

scrollY: number

Vertical window scroll

width: number

Window width

x: number

Window horizontal position

y: number

Window vertical position

zIndex: number

Window position on layers

PADDING_BOTTOM: number

Constant used to represent bottom padding

PADDING_LEFT: number

Constant used to represent left padding

PADDING_RIGHT: number

Constant used to represent right padding

PADDING_TOP: number

Constant used to represent top padding

class: Class<WindowLocation>

Methods

  • clone(): any
  • equals(param0: any): boolean
  • finalize(): void
  • getClass(): Class<any>
  • getDrawingScale(): number
  • getLayoutParams(a1: number, a2: number, a3: number): LayoutParams
  • getRect(): Rect
  • getScale(): number
  • getWindowHeight(): number
  • getWindowWidth(): 1000
  • globalToWindow(val: number): number
  • hashCode(): number
  • notify(): void
  • notifyAll(): void
  • removeScroll(): void
  • set(x: number, y: number, width: number, height: number): void
  • set(location: UIWindowLocation): void
  • setPadding(padding: 0 | 2 | 1 | 3, value: number): void
  • setPadding(top: number, bottom: number, left: number, right: number): void
  • setScroll(x: number, y: number): void
  • Sets scrollable window size. Should be greater then window width/height for the changes to take effect

    Parameters

    • x: number

      scrollable window size along the X axis

    • y: number

      scrollable window size along the Y axis

    Returns void

  • setSize(x: number, y: number): void
  • setZ(z: number): void
  • Sets window's Z index. Z index determines how the window will be displayed when several windows are open

    Parameters

    • z: number

      window Z index

    Returns void

  • setupAndShowPopupWindow(win: PopupWindow): void
  • showPopupWindow(win: PopupWindow): void
  • toString(): string
  • updatePopupWindow(win: PopupWindow): void
  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • windowToGlobal(val: number): number

Generated using TypeDoc