Skip to main content

XMLLayoutRegistry

declare class XMLLayoutRegistry {}

XMLLayoutRegistry

Instance Method

getViewClass

declare class XMLLayoutRegistry {
getViewClass<T extends View>(name: string): Class<T>
}
  • Description

    Gets the registered view class

hasViewClass

declare class XMLLayoutRegistry {
hasViewClass(name: string): boolean
}
  • Description

    Get if view class exists

removeViewClass

declare class XMLLayoutRegistry {
removeViewClass(name: string): XMLLayoutRegistry
}
  • Description

    Remove view class

registryViewClass

declare class XMLLayoutRegistry {
registryViewClass<T extends View>(name: string, clazz: Class<T>, overwrite?: boolean): XMLLayoutRegistry
}
  • Description

    registry view class

setDefaultAttribute

declare class XMLLayoutRegistry {
setDefaultAttribute(name: string, value: string): XMLLayoutRegistry
}
  • Description

    set default attribute