Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.controls.advancedDataGridClasses 
FTEAdvancedDataGridItemRenderer 
Packagemx.controls.advancedDataGridClasses
Classpublic class FTEAdvancedDataGridItemRenderer
InheritanceFTEAdvancedDataGridItemRenderer Inheritance UIFTETextField Inheritance FTETextField Inheritance Sprite Inheritance DisplayObjectContainer Inheritance InteractiveObject Inheritance DisplayObject Inheritance EventDispatcher Inheritance Object
Implements IDataRenderer, IDropInListItemRenderer, ILayoutManagerClient, IListItemRenderer, IStyleClient

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

The FTEAdvancedDataGridItemRenderer class defines the default item renderer for an AdvancedDataGrid control used with FTEText. By default, the item renderer draws the text associated with each item in the grid.

You can override the default item renderer by creating a custom item renderer.

See also



Public Properties
 PropertyDefined By
 InheritedaccessibilityImplementation : AccessibilityImplementation
The current accessibility implementation (AccessibilityImplementation) for this InteractiveObject instance.
InteractiveObject
 InheritedaccessibilityProperties : AccessibilityProperties
The current accessibility options for this display object.
DisplayObject
 Inheritedalpha : Number
Indicates the alpha transparency value of the object specified.
DisplayObject
 InheritedalwaysShowSelection : Boolean
This property is not implemented in FTETextField because FTETextField does not support selection.
FTETextField
 InheritedantiAliasType : String
This property has no effect in FTETextField because FTE uses a newer font renderer than TextField.
FTETextField
 InheritedautomationDelegate : Object
The delegate object which is handling the automation related functionality.
UIFTETextField
 InheritedautomationEnabled : Boolean
[read-only] True if this component is enabled for automation, false otherwise.
UIFTETextField
 InheritedautomationName : String
Name that can be used as an identifier for this object.
UIFTETextField
 InheritedautomationOwner : DisplayObjectContainer
[read-only] The owner of this component for automation purposes.
UIFTETextField
 InheritedautomationParent : DisplayObjectContainer
[read-only] The parent of this component for automation purposes.
UIFTETextField
 InheritedautomationValue : Array
[read-only] This value generally corresponds to the rendered appearance of the object and should be usable for correlating the identifier with the object as it appears visually within the application.
UIFTETextField
 InheritedautomationVisible : Boolean
[read-only] True if this component is visible for automation, false otherwise.
UIFTETextField
 InheritedautoSize : String
Controls automatic sizing and alignment of text fields.
FTETextField
 Inheritedbackground : Boolean
Specifies whether the text field has a background fill.
FTETextField
 InheritedbackgroundColor : uint
The color of the text field background.
FTETextField
 InheritedbaselinePosition : Number
[read-only] The y-coordinate of the baseline of the first line of text.
UIFTETextField
 InheritedblendMode : String
A value from the BlendMode class that specifies which blend mode to use.
DisplayObject
 InheritedblendShader : Shader
[write-only] Sets a shader that is used for blending the foreground and background.
DisplayObject
 Inheritedborder : Boolean
Specifies whether the text field has a border.
FTETextField
 InheritedborderColor : uint
The color of the text field border.
FTETextField
 InheritedbottomScrollV : int
[read-only] This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
 InheritedbuttonMode : Boolean
Specifies the button mode of this sprite.
Sprite
 InheritedcacheAsBitmap : Boolean
If set to true, Flash Player or Adobe AIR caches an internal bitmap representation of the display object.
DisplayObject
 InheritedcaretIndex : int
[read-only] This property has not been implemented in FTETextField because FTETextField does not support editing.
FTETextField
 InheritedclassName : String
[read-only] The name of this instance's class, such as "DataGridItemRenderer".
UIFTETextField
 InheritedcondenseWhite : Boolean
A Boolean value that specifies whether extra white space (spaces, line breaks, and so on) in a text field with HTML text is removed.
FTETextField
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 InheritedcontextMenu : NativeMenu
Specifies the context menu associated with this object.
InteractiveObject
  data : Object
The implementation of the data property as defined by the IDataRenderer interface.
FTEAdvancedDataGridItemRenderer
 InheriteddefaultTextFormat : flash.text:TextFormat
Specifies the format applied to newly inserted text, such as text entered by a user or text inserted with the replaceSelectedText() method.
FTETextField
 Inheriteddirection : String
