"type"
This attribute allows to define a type name for the panel.
Synopsis
this.type(string name);
Parameter
Parameter | Description |
---|---|
name | Typ name for the panel |
Description
This attribute allows to define a type name for the panel. The type name, as well as the panel name, can be used for a more detailed definition of selectors in stylesheets. Moreover, it is possible to set/get the type name during runtime by using setValue/getValue (e.g. setValue(myModuleName()+ "." + myPanelName() + ":", "type", "paneltype1" );).
If the "type" attribute is changed during runtime, the stylesheet property must be reapplied (see setApplicationProperty()). Only ASCII characters are allowed for defining the type name.
Example
main()
{
this.type("myPanelType");
}
Assignment
Panel