Packagecom.gestureworks.cml.factories
Classpublic class TouchContainerFactory
InheritanceTouchContainerFactory Inheritance TouchSprite Inheritance flash.display.Sprite
Implements IContainer, ICSS
Subclasses TouchContainer

The TouchContainerFactory is the base class for all TouchContainers. It is an abstract class that is not meant to be called directly.

See also

com.gestureworks.cml.factories.ElementFactory
com.gestureworks.cml.factories.GraphicFactory


Public Properties
 PropertyDefined By
 Inherited_$height : Number = 0
TouchSprite
 Inherited_$rotation : Number = 0
TouchSprite
 Inherited$rotation : Number
TouchSprite
 Inherited_$scaleX : Number = 1
TouchSprite
 Inherited$scaleX : Number
TouchSprite
 Inherited_$scaleY : Number = 1
TouchSprite
 Inherited$scaleY : Number
TouchSprite
 Inherited$transformPoint : Point
TouchSprite
 Inherited_$width : Number = 0
TouchSprite
 Inherited_$x : Number = 0
TouchSprite
 Inherited$x : Number
TouchSprite
 Inherited_$y : Number = 0
TouchSprite
 Inherited$y : Number
TouchSprite
  autoShuffle : Boolean
autoshuffles
TouchContainerFactory
 InheritedbroadcastTarget : Boolean
TouchSprite
  childList : ChildList
[read-only] returns the childlist
TouchContainerFactory
  class_ : String
Object's css class;
TouchContainerFactory
  className : String
sets the class name of displayobject
TouchContainerFactory
 InheritedclusterBubbling : Boolean
Allows touch points from a childclusters to copy into container touch objects in the local parent child display list stack.
TouchSprite
 InheritedclusterEvents : Boolean
Determins whether clusterEvents are processed and dispatched on the touchSprite.
TouchSprite
 InheritedclusterID : int
TouchSprite
  cmlIndex : int
sets the cml index
TouchContainerFactory
 Inheritedcml_item : Boolean
TouchSprite
 InheritedcO : ClusterObject
TouchSprite
 InheriteddebugDisplay : Boolean
TouchSprite
 InheriteddeltaFilterOn : Boolean
Determins whether filtering is applied to the delta values.
TouchSprite
  dimensionsTo : String
sets the dimensions of touchcontainer
TouchContainerFactory
 InheriteddisableAffineTransform : Boolean
Determins whether internal (native) transformations are affine (dynamically centered) on the touchSprite.
TouchSprite
 InheriteddisableNativeTransform : Boolean
Determins whether transformations are handled internally (natively) on the touchSprite.
TouchSprite
 InheriteddN : Number
TouchSprite
  dropShadow : Boolean
Sets the drop shadow effect
TouchContainerFactory
 InheritedGESTRELIST_UPDATE : String = gestureList update
[static]
TouchSprite
 InheritedgestureEventComplete : Boolean
Indicates weather all gestureEvents have been completed on the touchSprite.
TouchSprite
 InheritedgestureEventRelease : Boolean
Indicates whether all touch points have been released on the touchSprite.
TouchSprite
 InheritedgestureEvents : Boolean
Determins whether gestureEvents are processed and dispatched on the touchSprite.
TouchSprite
 InheritedgestureEventStart : Boolean
Indicates whether any gestureEvents have been started on the touchSprite.
TouchSprite
 InheritedgestureFilters : Boolean
TouchSprite
 InheritedgestureList : Object
TouchSprite
 InheritedgestureReleaseInertia : Boolean
Determins whether release inertia is given to gestureEvents on the touchSprite.
TouchSprite
 InheritedgestureTouchInertia : Boolean
Determins whether touch inertia is processed on the touchSprite.
TouchSprite
 Inherited_gestureTweenOn : Boolean = false
TouchSprite
 InheritedgestureTweenOn : Boolean
TouchSprite
 InheritedgO : GestureListObject
TouchSprite
  group : String
TouchContainerFactory
  height : Number
[override] sets the height of the container
TouchContainerFactory
  id : String
sets childlist id
TouchContainerFactory
  layout : *
speciffies the type of layout
TouchContainerFactory
  maxScale : Number
This method is called after class initialization.
TouchContainerFactory
  minScale : Number
This method is called after class initialization.
TouchContainerFactory
  mouseChildren : Boolean
[override] sets the mousechildren value to true or false.
TouchContainerFactory
 InheritedN : int
TouchSprite
 InheritednestedTransform : Boolean
TouchSprite
  outline_alpha : Number
sets the alpha of outline
TouchContainerFactory
  outline_color : Number
sets the color of outline
TouchContainerFactory
  outline_joint : String
TODO
TouchContainerFactory
  outlineOn : String