The directionality of the text displayed by the FTETextField.
FTETextField
 InheriteddisplayAsPassword : Boolean
This property has not been implemented in FTETextField because FTETextField does not support editing.
FTETextField
 Inheriteddocument : Object
A reference to the document object associated with this UITextField object.
UIFTETextField
 InheriteddoubleClickEnabled : Boolean
Specifies whether the object receives doubleClick events.
InteractiveObject
 InheriteddropTarget : DisplayObject
[read-only] Specifies the display object over which the sprite is being dragged, or on which the sprite was dropped.
Sprite
 InheritedembedFonts : Boolean
Specifies whether to render by using embedded font outlines.
FTETextField
 Inheritedenabled : Boolean
A Boolean value that indicates whether the component is enabled.
UIFTETextField
 InheritedenableIME : Boolean
[read-only] A flag that indicates whether the IME should be enabled when the component receives focus.
UIFTETextField
 InheritedexplicitHeight : Number
Number that specifies the explicit height of the component, in pixels, in the component's coordinates.
UIFTETextField
 InheritedexplicitMaxHeight : Number
[read-only] Number that specifies the maximum height of the component, in pixels, in the component's coordinates, if the maxHeight property is set.
UIFTETextField
 InheritedexplicitMaxWidth : Number
[read-only] Number that specifies the maximum width of the component, in pixels, in the component's coordinates, if the maxWidth property is set.
UIFTETextField
 InheritedexplicitMinHeight : Number
[read-only] The minimum recommended height of the component to be considered by the parent during layout.
UIFTETextField
 InheritedexplicitMinWidth : Number
[read-only] The minimum recommended width of the component to be considered by the parent during layout.
UIFTETextField
 InheritedexplicitWidth : Number
Number that specifies the explicit width of the component, in pixels, in the component's coordinates.
UIFTETextField
 Inheritedfilters : Array
An indexed array that contains each filter object currently associated with the display object.
DisplayObject
 InheritedfocusPane : Sprite
A single Sprite object that is shared among components and used as an overlay for drawing the focus indicator.
UIFTETextField
 InheritedfocusRect : Object
Specifies whether this object displays a focus rectangle.
InteractiveObject
 InheritedfontContext : ISWFContext
The ISWFContext instance that FTETextField uses for creating TextLine objects.
FTETextField
 Inheritedgraphics : Graphics
[read-only] Specifies the Graphics object that belongs to this sprite where vector drawing commands can occur.
Sprite
 InheritedgridFitType : String
This property has no effect in FTETextField because FTE uses a newer font renderer than TextField.
FTETextField
 Inheritedheight : Number
Indicates the height of the display object, in pixels.
DisplayObject
 InheritedhitArea : Sprite
Designates another sprite to serve as the hit area for a sprite.
Sprite
 InheritedhtmlText : String
Contains the HTML representation of the text field contents.
FTETextField
 InheritedignorePadding : Boolean
If true, the paddingLeft and paddingRight styles will not add space around the text of the component.
UIFTETextField
 InheritedimeMode : String
Specifies the IME (input method editor) mode.
UIFTETextField
 InheritedincludeInLayout : Boolean
Specifies whether this component is included in the layout of the parent container.
UIFTETextField
 InheritedinheritingStyles : Object
The beginning of this UITextField's chain of inheriting styles.
UIFTETextField
 Inheritedinitialized : Boolean
A flag that determines if an object has been through all three phases of layout validation (provided that any were required).
UIFTETextField
 InheritedisPopUp : Boolean
Set to true by the PopUpManager to indicate that component has been popped up.
UIFTETextField
 Inheritedlength : int
[read-only] The number of characters in a text field.
FTETextField
  listData : BaseListData
The implementation of the listData property as defined by the IDropInListItemRenderer interface.
FTEAdvancedDataGridItemRenderer
 InheritedloaderInfo : LoaderInfo
[read-only] Returns a LoaderInfo object containing information about loading the file to which this display object belongs.
DisplayObject
 Inheritedlocale : String
The locale of the text displayed by FTETextField.
FTETextField
 Inheritedmask : DisplayObject
The calling display object is masked by the specified mask object.
DisplayObject
 InheritedmaxChars : int
This property has not been implemented in FTETextField because FTETextField does not support editing.
FTETextField
 InheritedmaxHeight : Number
[read-only] The maximum recommended height of the component to be considered by the parent during layout.
UIFTETextField
 InheritedmaxScrollH : int
