Difference between revisions of "Category:UI Objects"

From HSYCO
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Category:User Interface]]
 
[[Category:User Interface]]
  
UI Objects are cool, etc.
+
The index.hsm file is based on graphic objects having the following standard format:
 +
(object_name <parameter1>; <parameterN>)
 +
{{note|Errors in the index.hsm file are reported in the log file with the message:
 +
Page Parser: Syntax Error, line: nnn
 +
}}
 +
 
 +
When errors are detected, the page is not served to the Web browser.
 +
File parsing stops at the first error, so only the first line with errors is reported in the log file.
 +
Each type of graphic object could require one or more parameters, separated by the “;” character. Empty lines or blank spaces are ignored.
 +
{{note|Changes to index.hsm cause an automatic page reload on the connected Web browsers.}}
 +
 
 +
You can insert comment lines, which are ignored. A comment line starts with the “#” character at the beginning of the line.
 +
{{note|Names in index.hsm are case sensitive, small and capital letters are significant; all objects defined in the standard skin have names with lower-case letters.}}
 +
 
 +
{{note|Some objects support a variant called '''identified version''' to allow the '''!id''' dynamic modification of the text, visibility, color several other attributes with the uiSet() Java method or the UISET action.}}
 +
 
 +
The identified objects should be defined with an id string that is unique in the index.hsm file. The presence of more objects with the same id can cause undesired effects.
 +
To identify an object, append a ! character and the id at the end of the object type, for example:
 +
(text!mytextid r1c1; This is my identified text object)

Revision as of 11:42, 9 January 2014


The index.hsm file is based on graphic objects having the following standard format:

(object_name <parameter1>; <parameterN>)
Errors in the index.hsm file are reported in the log file with the message:
Page Parser: Syntax Error, line: nnn


When errors are detected, the page is not served to the Web browser. File parsing stops at the first error, so only the first line with errors is reported in the log file. Each type of graphic object could require one or more parameters, separated by the “;” character. Empty lines or blank spaces are ignored.

Changes to index.hsm cause an automatic page reload on the connected Web browsers.


You can insert comment lines, which are ignored. A comment line starts with the “#” character at the beginning of the line.

Names in index.hsm are case sensitive, small and capital letters are significant; all objects defined in the standard skin have names with lower-case letters.


Some objects support a variant called identified version to allow the !id dynamic modification of the text, visibility, color several other attributes with the uiSet() Java method or the UISET action.


The identified objects should be defined with an id string that is unique in the index.hsm file. The presence of more objects with the same id can cause undesired effects. To identify an object, append a ! character and the id at the end of the object type, for example:

(text!mytextid r1c1; This is my identified text object)