specifies the outline of container to true or false
TouchContainerFactory
  outline_stroke : int
sets the line stroke of outline
TouchContainerFactory
 InheritedpointArray : Vector.<PointObject>
[read-only]
TouchSprite
 InheritedpointCount : int
TouchSprite
  propertyStates : Array
Deprecated: Please Use state
TouchContainerFactory
 InheritedsO : StrokeObject
TouchSprite
  state : Array
property states array
TouchContainerFactory
 Inheritedtargeting : Boolean
Turns off manual ALL targeting control, defaults to a simple hit test targeting model with exclusive target clustering
TouchSprite
 InheritedtargetList : Array
Allows touch and gesture events to explicitly target a group of defined touch objects which can be outside of the local parent child display list stack
TouchSprite
 InheritedtargetObject : Object
Allows touch and gesture events to explicitly target a touch object this can be outside the local parent child display list stack
TouchSprite
 InheritedtargetParent : Boolean
Allows touch and gesture events to explicitly target the parent touch object
TouchSprite
 Inheritedtc : TouchCluster
TouchSprite
 Inheritedtd : TouchDebugDisplay
TouchSprite
 Inheritedtg : TouchGesture
TouchSprite
 InheritedtiO : TimelineObject
TouchSprite
 InheritedtouchChildren : Boolean
TouchSprite
 InheritedtouchObjectID : int
[read-only]
TouchSprite
 Inheritedtp : TouchPipeline
TouchSprite
 InheritedtraceDebugModeOn : Boolean
TouchSprite
 InheritedtransformComplete : Boolean
TouchSprite
 InheritedtransformEventComplete : Boolean
TouchSprite
 InheritedtransformEvents : Boolean
Determins whether transformEvents are processed and dispatched on the touchSprite.
TouchSprite
 InheritedtransformEventStart : Boolean
TouchSprite
 InheritedtransformGestureVectors : Boolean
Determins whether transformations are handled internally (natively) on the touchSprite.
TouchSprite
 InheritedtransformStart : Boolean
TouchSprite
 InheritedtrO : TransformObject
TouchSprite
 Inheritedtt : TouchTransform
TouchSprite
  width : Number
[override] sets the width of the container
TouchContainerFactory
 Inheritedx_lock : Boolean
TouchSprite
 Inheritedy_lock : Boolean
TouchSprite
Protected Properties
 PropertyDefined By
  cmlGestureList : Object
TouchContainerFactory
Public Methods
 MethodDefined By
  
Constructor
TouchContainerFactory
  
TODO
TouchContainerFactory
  
method searches the child and adds to the list
TouchContainerFactory
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[override] Registers event listeners.
TouchSprite
  
childToList(id:String, child:*):void
child appended to the childlist
TouchContainerFactory
  
CML callback Initialisation
TouchContainerFactory
  
dispose():void
Calls the Dispose method for each child possessing a Dispose method then removes all children.
TouchContainerFactory
  
makeGestureList(value:XMLList):Object
TODO
TouchContainerFactory
 Inherited
onTouchDown(event:TouchEvent, target:* = null):void
decides how to assign the captured touch point to a cluster can pass to parent, an explicit target, an explicit list or targets or a passed to any touch object in the local display stack.
TouchSprite
  
parseCML(cml:XMLList):XMLList
parses cml file
TouchContainerFactory
  
postparseCML(cml:XMLList):void
postparse method
TouchContainerFactory
  
method sets the dimensions of each child
TouchContainerFactory
 Inherited
TouchSprite
 Inherited
TouchSprite
 Inherited
TouchSprite
 Inherited
Registers/unregisters event handlers depending on the active modes
TouchSprite
 Inherited
TouchSprite
  
updateProperties(state:Number = 0):void
update properties of child
TouchContainerFactory
 Inherited
TouchSprite
 Inherited
TouchSprite
Protected Methods
 MethodDefined By
  
This method is called after class initialization.
TouchContainerFactory
  
This method is called after class initialization.
TouchContainerFactory
  
randomMinMax(min:Number, max:Number):Number
This method is called after class initialization.
TouchContainerFactory
  
This method is called after class initialization.
TouchContainerFactory
  
thumbUpdate(event:Event):void
This method is called after class initialization.
TouchContainerFactory
Property Detail
autoShuffleproperty
autoShuffle:Boolean

autoshuffles


Implementation
    public function get autoShuffle():Boolean
    public function set autoShuffle(value:Boolean):void
childListproperty 
childList:ChildList  [read-only]

returns the childlist


Implementation
    public function get childList():ChildList
class_property 
class_:String

Object's css class;


Implementation
    public function get class_():String
    public function set class_(value:String):void