[read-only] This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
 InheritedmaxScrollV : int
[read-only] This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
 InheritedmaxWidth : Number
[read-only] The maximum recommended width of the component to be considered by the parent during layout.
UIFTETextField
 InheritedmeasuredHeight : Number
[read-only] The default height of the component, in pixels.
UIFTETextField
 InheritedmeasuredMinHeight : Number
The default minimum height of the component, in pixels.
UIFTETextField
 InheritedmeasuredMinWidth : Number
The default minimum width of the component, in pixels.
UIFTETextField
 InheritedmeasuredWidth : Number
[read-only] The default width of the component, in pixels.
UIFTETextField
 InheritedminHeight : Number
[read-only] The minimum recommended height of the component to be considered by the parent during layout.
UIFTETextField
 InheritedminWidth : Number
[read-only] The minimum recommended width of the component to be considered by the parent during layout.
UIFTETextField
 InheritedmoduleFactory : IFlexModuleFactory
The moduleFactory that is used to create TextFields in the correct SWF context.
UIFTETextField
 InheritedmouseChildren : Boolean
Determines whether or not the children of the object are mouse enabled.
DisplayObjectContainer
 InheritedmouseEnabled : Boolean
Specifies whether this object receives mouse messages.
InteractiveObject
 InheritedmouseWheelEnabled : Boolean
This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
 InheritedmouseX : Number
[read-only] Indicates the x coordinate of the mouse position, in pixels.
DisplayObject
 InheritedmouseY : Number
[read-only] Indicates the y coordinate of the mouse position, in pixels.
DisplayObject
 Inheritedmultiline : Boolean
This property has no effect in FTETextField because FTETextField does not support editing.
FTETextField
 Inheritedname : String
Indicates the instance name of the DisplayObject.
DisplayObject
 InheritednestLevel : int
Depth of this object in the containment hierarchy.
UIFTETextField
 InheritednonInheritingStyles : Object
The beginning of this UITextField's chain of non-inheriting styles.
UIFTETextField
 InheritednonZeroTextHeight : Number
[read-only] The height of the text, in pixels.
UIFTETextField
 InheritednumChildren : int
[read-only] Returns the number of children of this object.
DisplayObjectContainer
 InheritednumLines : int
[read-only] Defines the number of text lines in a multiline text field.
FTETextField
 InheritedopaqueBackground : Object
Specifies whether the display object is opaque with a certain background color.
DisplayObject
 Inheritedowner : DisplayObjectContainer
By default, set to the parent container of this object.
UIFTETextField
 Inheritedparent : DisplayObjectContainer
[override] [read-only] The parent container or component for this component.
UIFTETextField
 InheritedpercentHeight : Number
Number that specifies the height of a component as a percentage of its parent's size.
UIFTETextField
 InheritedpercentWidth : Number
Number that specifies the width of a component as a percentage of its parent's size.
UIFTETextField
 InheritedprocessedDescriptors : Boolean
Set to true after the createChildren() method creates any internal component children.
UIFTETextField
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
 Inheritedrestrict : String
This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
 Inheritedroot : DisplayObject
[read-only] For a display object in a loaded SWF file, the root property is the top-most display object in the portion of the display list's tree structure represented by that SWF file.
DisplayObject
 Inheritedrotation : Number
Indicates the rotation of the DisplayObject instance, in degrees, from its original orientation.
DisplayObject
 InheritedrotationX : Number
Indicates the x-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container.
DisplayObject
 InheritedrotationY : Number
Indicates the y-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container.
DisplayObject
 InheritedrotationZ : Number
Indicates the z-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container.
DisplayObject
 Inheritedscale9Grid : Rectangle
The current scaling grid that is in effect.
DisplayObject
 InheritedscaleX : Number
Indicates the horizontal scale (percentage) of the object as applied from the registration point.
DisplayObject
 InheritedscaleY : Number
Indicates the vertical scale (percentage) of an object as applied from the registration point of the object.
DisplayObject
 InheritedscaleZ : Number
Indicates the depth scale (percentage) of an object as applied from the registration point of the object.
DisplayObject
 InheritedscrollH : int
This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
 InheritedscrollRect : Rectangle
The scroll rectangle bounds of the display object.
DisplayObject
 InheritedscrollV : int
This property has not been implemented in FTETextField because FTETextField does not support scrolling.
FTETextField
 Inheritedselectable : Boolean
