DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.



Property Summary
String
text
The textual content of the style.



Method Summary
String
getName()
Gets the name of the style.
UUID
getUUID()
Returns the UUID of the style object



Property Details

text

The textual content of the style.

Returns

String

Sample

var st = solutionModel.newStyle('myStyle','form { background-color: yellow; }');
st.text = st.text + 'field { background-color: blue; }';
form.styleName = 'myStyle';
application.output('Style name is: ' + st.getName());
 



Method Details

getName

String
getName
()
Gets the name of the style.

Returns

String - A String holding the name of the style.

Sample

var st = solutionModel.newStyle('myStyle','form { background-color: yellow; }');
st.text = st.text + 'field { background-color: blue; }';
form.styleName = 'myStyle';
application.output('Style name is: ' + st.getName());
 

getUUID

UUID
getUUID
()
Returns the UUID of the style object

Returns

UUID

Sample

var st = solutionModel.newStyle('myStyle','form { background-color: yellow; }');
application.output(st.getUUID().toString());