Options
All
  • Public
  • Public/Protected
  • All
Menu

This is the base Java abstract class, which are all InnerCore element types inherited from. In Java, to create custom element types, you can inherit your element class from this one as well. Whereas in JavaScript, you should use "custom" element type in description object, where you can specify custom behavior for different events. For more information about custom element types in JavaScript, see UI.UICustomElement

Hierarchy

Index

Constructors

Properties

description: object
descriptionWatcher: ScriptableWatcher
elementName: string
elementRect: Rect
isDirty: boolean
isTouched: boolean
window: UIWindow
x: number
y: number
z: number

Methods

  • clone(): any
  • debug(canvas: Canvas, scale: number): void
  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

  • finalize(): void
  • getClass(): Class<any>
  • hashCode(): number
  • invalidate(): void
  • isReleased(): boolean
  • notify(): void
  • notifyAll(): void
  • onBindingUpdated<T>(str: string, obj: T): void
  • onDraw(canvas: Canvas, scale: number): void
  • onRelease(): void
  • onReset(): void
  • onSetup<T>(descr?: T): void
  • setBinding<T>(bindingName: string, value: T): void
  • Passes any value to the element

    Type Parameters

    • T = any

    Parameters

    • bindingName: string

      binding name, you can access the value from the element by this name

    • value: T

      value to be passed to the element

    Returns void

  • setPosition(x: number, y: number): void
  • Sets element's position in the window's unit coordinates

    Parameters

    • x: number

      x position

    • y: number

      y position

    Returns void

  • setSize(width: number, height: number): void
  • Sets element's size in the window's unit coordinates

    Parameters

    • width: number

      element's width

    • height: number

      element's height

    Returns void

  • toString(): string
  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

  • Parameters

    • param0: number

    Returns void

  • Parameters

    • param0: number
    • param1: number

    Returns void

Generated using TypeDoc