Setting this property has no effect in FTETextField because FTETextField does not support selection.
FTETextField
 InheritedselectionBeginIndex : int
[read-only] This property has not been implemented in FTETextField because FTETextField does not support selection.
FTETextField
 InheritedselectionEndIndex : int
[read-only] This property has not been implemented in FTETextField because FTETextField does not support selection.
FTETextField
 Inheritedsharpness : Number
This property has no effect in FTETextField.
FTETextField
 InheritedsoundTransform : flash.media:SoundTransform
Controls sound within this sprite.
Sprite
 Inheritedstage : Stage
[read-only] The Stage of the display object.
DisplayObject
  styleDeclaration : CSSStyleDeclaration
Storage for the inline inheriting styles on this object.
FTEAdvancedDataGridItemRenderer
 InheritedstyleName : Object
The class style used by this component.
UIFTETextField
 InheritedstyleSheet : StyleSheet
Attaches a style sheet to the text field.
FTETextField
 InheritedsystemManager : ISystemManager
Returns the SystemManager object used by this component.
UIFTETextField
 InheritedtabChildren : Boolean
Determines whether the children of the object are tab enabled.
DisplayObjectContainer
 InheritedtabEnabled : Boolean
Specifies whether this object is in the tab order.
InteractiveObject
 InheritedtabIndex : int
Specifies the tab ordering of objects in a SWF file.
InteractiveObject
 Inheritedtext : String
A string that is the current text in the text field.
FTETextField
 InheritedtextColor : uint
The color of the text in a text field, in hexadecimal format.
FTETextField
 InheritedtextHeight : Number
[read-only] The height of the text in pixels.
FTETextField
 InheritedtextSnapshot : flash.text:TextSnapshot
[read-only] Returns a TextSnapshot object for this DisplayObjectContainer instance.
DisplayObjectContainer
 InheritedtextWidth : Number
[read-only] The width of the text in pixels.
FTETextField
 Inheritedthickness : Number
This property has no effect in FTETextField because FTE uses a newer font renderer than TextField.
FTETextField
 InheritedtoolTip : String
Text to display in the ToolTip.
UIFTETextField
 Inheritedtransform : flash.geom:Transform
An object with properties pertaining to a display object's matrix, color transform, and pixel bounds.
DisplayObject
 InheritedtweeningProperties : Array
Array of properties that are currently being tweened on this object.
UIFTETextField
 Inheritedtype : String
The type of the text field.
FTETextField
 InheritedupdateCompletePendingFlag : Boolean
A flag that determines if an object has been through all three phases of layout validation (provided that any were required)
UIFTETextField
 InheriteduseHandCursor : Boolean
A Boolean value that indicates whether the pointing hand (hand cursor) appears when the mouse rolls over a sprite in which the buttonMode property is set to true.
Sprite
 InheriteduseRichTextClipboard : Boolean
This property is not implemented in FTETextField because FTETextField does not support selection or clipboard operations.
FTETextField
 Inheritedvisible : Boolean
Whether or not the display object is visible.
DisplayObject
 Inheritedwidth : Number
Indicates the width of the display object, in pixels.
DisplayObject
 InheritedwordWrap : Boolean
A Boolean value that indicates whether the text field has word wrap.
FTETextField
 Inheritedx : Number
Indicates the x coordinate of the DisplayObject instance relative to the local coordinates of the parent DisplayObjectContainer.
DisplayObject
 Inheritedy : Number
Indicates the y coordinate of the DisplayObject instance relative to the local coordinates of the parent DisplayObjectContainer.
DisplayObject
 Inheritedz : Number
Indicates the z coordinate position along the z-axis of the DisplayObject instance relative to the 3D parent container.
DisplayObject
Public Methods
 MethodDefined By
  
Constructor.
FTEAdvancedDataGridItemRenderer
 Inherited
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
DisplayObjectContainer
 Inherited
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
DisplayObjectContainer
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
 Inherited
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
Indicates whether the security restrictions would cause any display objects to be omitted from the list returned by calling the DisplayObjectContainer.getObjectsUnderPoint() method with the specified point point.
DisplayObjectContainer
  
Deletes a style property from this component instance.
FTEAdvancedDataGridItemRenderer
 Inherited
Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself.
DisplayObjectContainer
 Inherited