classNameproperty 
className:String

sets the class name of displayobject


Implementation
    public function get className():String
    public function set className(value:String):void
cmlGestureListproperty 
protected var cmlGestureList:Object

cmlIndexproperty 
cmlIndex:int

sets the cml index


Implementation
    public function get cmlIndex():int
    public function set cmlIndex(value:int):void
dimensionsToproperty 
dimensionsTo:String

sets the dimensions of touchcontainer


Implementation
    public function get dimensionsTo():String
    public function set dimensionsTo(value:String):void
dropShadowproperty 
dropShadow:Boolean

Sets the drop shadow effect

The default value is false.


Implementation
    public function get dropShadow():Boolean
    public function set dropShadow(value:Boolean):void
groupproperty 
group:String


Implementation
    public function get group():String
    public function set group(value:String):void
heightproperty 
height:Number[override]

sets the height of the container


Implementation
    public function get height():Number
    public function set height(value:Number):void
idproperty 
id:String

sets childlist id


Implementation
    public function get id():String
    public function set id(value:String):void
layoutproperty 
layout:*

speciffies the type of layout


Implementation
    public function get layout():*
    public function set layout(value:any):void
maxScaleproperty 
maxScale:Number

This method is called after class initialization.


Implementation
    public function get maxScale():Number
    public function set maxScale(value:Number):void
minScaleproperty 
minScale:Number

This method is called after class initialization.


Implementation
    public function get minScale():Number
    public function set minScale(value:Number):void
mouseChildrenproperty 
mouseChildren:Boolean[override]

sets the mousechildren value to true or false.


Implementation
    public function get mouseChildren():Boolean
    public function set mouseChildren(value:Boolean):void
outline_alphaproperty 
outline_alpha:Number

sets the alpha of outline

The default value is =1;.


Implementation
    public function get outline_alpha():Number
    public function set outline_alpha(value:Number):void
outline_colorproperty 
outline_color:Number

sets the color of outline


Implementation
    public function get outline_color():Number
    public function set outline_color(value:Number):void
outline_jointproperty 
outline_joint:String

TODO


Implementation
    public function get outline_joint():String
    public function set outline_joint(value:String):void
outline_strokeproperty 
outline_stroke:int

sets the line stroke of outline

The default value is 20;.


Implementation
    public function get outline_stroke():int
    public function set outline_stroke(value:int):void
outlineOnproperty 
outlineOn:String

specifies the outline of container to true or false

The default value is false;.


Implementation
    public function get outlineOn():String
    public function set outlineOn(value:String):void
propertyStatesproperty 
public var propertyStates:Array
Deprecated: Please Use state

stateproperty 
public var state:Array

property states array

widthproperty 
width:Number[override]

sets the width of the container


Implementation
    public function get width():Number
    public function set width(value:Number):void
Constructor Detail
TouchContainerFactory()Constructor
public function TouchContainerFactory()

Constructor

Method Detail
activateTouch()method
public function activateTouch():void

TODO

addAllChildren()method 
public function addAllChildren():void

method searches the child and adds to the list

childrenHaveUpdated()method 
protected function childrenHaveUpdated():void

This method is called after class initialization.

childToList()method 
public function childToList(id:String, child:*):void

child appended to the childlist

Parameters

id:String
 
child:*

displayComplete()method 
public function displayComplete():void

CML callback Initialisation

displayHandler()method 
protected function displayHandler(event:DisplayEvent):void

This method is called after class initialization.

Parameters

event:DisplayEvent

dispose()method 
public function dispose():void

Calls the Dispose method for each child possessing a Dispose method then removes all children. This is the root destructor intended to be called by overriding dispose functions.

makeGestureList()method 
public function makeGestureList(value:XMLList):Object

TODO

Parameters

value:XMLList

Returns
Object
parseCML()method 
public function parseCML(cml:XMLList):XMLList

parses cml file

Parameters

cml:XMLList

Returns
XMLList
postparseCML()method 
public function postparseCML(cml:XMLList):void

postparse method

Parameters

cml:XMLList

randomMinMax()method 
protected function randomMinMax(min:Number, max:Number):Number

This method is called after class initialization.

Parameters

min:Number
 
max:Number

Returns
Number
scaleTransformHandler()method 
protected function scaleTransformHandler(event:GWTransformEvent):void

This method is called after class initialization.

Parameters

event:GWTransformEvent

setDimensionsToChild()method 
public function setDimensionsToChild():void

method sets the dimensions of each child

thumbUpdate()method 
protected function thumbUpdate(event:Event):void

This method is called after class initialization.

Parameters

event:Event

updateProperties()method 
public function updateProperties(state:Number = 0):void

update properties of child

Parameters

state:Number (default = 0)