Difference between revisions of "SHIP:Node:page"

From Serious Documentation
Jump to: navigation, search
(Properties)
(Properties)
Line 23: Line 23:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| {{Prop|name}}|| {{DataType|name}} || Any valid node name
+
|{{:SHIP:Property:page:name}}
 
|-
 
|-
| {{Prop|visible}}||  {{DataType|boolean}} || (default {{Reserved|true}} sets the visibility of this page
+
|{{:SHIP:Property:page:visible}}
 
|-
 
|-
| {{Prop|enabled}}||  {{DataType|boolean}} || (default {{Reserved|true}} allows events in this page
+
|{{:SHIP:Property:page:enabled}}
 
|-
 
|-
| {{Prop|object}}||  {{DataType|reference}} || (optional) name of an attached object in the {{Node|resources}} area
+
|{{:SHIP:Property:page:object}}
 
|-
 
|-
| {{Prop|bgcolor}}|| {{DataType|color}} || Background color of the page
+
|{{:SHIP:Property:page:bgcolor}}
 
|-
 
|-
| {{Prop|fillcolor}}|| {{DataType|color}} || Fill color of the page
+
|{{:SHIP:Property:page:fillcolor}}
 
|-
 
|-
| {{Prop|innercolor}}|| {{DataType|color}} || Inner color of the page
+
|{{:SHIP:Property:page:innercolor}}
 
|-
 
|-
| {{Prop|mt}},{{Prop|mr}},{{Prop|mb}},{{Prop|ml}}|| {{DataType|dimension}} || Pixel width of margin (top, right, bottom, left)
+
|{{:SHIP:Property:page:mt}}
 
|-
 
|-
| {{Prop|pt}},{{Prop|pr}},{{Prop|pb}},{{Prop|pl}}|| {{DataType|dimension}} || Pixel width of padding (top, right, bottom, left)
+
|{{:SHIP:Property:page:mr}}
 
|-
 
|-
| {{Prop|bct}},{{Prop|bcr}},{{Prop|bcb}},{{Prop|bcl}}|| {{DataType|color}} || Color of border (top, right, bottom, left)
+
|{{:SHIP:Property:page:mb}}
 +
|-
 +
|{{:SHIP:Property:page:ml}}
 +
|-
 +
|{{:SHIP:Property:page:pt}}
 +
|-
 +
|{{:SHIP:Property:page:pr}}
 +
|-
 +
|{{:SHIP:Property:page:pb}}
 +
|-
 +
|{{:SHIP:Property:page:pl}}
 +
|-
 +
|{{:SHIP:Property:page:bct}}
 +
|-
 +
|{{:SHIP:Property:page:bcr}}
 +
|-
 +
|{{:SHIP:Property:page:bcb}}
 +
|-
 +
|{{:SHIP:Property:page:bcl}}
 
|}
 
|}
  
 
== Examples ==
 
== Examples ==

Revision as of 06:56, 28 November 2012

Node Home

A GUI is generally composed of numerous graphically designed layout screens. Touch buttons navigate within an interactive GUI page and also cause screens to change from one to another. Since the word "screen" can easily be confused with the physical glass screen (vs. the GUI pixel content on the screen), SHIP uses the term "page" instead. The page in the GUI contains the visual layout for a specific GUI page. You can, and probably will, have many pages in a given GUI.

The names of the page nodes traditionally start with lower case "p", such as 'pHome, pSettings', etc., but this is not mandated. The name can be set to any valid name, such as homePage, or main for example.

Parent Nodes

The following nodes are permitted to hold this node:

Child Nodes

The following nodes are permitted to exist within this node:

Properties

Property Data Type Description
SHIP:Property:page:name
SHIP:Property:page:visible
SHIP:Property:page:enabled
object Reference (optional) name of an attached object in the resources area.
SHIP:Property:page:bgcolor
SHIP:Property:page:fillcolor
SHIP:Property:page:innercolor
SHIP:Property:page:mt
SHIP:Property:page:mr
SHIP:Property:page:mb
SHIP:Property:page:ml
SHIP:Property:page:pt
SHIP:Property:page:pr
SHIP:Property:page:pb
SHIP:Property:page:pl
SHIP:Property:page:bct
SHIP:Property:page:bcr
SHIP:Property:page:bcb
SHIP:Property:page:bcl

Examples