Rogue Wave Script Programming > Common Properties of Rogue Wave Views Objects
 
Common Properties of Rogue Wave Views Objects
The following properties useful in scripting are common to all Rogue Wave® Views objects:
*className
*name
*help
className
className is a read-only string that indicates the type of the object. Object types are documented in the Rogue Wave 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 Rogue Wave Views application.
For example, in the Rogue Wave 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)]

Version 5.5.1
Copyright © 2012, Rogue Wave Software, Inc. All Rights Reserved.