Programmer's Guide > Interfaces > Window interface > loadComponentFile method
  
loadComponentFile method
Reads the XML file specified by filename and creates window components such as tool bars, menu bars, and so on according to the content of the XML File.
loadComponentFile(filename )
Parameters
Stringfilename
The XML file containing the window component description. This must conform to the XML User Interface (XUI) document type.
Returns
View. The View of the new window components created by this method by using filename.
Throws
AOMException
Raised if the method detects an error. (For example, if filename doesn't exist.)