Options
All
  • Public
  • Public/Protected
  • All
Menu

Object representing window style. Window styles allows to customize the way your windows look like

Hierarchy

  • Object
    • UIStyle

Index

Constructors

Properties

CLASSIC: UIStyle

Classic (0.16.*-like) windows style

DEFAULT: UIStyle

Default windows style

LEGACY: UIStyle
class: Class<UIStyle>

Methods

  • addBinding(key: string, name: string): void
  • Adds gui texture name to use for the specified window part

    Parameters

    • key: string

      binding name

    • name: string

      gui texture name

    Returns void

  • Adds an additional style object to the current style

    Parameters

    • style: UIStyle

      additional style object to be added

    Returns void

  • clone(): any
  • Returns UIStyle

    a copy of the current style. Only style bindings of the current style are copied, no parent/additional styles are copied

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

  • finalize(): void
  • getAllBindingNames(): Collection<string>
  • Returns Collection<string>

    [[java.util.Collection]] containing all binding names from the current style object

  • getBinding(key: string, fallback: string): string
  • Gets texture binding bt its name. Searches first in the additional styles, then in the current style, then in all its parents

    Parameters

    • key: string

      binding name

    • fallback: string

      value to return on binding failure

    Returns string

    gui texture name if current object, additional styles or one of the parents contains such a binding name, fallback otherwise.

  • getBitmapName(name: string): string
  • If name is a style value (starts with "style:"), returns corresponding gui texture name, else returns input string

    Parameters

    • name: string

      style value or bitmap name

    Returns string

  • getBooleanProperty(name: string, fallback: boolean): boolean
  • getClass(): Class<any>
  • getDoubleProperty(name: string, fallback: number): number
  • getFloatProperty(name: string, fallback: number): number
  • getIntProperty(name: string, fallback: number): number
  • getStringProperty(name: string, fallback: string): string
  • hashCode(): number
  • Specifies parent style object for the current style

    Parameters

    • style: UIStyle

      style to be set as parent

    Returns void

  • notify(): void
  • notifyAll(): void
  • setProperty(name: string, value: any): 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