Package | com.brightcove.api.components |
Class | public class MediaControls |
Inheritance | MediaControls ![]() ![]() ![]() ![]() |
Method | Defined By | ||
---|---|---|---|
MediaControls(element:Object)
Constructor. | MediaControls | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = true):void [override]
Adds a listener for an event. | UIObject | |
![]() | appendChild(child:String):Boolean
Adds a new child element to the end of the box children array. | Container | |
![]() | getAlpha():Number
Returns the alpha value of the component. | Component | |
![]() | getBackgroundColor():int
Returns the background color for the box. | Container | |
![]() | getBackgroundImage():String
Returns the background image for the box. | Container | |
![]() | getBlendMode():String
Returns the blend mode of the component. | UIObject | |
![]() | getChildAt(index:uint):Component
Returns the child element from the box children array at the specified index. | Container | |
![]() |
Returns the interface for the layout container of the element. | Component | |
![]() | getCSS():String
Returns the CSS used for this component instance. | UIObject | |
![]() | getDefinition():String
Returns the XML (BEML) definition of the component. | Component | |
![]() | getEnabled():Boolean
Returns whether component is enabled. | UIObject | |
![]() | getGutter():Number
Returns the number of pixels for the buffer between elements in the container. | Container | |
![]() | getHAlign():String
Returns the horizontal alignment (depending of the concrete class) for the box, which determines how child elements are positioned. | Container | |
![]() | getHeight():Number
Returns the pixel height of the component. | Component | |
![]() | getID():String
Returns the ID of the component, as defined in the XML. | Component | |
![]() | getIncludeInLayout():Boolean
Returns whether the component is included in layout calculations and rendering in parent layout box. | Component | |
![]() | getIndex():int
Returns the index of this element in its parent's elements array. | Component | |
![]() | getNextSibling():Object
Returns the interface for the layout element that is the next sibling to this element in the parent containers's element array. | Component | |
![]() | getNodeName():String
Returns the node name of the element. | Component | |
![]() | getNumChildren():uint
Returns the number of children currently in the box. | Container | |
![]() | getPadding():Number
Returns the number of pixels for the border of the container. | Container | |
![]() | getPreviousSibling():Object
Returns the interface for the layout element that is the previous sibling to this element in the parent containers's element array. | Component | |
![]() | getRotation():Number
Returns the rotation of the component. | UIObject | |
![]() | getVAlign():String
Returns the vertical alignment for the box, which determines how child elements are positioned. | Container | |
![]() | getVisible():Boolean
Returns whether the component is visible. | Component | |
![]() | getWidth():Number
Returns the pixel width of the component. | Component | |
![]() | getX(global:Boolean = false):Number
Returns the position of the component on the x axis. | Component | |
![]() | getY(global:Boolean = false):Number
Returns the position of the component on the y axis. | Component | |
![]() | insertChildAt(child:String, index:uint):Boolean
Adds a new child element at the specified position in the box children array. | Container | |
![]() | move(x:Number, y:Number, global:Boolean = false):void
Sets the x,y coordinates of the component. | Component | |
![]() | removeChildAt(index:uint):Boolean
Removes a child element from the box children array at the specified index. | Container | |
![]() | removeChildByID(id:String):Boolean
Removes a child element with the specified ID from the box children array. | Container | |
![]() | removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void [override]
Removes a listener for an event. | UIObject | |
![]() | setAlpha(alpha:Number):void
Sets the alpha value of the component. | Component | |
![]() | setBackgroundColor(color:int):void
Sets the background color for the box. | Container | |
![]() | setBackgroundImage(image:String):void
Sets the background image for the box. | Container | |
![]() | setBlendMode(mode:String):void
Sets the blend mode of the component. | UIObject | |
![]() | setEnabled(enable:Boolean):void
Enables/disables component for events. | UIObject | |
![]() | setGutter(gutter:Number):void
Sets the number of pixels for the buffer between elements in the container. | Container | |
![]() | setHAlign(align:String):void
Sets the horizontal alignment for the box, which determines how child elements are positioned. | Container | |
![]() | setIncludeInLayout(includeInLayout:Boolean):void
Sets whether the component is included in layout calculations and rendering in parent layout box. | Component | |
![]() | setPadding(padding:Number):void
Sets the number of pixels for the border of the container. | Container | |
![]() | setRotation(rotation:Number):void
Sets the rotation of the component. | UIObject | |
![]() | setSize(width:Number, height:Number):void
Sets the pixel dimensions for the wrapped component. | Component | |
![]() | setStyles(styles:String):void
Overrides specific styles for a component by accepting a semicolon-delimited list of style names and colors. | UIObject | |
![]() | setVAlign(align:String):void
Sets the vertical alignment for the box, which determines how child elements are positioned. | Container | |
![]() | setVisible(visible:Boolean):void
Sets whether the component is visible. | Component |