Views User Guides > Foundation > Script Programming > Common Properties of Views Objects
Common Properties of Views Objects
The following properties useful in scripting are common to all Views objects:
className
className is a read-only string that indicates the type of the object. Object types are documented in the Views Foundation Reference Manual.
name
name is a string that identifies the object. A panel should have a unique name within the application. A gadget should have a unique name within its container.
help
help is a read-only string that gives the object description. This property is very useful when debugging a scriptable Views application.
For example, in the Views Studio script debugger, type Application.help to get a list of the supported properties and methods:
> Application.help
= ViewsObject :
Method getPanel;
Method addPanel;
Method removePanel;
Method setState;
Method quit;
Object rootState;
String name;
String className;
To get more information on the method IlvApplication::getPanel, just type Application.getPanel.help:
> Application.getPanel.help
= Object getPanel(String name)
You can also obtain information on the IlvApplication::getPanel method by typing Application.getPanel:
> Application.getPanel
= [Views method: Object getPanel(String name)]
Published date: 05/24/2022
Last modified date: 02/24/2022