Package | com.brightcove.api.components |
Class | public class Link |
Inheritance | Link ![]() ![]() ![]() |
Method | Defined By | ||
---|---|---|---|
Link(element:Object)
Constructor. | Link | ||
![]() | 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 | |
getAutoSize():Boolean
Returns whether the button resizes based on its label and icon. | Link | ||
![]() | 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 | |
getFont():String
Returns the name of the font used for the label. | Link | ||
getHAlign():String
Gets the horizontal alignment for the textfield in the label. | Link | ||
![]() | 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 | |
getMultiline():Boolean
Returns whether the button label is set to be multiline. | Link | ||
![]() | 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 | |
getText():String
Gets the text appearing for the link. | Link | ||
getTextSize():Number
Returns the font point size used for the label. | Link | ||
getTooltip():String
Returns the tooltip, if any, applied to the component. | Link | ||
getURL():String
Gets the url for the link. | Link | ||
getVAlign():String
Gets the vertical alignment for the textfield in the label. | Link | ||
![]() | 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 | |
setAutoSize(autoSize:Boolean):void
Sets whether the button should resize based on its label and icon. | Link | ||
![]() | setBlendMode(mode:String):void
Sets the blend mode of the component. | UIObject | |
![]() | setEnabled(enable:Boolean):void
Enables/disables component for events. | UIObject | |
setFont(font:String):void
Sets a font to be used instead of the style format's. | Link | ||
setHAlign(align:String):void
Sets the horizontal alignment for the textfield in the label. | Link | ||
![]() | setIncludeInLayout(includeInLayout:Boolean):void
Sets whether the component is included in layout calculations and rendering in parent layout box. | Component | |
setMultiline(multiline:Boolean):void
Sets whether the button label should display multiline. | Link | ||
![]() | 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 | |
setText(text:String):void
Sets the text appearing for the link. | Link | ||
setTextSize(size:Number):void
Sets a font size to be used instead of the style format's. | Link | ||
setTooltip(toolTip:String):void
Sets the tooltip for the component. | Link | ||
setURL(url:String):void
Sets the url for the link. | Link | ||
setVAlign(align:String):void
Sets the vertical alignment for the textfield in the label. | Link | ||
![]() | setVisible(visible:Boolean):void
Sets whether the component is visible. | Component |
Link | () | Constructor |
public function Link(element:Object)
Constructor.
Parameterselement:Object — layout element to wrap and delegate all calls to.
|
getAutoSize | () | method |
public function getAutoSize():Boolean
Returns whether the button resizes based on its label and icon.
ReturnsBoolean — True if the button resizes based on its label and icon.
|
getFont | () | method |
public function getFont():String
Returns the name of the font used for the label.
ReturnsString — The name of the font used.
|
getHAlign | () | method |
public function getHAlign():String
Gets the horizontal alignment for the textfield in the label.
ReturnsString — The horizontal alignment for the textfield in the label.
|
getMultiline | () | method |
public function getMultiline():Boolean
Returns whether the button label is set to be multiline.
ReturnsBoolean — True if the button label is multiline.
|
getText | () | method |
public function getText():String
Gets the text appearing for the link.
ReturnsString — The text appearing for the link.
|
getTextSize | () | method |
public function getTextSize():Number
Returns the font point size used for the label.
ReturnsNumber — The point size of the font.
|
getTooltip | () | method |
public function getTooltip():String
Returns the tooltip, if any, applied to the component.
ReturnsString — Returns the string tooltip text.
|
getURL | () | method |
public function getURL():String
Gets the url for the link.
ReturnsString — The url the link should navigate to.
|
getVAlign | () | method |
public function getVAlign():String
Gets the vertical alignment for the textfield in the label.
ReturnsString — The vertical alignment for the textfield in the label.
|
setAutoSize | () | method |
public function setAutoSize(autoSize:Boolean):void
Sets whether the button should resize based on its label and icon.
Parameters
autoSize:Boolean — if the button should resize based on its label and icon.
|
setFont | () | method |
public function setFont(font:String):void
Sets a font to be used instead of the style format's.
Parameters
font:String — name of the font to use -- MUST be embedded, if the style format embeds the font.
|
setHAlign | () | method |
public function setHAlign(align:String):void
Sets the horizontal alignment for the textfield in the label.
Parameters
align:String — horizontal alignment for the textfield in the label.
|
setMultiline | () | method |
public function setMultiline(multiline:Boolean):void
Sets whether the button label should display multiline.
Parameters
multiline:Boolean — if the button label should display as multiline.
|
setText | () | method |
public function setText(text:String):void
Sets the text appearing for the link.
Parameters
text:String — text to appear for the link.
|
setTextSize | () | method |
public function setTextSize(size:Number):void
Sets a font size to be used instead of the style format's.
Parameters
size:Number — point size of the font.
|
setTooltip | () | method |
public function setTooltip(toolTip:String):void
Sets the tooltip for the component.
Parameters
toolTip:String — string to use for the tooltip text.
|
setURL | () | method |
public function setURL(url:String):void
Sets the url for the link.
Parameters
url:String — url the link should navigate to.
|
setVAlign | () | method |
public function setVAlign(align:String):void
Sets the vertical alignment for the textfield in the label.
Parameters
align:String — vertical alignment for the textfield in the label.
|