Home Reference Source Test
import {_UIManager} from 'seed-engine/src/manager/UIManager.js'
private class | source

_UIManager

You can directly use an instance of this class. UIManager

Extends:

Manager → _UIManager

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

defaultStyle: {"buttonTexture": *, "buttonSubImage": *, "buttonHoverSubImage": *, "buttonPressedSubImage": number, "buttonReleasedSubImage": number, "fontTexture": *, "textInputBoxTexture": *}

public

styles: *[]

Method Summary

Public Methods
public

addStyle(jsonStyleObject: JSONObject)

public
public

getStyle(styleName: *): *

public

setCurrentStyle(uiStyleName: *)

Inherited Summary

From class Manager
public

end()

public

pause()

public

start()

public
public

update()

Public Constructors

public constructor() source

Override:

Manager#constructor

Public Members

public currentStyle: * source

public defaultStyle: {"buttonTexture": *, "buttonSubImage": *, "buttonHoverSubImage": *, "buttonPressedSubImage": number, "buttonReleasedSubImage": number, "fontTexture": *, "textInputBoxTexture": *} source

public styles: *[] source

Public Methods

public addStyle(jsonStyleObject: JSONObject) source

Params:

NameTypeAttributeDescription
jsonStyleObject JSONObject

A JSON formatted object containing generic drawing data for styles.

public getCurrentStyle(): * source

Return:

*

public getStyle(styleName: *): * source

Params:

NameTypeAttributeDescription
styleName *

Return:

*

public setCurrentStyle(uiStyleName: *) source

Params:

NameTypeAttributeDescription
uiStyleName *