Dispatches an event into the event flow.
EventDispatcher
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
Returns a rectangle that defines the area of the display object relative to the coordinate system of the targetCoordinateSpace object.
DisplayObject
 Inherited
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
Returns the child display object instance that exists at the specified index.
DisplayObjectContainer
 Inherited
Returns the child display object that exists with the specified name.
DisplayObjectContainer
 Inherited
Returns the index position of a child DisplayObject instance.
DisplayObjectContainer
  
Finds the type selectors for this UIComponent instance.
FTEAdvancedDataGridItemRenderer
 Inherited
A convenience method for determining whether to use the explicit or measured height
UIFTETextField
 Inherited
A convenience method for determining whether to use the explicit or measured width
UIFTETextField
 Inherited
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
getLineLength(lineIndex:int):int
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
Returns metrics information about a given text line.
FTETextField
 Inherited
getLineOffset(lineIndex:int):int
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
Returns an array of objects that lie under the specified point and are children (or grandchildren, and so on) of this DisplayObjectContainer instance.
DisplayObjectContainer
 Inherited
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
getRect(targetCoordinateSpace:DisplayObject):Rectangle
Returns a rectangle that defines the boundary of the display object, based on the coordinate system defined by the targetCoordinateSpace parameter, excluding any strokes on shapes.
DisplayObject
  
getStyle(styleProp:String):*
[override] Gets a style property that has been set anywhere in this component's style lookup chain.
FTEAdvancedDataGridItemRenderer
 Inherited
getTextFormat(beginIndex:int = -1, endIndex:int = -1):flash.text:TextFormat
This method has been implemented in FTETextField to simply return a copy of the defaultTextFormat, because FTETextField does not support formatting a range.
FTETextField
 Inherited
Returns the TextFormat object that represents character formatting information for this UITextField object.
UIFTETextField
 Inherited
Returns a UITextFormat object that contains formatting information for this component.
UIFTETextField
 Inherited
Converts the point object from the Stage (global) coordinates to the display object's (local) coordinates.
DisplayObject
 Inherited
Converts a two-dimensional point from the Stage (global) coordinates to a three-dimensional display object's (local) coordinates.
DisplayObject
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Evaluates the bounding box of the display object to see if it overlaps or intersects with the bounding box of the obj display object.
DisplayObject
 Inherited
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
Evaluates the display object to see if it overlaps or intersects with the point specified by the x and y parameters.
DisplayObject
 Inherited
Initializes this component.
UIFTETextField
  
Sets up the inheritingStyles and nonInheritingStyles objects and their proto chains so that the getStyle() method can work.
FTEAdvancedDataGridItemRenderer
 Inherited
Marks a component so that its updateDisplayList() method gets called during a later screen update.
UIFTETextField
 Inherited
Marks a component so that its commitProperties() method gets called during a later screen update.
UIFTETextField
 Inherited
Marks a component so that its measure() method gets called during a later screen update.
UIFTETextField
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Converts a three-dimensional point of the three-dimensional display object's (local) coordinates to a two-dimensional point in the Stage (global) coordinates.
DisplayObject
 Inherited
Converts the point object from the display object's (local) coordinates to the Stage (global) coordinates.
DisplayObject
 Inherited
Moves the component to a specified position within its parent.
UIFTETextField
  
Propagates style changes to the children.
FTEAdvancedDataGridItemRenderer
 Inherited
Returns true if the child is parented or owned by this object.
UIFTETextField
 Inherited
This function is called when a UITextField object is assigned a parent.
UIFTETextField
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
  
Builds or rebuilds the CSS style cache for this component and, if the recursive parameter is true, for all descendants of this component as well.
FTEAdvancedDataGridItemRenderer
  
For each effect event, registers the EffectManager as one of the event listeners.
FTEAdvancedDataGridItemRenderer
 Inherited
Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
DisplayObjectContainer
 Inherited
Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer.
DisplayObjectContainer
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
 Inherited
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
replaceText(beginIndex:int, endIndex:int, newText:String):void
This method has not been implemented in FTETextField because very few components use it in TextField.
FTETextField
 Inherited
Replays the specified event.
UIFTETextField
 Inherited
Sizes the object.
UIFTETextField
 Inherited
Changes the position of an existing child in the display object container.
DisplayObjectContainer
 Inherited
Sets the font color of the text.
UIFTETextField
 Inherited
