Package | com.brightcove.api.components |
Class | public class Playhead |
Inheritance | Playhead ![]() ![]() ![]() |
Method | Defined By | ||
---|---|---|---|
Playhead(element:Object)
Constructor. | Playhead | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = true):void [override]
Adds a listener for an event. | UIObject | |
![]() | getAlpha():Number
Returns the alpha value of the component. | Component | |
getAutohideSlider():Boolean
Returns whether the slider will only appear on rollover. | Playhead | ||
![]() | getBlendMode():String
Returns the blend mode of the component. | UIObject | |
![]() |
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 | |
![]() | 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 | |
![]() | 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 | |
getSliderWidth():Number
Returns the pixel width of the playhead slider. | Playhead | ||
![]() | 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 | |
![]() | move(x:Number, y:Number, global:Boolean = false):void
Sets the x,y coordinates of the component. | Component | |
![]() | 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 | |
setAutohideSlider(autohide:Boolean):void
Sets whether the slider should only appear on rollover. | Playhead | ||
![]() | setBlendMode(mode:String):void
Sets the blend mode of the component. | UIObject | |
![]() | setEnabled(enable:Boolean):void
Enables/disables component for events. | UIObject | |
![]() | setIncludeInLayout(includeInLayout:Boolean):void
Sets whether the component is included in layout calculations and rendering in parent layout box. | Component | |
![]() | 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 | |
setSliderWidth(width:Number):void
Sets the pixel width of the playhead slider. | Playhead | ||
![]() | setStyles(styles:String):void
Overrides specific styles for a component by accepting a semicolon-delimited list of style names and colors. | UIObject | |
![]() | setVisible(visible:Boolean):void
Sets whether the component is visible. | Component |
Playhead | () | Constructor |
public function Playhead(element:Object)
Constructor.
Parameterselement:Object — layout element to wrap and delegate all calls to.
|
getAutohideSlider | () | method |
public function getAutohideSlider():Boolean
Returns whether the slider will only appear on rollover.
ReturnsBoolean — True if the slider will only appear on rollover.
|
getSliderWidth | () | method |
public function getSliderWidth():Number
Returns the pixel width of the playhead slider.
ReturnsNumber — The pixel width for the playhead slider.
|
setAutohideSlider | () | method |
public function setAutohideSlider(autohide:Boolean):void
Sets whether the slider should only appear on rollover.
Parameters
autohide:Boolean — if the slider should only appear on rollover.
|
setSliderWidth | () | method |
public function setSliderWidth(width:Number):void
Sets the pixel width of the playhead slider.
Parameters
width:Number — pixel width for the playhead slider.
|