Difference between revisions of "SHIP:Property:displayable:visible"

From Serious Documentation
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=== Node: {{Node|displayable|All Displayable Nodes}} ===
 
=== Node: {{Node|displayable|All Displayable Nodes}} ===
{{PropTableStart}}
+
{{PropTableStart|}}
 
|-
 
|-
 
|<onlyinclude>{{Prop|displayable|visible}}||{{DataType|Boolean}}|| If {{Reserved|true}} (default) this node will be visible iff all direct line parent nodes up to and including the {{Node|display}} node are also visible.</onlyinclude>
 
|<onlyinclude>{{Prop|displayable|visible}}||{{DataType|Boolean}}|| If {{Reserved|true}} (default) this node will be visible iff all direct line parent nodes up to and including the {{Node|display}} node are also visible.</onlyinclude>
Line 6: Line 6:
 
The {{Prop|displayable|visible}} property affects whether or not the node is displayed.  All direct parent nodes from the node must also be visible {{Reserved|true}} all the way up to the {{Node|display}} node.   
 
The {{Prop|displayable|visible}} property affects whether or not the node is displayed.  All direct parent nodes from the node must also be visible {{Reserved|true}} all the way up to the {{Node|display}} node.   
  
All nodes (children, grandchildren, etc.) within a non-{{Prop|displayable|visible}}} node will also be non-{{Prop|displayable|visible}}}.  If a node is {{Prop|all|visible}}}, the visibility of the child/grandchild nodes will be controlled the state of their own respective {{Prop|displayable|visible}}} properties.
+
All nodes (children, grandchildren, etc.) within a non-{{Prop|displayable|visible}} node will also be non-{{Prop|displayable|visible}}.  If a node is {{Prop|displayable|visible}}, the visibility of the child/grandchild nodes will be controlled the state of their own respective {{Prop|displayable|visible}} properties.
  
When a subtree of nodes is non-{{Prop|displayable|visible}}}, all {{Node|listener}} nodes anywhere within subtree will continue to function normally irrespective of the {{Prop|displayable|visible}}} property ''except'' for touch-related {{Node|listener}}s, which will not receive events if any direct-line parent node, including {{Node|box}} node, is not {{Prop|displayable|visible}}.
+
When a sub-tree of nodes is non-{{Prop|displayable|visible}}, all {{Node|listener}} nodes anywhere within sub-tree will continue to function normally irrespective of the {{Prop|displayable|visible}}property ''except'' for touch-related {{Node|listener}}s, which will not receive events if any direct-line parent node, including {{Node|box}} node, is not {{Prop|displayable|visible}}.
  
 
For example, a touch {{Node|listener}} in a {{Node|box}} where the {{Node|box}}'s {{Prop|displayable|visible}} property is {{Reserved|false}} will prevent the {{Node|listener}} from waking on touch events.
 
For example, a touch {{Node|listener}} in a {{Node|box}} where the {{Node|box}}'s {{Prop|displayable|visible}} property is {{Reserved|false}} will prevent the {{Node|listener}} from waking on touch events.

Latest revision as of 12:30, 31 January 2013

Node: All Displayable Nodes

Property Data Type Description
visible Boolean If true (default) this node will be visible iff all direct line parent nodes up to and including the display node are also visible.

The visible property affects whether or not the node is displayed. All direct parent nodes from the node must also be visible true all the way up to the display node.

All nodes (children, grandchildren, etc.) within a non-visible node will also be non-visible. If a node is visible, the visibility of the child/grandchild nodes will be controlled the state of their own respective visible properties.

When a sub-tree of nodes is non-visible, all listener nodes anywhere within sub-tree will continue to function normally irrespective of the visibleproperty except for touch-related listeners, which will not receive events if any direct-line parent node, including box node, is not visible.

For example, a touch listener in a box where the box's visible property is false will prevent the listener from waking on touch events.