Sets the focus to this component.
UIFTETextField
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
setSelection(beginIndex:int, endIndex:int):void
This method has not been implemented in FTETextField because FTETextField does not support selection.
FTETextField
  
setStyle(styleProp:String, newValue:*):void
[override] Sets a style property on this component instance.
FTEAdvancedDataGridItemRenderer
 Inherited
setTextFormat(format:flash.text:TextFormat, beginIndex:int = -1, endIndex:int = -1):void
This method has no effect on a FTETextField if beginIndex or endIndex does not equal -1 because FTETextField does not support formatting a range.
FTETextField
 Inherited
setVisible(visible:Boolean, noEvent:Boolean = false):void
Sets the visible property of this UITextField object.
UIFTETextField
 Inherited
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
Lets the user drag the specified sprite.
Sprite
 Inherited
Ends the startDrag() method.
Sprite
 Inherited
Detects changes to style properties.
UIFTETextField
 Inherited
Swaps the z-order (front-to-back order) of the two specified child objects.
DisplayObjectContainer
 Inherited
swapChildrenAt(index1:int, index2:int):void
Swaps the z-order (front-to-back order) of the child objects at the two specified index positions in the child list.
DisplayObjectContainer
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
truncateToFit(truncationIndicator:String = null):Boolean
Truncate text to make it fit horizontally in the area defined for the control, and append an ellipsis, three periods (...), to the text.
UIFTETextField
  
If Flex calls LayoutManager.invalidateDisplayList() method on this ILayoutManagerClient instance, this function is called when it's time to update the display list.
FTEAdvancedDataGridItemRenderer
 Inherited
Validate and update the properties and layout of this object and redraw it, if necessary.
UIFTETextField
  
If Flex calls the LayoutManager.invalidateProperties() method on this ILayoutManagerClient, this function is called when it's time to commit property values.
FTEAdvancedDataGridItemRenderer
  
validateSize(recursive:Boolean = false):void
If Flex calls the LayoutManager.invalidateSize() method on this ILayoutManagerClient, this function is called when it's time to do measurements.
FTEAdvancedDataGridItemRenderer
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Protected Methods
 MethodDefined By
  
The event handler to position the tooltip.
FTEAdvancedDataGridItemRenderer
Events
 Event Summary Defined By
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active.EventDispatcher
 InheritedDispatched when a display object is added to the display list.DisplayObject
 InheritedDispatched when a display object is added to the on stage display list, either directly or through the addition of a sub tree in which the display object is contained.DisplayObject
 InheritedDispatched when the user selects 'Clear' (or 'Delete') from the text context menu.InteractiveObject
 InheritedDispatched when a user presses and releases the main button of the user's pointing device over the same InteractiveObject.InteractiveObject
 InheritedDispatched when a user gesture triggers the context menu associated with this interactive object in an AIR application.InteractiveObject
 InheritedDispatched when the user activates the platform specific accelerator key combination for a copy operation or selects 'Copy' from the text context menu.InteractiveObject
 InheritedDispatched when the user activates the platform specific accelerator key combination for a cut operation or selects 'Cut' from the text context menu.InteractiveObject
  Dispatched when the data property changes.FTEAdvancedDataGridItemRenderer
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive.EventDispatcher
 InheritedDispatched when a user presses and releases the main button of a pointing device twice in rapid succession over the same InteractiveObject when that object's doubleClickEnabled flag is set to true.InteractiveObject
 Inherited[broadcast event] Dispatched when the playhead is entering a new frame.DisplayObject
 Inherited[broadcast event] Dispatched when the playhead is exiting the current frame.DisplayObject
 InheritedDispatched after a display object gains focus.InteractiveObject
 InheritedDispatched after a display object loses focus.InteractiveObject
 Inherited[broadcast event] Dispatched after the constructors of frame display objects have run but before frame scripts have run.DisplayObject
 InheritedDispatched when the user presses a key.InteractiveObject
 InheritedDispatched when the user attempts to change focus by using keyboard navigation.InteractiveObject
 InheritedDispatched when the user releases a key.InteractiveObject
 InheritedDispatched when a user presses and releases the middle button of the user's pointing device over the same InteractiveObject.InteractiveObject
 InheritedDispatched when a user presses the middle pointing device button over an InteractiveObject instance.InteractiveObject
 InheritedDispatched when a user releases the pointing device button over an InteractiveObject instance.InteractiveObject
 InheritedDispatched when a user presses the pointing device button over an InteractiveObject instance.InteractiveObject
 InheritedDispatched when the user attempts to change focus by using a pointer device.InteractiveObject
 InheritedDispatched when a user moves the pointing device while it is over an InteractiveObject.InteractiveObject
 InheritedDispatched when the user moves a pointing device away from an InteractiveObject instance.InteractiveObject
 InheritedDispatched when the user moves a pointing device over an InteractiveObject instance.InteractiveObject
 InheritedDispatched when a user releases the pointing device button over an InteractiveObject instance.InteractiveObject
 InheritedDispatched when a mouse wheel is spun over an InteractiveObject instance.InteractiveObject
 InheritedDispatched by the drag initiator InteractiveObject when the user releases the drag gesture.InteractiveObject
 InheritedDispatched by the target InteractiveObject when a dragged object is dropped on it and the drop has been accepted with a call to DragManager.acceptDragDrop().InteractiveObject
 InheritedDispatched by an InteractiveObject when a drag gesture enters its boundary.InteractiveObject
 InheritedDispatched by an InteractiveObject when a drag gesture leaves its boundary.InteractiveObject
 InheritedDispatched by an InteractiveObject continually while a drag gesture remains within its boundary.InteractiveObject
 InheritedDispatched at the beginning of a drag operation by the InteractiveObject that is specified as the drag initiator in the DragManager.doDrag() call.InteractiveObject
 InheritedDispatched during a drag operation by the InteractiveObject that is specified as the drag initiator in the DragManager.doDrag() call.InteractiveObject
 InheritedDispatched when the user activates the platform specific accelerator key combination for a paste operation or selects 'Paste' from the text context menu.InteractiveObject
 InheritedDispatched when a display object is about to be removed from the display list.DisplayObject
 InheritedDispatched when a display object is about to be removed from the display list, either directly or through the removal of a sub tree in which the display object is contained.DisplayObject
 Inherited[broadcast event] Dispatched when the display list is about to be updated and rendered.DisplayObject
 InheritedDispatched when a user presses and releases the right button of the user's pointing device over the same InteractiveObject.InteractiveObject
 InheritedDispatched when a user presses the pointing device button over an InteractiveObject instance.InteractiveObject
 InheritedDispatched when a user releases the pointing device button over an InteractiveObject instance.InteractiveObject
 InheritedDispatched when the user moves a pointing device away from an InteractiveObject instance.InteractiveObject
 InheritedDispatched when the user moves a pointing device over an InteractiveObject instance.InteractiveObject
 InheritedDispatched when the user activates the platform specific accelerator key combination for a select all operation or selects 'Select All' from the text context menu.InteractiveObject
 InheritedDispatched when the value of the object's tabChildren flag changes.InteractiveObject
 InheritedDispatched when the object's tabEnabled flag changes.InteractiveObject
 InheritedDispatched when the value of the object's tabIndex property changes.InteractiveObject
 InheritedDispatched when a user enters one or more characters of text.InteractiveObject
Property Detail

data

property
data:Object

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

The implementation of the data property as defined by the IDataRenderer interface. The value is ignored. Only the listData property is used.

This property can be used as the source for data binding. When this property is modified, it dispatches the dataChange event.



Implementation
    public function get data():Object
    public function set data(value:Object):void

See also

listData

property 
listData:BaseListData

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

The implementation of the listData property as defined by the IDropInListItemRenderer interface. The text of the renderer is set to the label property of this property.

This property can be used as the source for data binding. When this property is modified, it dispatches the dataChange event.



Implementation
    public function get listData():BaseListData
    public function set listData(value:BaseListData):void

See also

styleDeclaration

property 
styleDeclaration:CSSStyleDeclaration

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

Storage for the inline inheriting styles on this object. This CSSStyleDeclaration is created the first time that the setStyle() method is called on this component to set an inheriting style.



Implementation
    public function get styleDeclaration():CSSStyleDeclaration
    public function set styleDeclaration(value:CSSStyleDeclaration):void
Constructor Detail

FTEAdvancedDataGridItemRenderer

()Constructor
public function FTEAdvancedDataGridItemRenderer()

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

Constructor.

Method Detail

clearStyle

()method
public function clearStyle(styleProp:String):void

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

Deletes a style property from this component instance.

This does not necessarily cause the getStyle() method to return undefined.

Parameters

styleProp:String — The name of the style property.

getClassStyleDeclarations

()method 
public function getClassStyleDeclarations():Array

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

Finds the type selectors for this UIComponent instance. The algorithm walks up the superclass chain. For example, suppose that class MyButton extends Button. A MyButton instance first looks for a MyButton type selector then, it looks for a Button type selector. then, it looks for a UIComponent type selector. (The superclass chain is considered to stop at UIComponent, not Object.)

Returns
Array — An Array of type selectors for this UIComponent instance.

getStyle

()method 
override public function getStyle(styleProp:String):*

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

Gets a style property that has been set anywhere in this component's style lookup chain.

This same method is used to get any kind of style property, so the value returned can be a Boolean, String, Number, int, uint (for an RGB color), Class (for a skin), or any kind of object. Therefore the return type is simply specified as *.

If you are getting a particular style property, you know its type and often want to store the result in a variable of that type. No casting from * to that type is necessary.

var backgroundColor:uint = getStyle("backgroundColor");

If the style property has not been set anywhere in the style lookup chain, the value returned by getStyle() is undefined. Note that undefined is a special value that is not the same as false, "", NaN, 0, or null. No valid style value is ever undefined. You can use the method IStyleManager2.isValidStyleValue() to test whether the value was set.

Parameters

styleProp:String — Name of the style property.

Returns
* — Style value.

initProtoChain

()method 
public function initProtoChain():void

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

Sets up the inheritingStyles and nonInheritingStyles objects and their proto chains so that the getStyle() method can work.

notifyStyleChangeInChildren

()method 
public function notifyStyleChangeInChildren(styleProp:String, recursive:Boolean):void

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

Propagates style changes to the children. You typically never need to call this method.

Parameters

styleProp:String — String specifying the name of the style property.
 
recursive:Boolean — Recursivly notify all children of this component.

regenerateStyleCache

()method 
public function regenerateStyleCache(recursive:Boolean):void

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

Builds or rebuilds the CSS style cache for this component and, if the recursive parameter is true, for all descendants of this component as well.

The Flex framework calls this method in the following situations:

  • When you add a UIComponent to a parent using the addChild() or addChildAt() methods.
  • When you change the styleName property of a UIComponent.
  • When you set a style in a CSS selector using the setStyle() method of CSSStyleDeclaration.

Building the style cache is a computation-intensive operation, so avoid changing styleName or setting selector styles unnecessarily.

This method is not called when you set an instance style by calling the setStyle() method of UIComponent. Setting an instance style is a relatively fast operation compared with setting a selector style.

You do not need to call or override this method.

Parameters

recursive:Boolean — Recursively regenerates the style cache for all children of this component.

registerEffects

()method 
public function registerEffects(effects:Array):void

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

For each effect event, registers the EffectManager as one of the event listeners. You typically never need to call this method.

Parameters

effects:Array — The names of the effect events.

setStyle

()method 
override public function setStyle(styleProp:String, newValue:*):void

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

Sets a style property on this component instance.

This can override a style that was set globally.

Calling the setStyle() method can result in decreased performance. Use it only when necessary.

Parameters

styleProp:String — Name of the style property.
 
newValue:* — New value for the style.

toolTipShowHandler

()method 
protected function toolTipShowHandler(event:mx.events:ToolTipEvent):void

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

The event handler to position the tooltip.

Parameters

event:mx.events:ToolTipEvent — The event object.

validateDisplayList

()method 
public function validateDisplayList():void

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

If Flex calls LayoutManager.invalidateDisplayList() method on this ILayoutManagerClient instance, this function is called when it's time to update the display list.

validateProperties

()method 
public function validateProperties():void

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

If Flex calls the LayoutManager.invalidateProperties() method on this ILayoutManagerClient, this function is called when it's time to commit property values.

validateSize

()method 
public function validateSize(recursive:Boolean = false):void

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

If Flex calls the LayoutManager.invalidateSize() method on this ILayoutManagerClient, this function is called when it's time to do measurements.

Parameters

recursive:Boolean (default = false) — If true, call this method on the object's children.

Event Detail

dataChange

Event
Event Object Type: mx.events.FlexEvent
property FlexEvent.type = mx.events.FlexEvent.DATA_CHANGE

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

Dispatched when the data property changes.

When you use a component as an item renderer, the data property contains the data to display. You can listen for this event and update the component when the data property changes.

The FlexEvent.DATA_CHANGE constant defines the value of the type property of the event object for a dataChange event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.