Package | mx.controls.menuClasses |
Interface | public interface IMenuBarItemRenderer extends IDataRenderer , IUIComponent , ISimpleStyleClient , IListItemRenderer , IEventDispatcher , IFlexDisplayObject , ILayoutManagerClient , IFlexDisplayObject , IBitmapDrawable |
Implementors | MenuBarItem |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
menuBar
,
menuBarItemIndex
, and menuBarItemState
properties.
Related API Elements
Public Properties
Property | Defined By | ||
---|---|---|---|
accessibilityProperties : AccessibilityProperties
The current accessibility options for this display object. | IFlexDisplayObject | ||
alpha : Number
Indicates the alpha transparency value of the object specified. | IFlexDisplayObject | ||
baselinePosition : Number [read-only]
The y-coordinate of the baseline
of the first line of text of the component. | IUIComponent | ||
blendMode : String
A value from the BlendMode class that specifies which blend mode to use. | IFlexDisplayObject | ||
cacheAsBitmap : Boolean
If set to true, Flash runtimes cache an internal bitmap representation of the
display object. | IFlexDisplayObject | ||
data : Object
The data to render or edit. | IDataRenderer | ||
document : Object
A reference to the document object associated with this component. | IUIComponent | ||
enabled : Boolean
Whether the component can accept user interaction. | IUIComponent | ||
explicitHeight : Number
The explicitly specified height for the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMaxHeight : Number [read-only]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMaxWidth : Number [read-only]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMinHeight : Number [read-only]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMinWidth : Number [read-only]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitWidth : Number
The explicitly specified width for the component,
in pixels, as the component's coordinates. | IUIComponent | ||
filters : Array
An indexed array that contains each filter object currently associated with the display object. | IFlexDisplayObject | ||
focusPane : Sprite
A single Sprite object that is shared among components
and used as an overlay for drawing the focus indicator. | IUIComponent | ||
height : Number
Indicates the height of the display object, in pixels. | IFlexDisplayObject | ||
includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container. | IUIComponent | ||
initialized : Boolean
A flag that determines if an object has been through all three phases
of layout validation (provided that any were required)
This flag should only be modified by the LayoutManager. | ILayoutManagerClient | ||
isPopUp : Boolean
Set to true by the PopUpManager to indicate
that component has been popped up. | IUIComponent | ||
loaderInfo : LoaderInfo [read-only]
Returns a LoaderInfo object containing information about loading the file
to which this display object belongs. | IFlexDisplayObject | ||
mask : DisplayObject
The calling display object is masked by the specified mask object. | IFlexDisplayObject | ||
maxHeight : Number [read-only]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
maxWidth : Number [read-only]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
measuredHeight : Number [read-only]
The measured height of this object. | IFlexDisplayObject | ||
measuredMinHeight : Number
The default minimum height of the component, in pixels. | IUIComponent | ||
measuredMinWidth : Number
The default minimum width of the component, in pixels. | IUIComponent | ||
measuredWidth : Number [read-only]
The measured width of this object. | IFlexDisplayObject | ||
menuBar : MenuBar
Contains a reference to the item renderer's MenuBar control. | IMenuBarItemRenderer | ||
menuBarItemIndex : int
Contains the index of this item renderer relative to
other item renderers in the MenuBar control. | IMenuBarItemRenderer | ||
menuBarItemState : String
Contains the current state of this item renderer. | IMenuBarItemRenderer | ||
minHeight : Number [read-only]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
minWidth : Number [read-only]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
mouseX : Number [read-only]
Indicates the x coordinate of the mouse or user input device position, in pixels. | IFlexDisplayObject | ||
mouseY : Number [read-only]
Indicates the y coordinate of the mouse or user input device position, in pixels. | IFlexDisplayObject | ||
name : String
Indicates the instance name of the DisplayObject. | IFlexDisplayObject | ||
nestLevel : int
The top-level SystemManager has a nestLevel of 1. | ILayoutManagerClient | ||
opaqueBackground : Object
Specifies whether the display object is opaque with a certain background color. | IFlexDisplayObject | ||
owner : DisplayObjectContainer
The owner of this IVisualElement object. | IUIComponent | ||
parent : DisplayObjectContainer [read-only]
Indicates the DisplayObjectContainer object that contains this display object. | IFlexDisplayObject | ||
percentHeight : Number
Number that specifies the height of a component as a
percentage of its parent's size. | IUIComponent | ||
percentWidth : Number
Number that specifies the width of a component as a
percentage of its parent's size. | IUIComponent | ||
processedDescriptors : Boolean
Set to true after immediate or deferred child creation,
depending on which one happens. | ILayoutManagerClient | ||
root : 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. | IFlexDisplayObject | ||
rotation : Number
Indicates the rotation of the DisplayObject instance, in degrees, from its original orientation. | IFlexDisplayObject | ||
scale9Grid : Rectangle
The current scaling grid that is in effect. | IFlexDisplayObject | ||
scaleX : Number
Indicates the horizontal scale (percentage) of the object as applied from the registration point. | IFlexDisplayObject | ||
scaleY : Number
Indicates the vertical scale (percentage) of an object as applied from the registration point of the object. | IFlexDisplayObject | ||
scrollRect : Rectangle
The scroll rectangle bounds of the display object. | IFlexDisplayObject | ||
stage : Stage [read-only]
The Stage of the display object. | IFlexDisplayObject | ||
styleName : Object
The source of this object's style values. | ISimpleStyleClient | ||
systemManager : ISystemManager
A reference to the SystemManager object for this component. | IUIComponent | ||
transform : flash.geom:Transform
An object with properties pertaining to a display object's matrix, color transform, and pixel bounds. | IFlexDisplayObject | ||
tweeningProperties : Array
Used by EffectManager. | IUIComponent | ||
updateCompletePendingFlag : Boolean
A flag that determines if an object is waiting to have its
updateComplete event dispatched. | ILayoutManagerClient | ||
visible : Boolean
Whether or not the display object is visible. | IFlexDisplayObject | ||
width : Number
Indicates the width of the display object, in pixels. | IFlexDisplayObject | ||
x : Number
Indicates the x coordinate of the DisplayObject instance relative to the local coordinates of
the parent DisplayObjectContainer. | IFlexDisplayObject | ||
y : Number
Indicates the y coordinate of the DisplayObject instance relative to the local coordinates of
the parent DisplayObjectContainer. | IFlexDisplayObject |
Public Methods
Property Detail
menuBar | property |
menuBarItemIndex | property |
menuBarItemIndex:int
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Contains the index of this item renderer relative to other item renderers in the MenuBar control. The index of the first item renderer, the left most renderer, is 0 and increases by 1 as you move to the right in the MenuBar control.
Implementation
public function get menuBarItemIndex():int
public function set menuBarItemIndex(value:int):void
menuBarItemState | property |
menuBarItemState:String
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Contains the current state of this item renderer.
The possible values are "itemUpSkin"
,
"itemDownSkin"
, and "itemOverSkin"
.
Implementation
public function get menuBarItemState():String
public function set menuBarItemState(value:String):void
Mon Nov 28 2011, 06:48 AM -08:00