Difference between revisions of "SHIP:Property:box:over"

From Serious Documentation
Jump to: navigation, search
(Node: {{Node|page}})
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Node: {{Node|box}} (in the {{Node|layoutarea}} only), {{Node|page}} ===
+
=== Node: {{Node|box}} in the {{Node|layoutarea|Layout Area}} ===
 
{| class="wikitable" style="margin: 1em auto 1em auto;"  
 
{| class="wikitable" style="margin: 1em auto 1em auto;"  
 
! scope="col" | Property
 
! scope="col" | Property
Line 14: Line 14:
 
If the any {{Node|displayable}} parent node's {{Prop|displayable|visible}} property goes {{Reserved|false}} while {{Prop|box|over}} is {{Reserved|true}}, the {{Prop|box|over}} property will transition to {{Reserved|false}} immediately ''before'' the {{Node|box}} is made invisible, hence {{Node|listener}}s to {{Node|box}}.{{Prop|page|over}} ''will'' receive this transition-to-{{Reserved|false}} event.  
 
If the any {{Node|displayable}} parent node's {{Prop|displayable|visible}} property goes {{Reserved|false}} while {{Prop|box|over}} is {{Reserved|true}}, the {{Prop|box|over}} property will transition to {{Reserved|false}} immediately ''before'' the {{Node|box}} is made invisible, hence {{Node|listener}}s to {{Node|box}}.{{Prop|page|over}} ''will'' receive this transition-to-{{Reserved|false}} event.  
  
If the any {{Node|layoutarea|layout area}} parent node's {{Prop|layoutarea|enabled}} property goes {{Reserved|false}} while {{Prop|box|over}} is {{Reserved|true}}, the {{Prop|box|over}} property will transition to {{Reserved|false}} ''afterwards'', hence any {{Node|listener}}s will not receive this transition.
+
If the any {{Node|layoutarea|layout area}} parent node's {{Prop|layoutarea|enabled}} property goes {{Reserved|false}} while {{Prop|box|over}} is {{Reserved|true}}, the {{Prop|box|over}} property will transition to {{Reserved|false}} ''afterwards'', hence any enclosed {{Node|listener}}s will not receive this transition.
  
 
This property is only relevant on {{Node|box}} nodes in the {{Node|layoutarea|layout area}}.
 
This property is only relevant on {{Node|box}} nodes in the {{Node|layoutarea|layout area}}.

Latest revision as of 07:09, 21 January 2013

Node: box in the Layout Area

Property Data Type Description
over Boolean If true the touchscreen is currently pressed within the bounds of the outer area of the box.

The over property reflects the real-time state of the touchscreen as pressed over the bounds of the outer-area of the box.

The property will transition true when the touchscreen is pressed inside the box, whether this is a new touch down event or the finger/stylus is already pressed and moves into the box. The property will go false when the touchscreen is release or the pressed finger/stylus moves outside the outer bounds of the box.

If the any displayable parent node's visible property goes false while over is true, the over property will transition to false immediately before the box is made invisible, hence listeners to box.over will receive this transition-to-false event.

If the any layout area parent node's enabled property goes false while over is true, the over property will transition to false afterwards, hence any enclosed listeners will not receive this transition.

This property is only relevant on box nodes in the layout area.