ShowUI Method

The ShowUI method displays the physical control that corresponds to an applet control. It returns nothing. It uses the following syntax:

ShowUI() 

It includes no arguments.

For example:

CustomPR.prototype.ShowUI = function(){    
 var controlSet = this.GetPM().Get("GetControls");    
 for(var control in controlSet){    
  if(controlSet.hasOwnProperty(control)){    
   // Display each control, as required.    
  }    
 }    
}; 

A physical renderer must provide a definition for each of the following methods:

  • ShowUI

  • BindEvents

  • BindData

It can do this definition in each of these methods or in a superclass, which is a parent class of the class that the method references.

For information about: