Package | com.adobe.portfolio.components |
Class | public class CardTip |
Inheritance | CardTip ![]() ![]() |
Implements | mx.core.IDataRenderer |
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Property | Defined By | ||
---|---|---|---|
cardName : String
The name of the card displayed by the CardTip. | CardTip | ||
cardProvider : ICardProvider
A CardProvider used to obtain information about the thumbnail. | CardTip | ||
data : Object
The index of the card whose thumb should be displayed (formatted as a String). | CardTip | ||
![]() | skinState : String
The current skin state
| NavSkinnableComponent |
Property | Defined By | ||
---|---|---|---|
![]() | autoListen : AutoListen | NavSkinnableComponent | |
![]() | autoWatch : AutoWatch | NavSkinnableComponent | |
pendingCard : ISimpleCard | CardTip |
Method | Defined By | ||
---|---|---|---|
CardTip()
Constructor. | CardTip | ||
![]() | addListenAndWatch():void
Creates autoListen and autoWatch for automatically tracking listeners and watchers. | NavSkinnableComponent | |
![]() | removeListenAndWatch():void
Uses autoListen and autoWatch to remove all listeners and watchers. | NavSkinnableComponent | |
![]() | setCurrentState(stateName:String, playTransition:Boolean = true):void [override]
Sets the current component state and skin state. | NavSkinnableComponent |
Method | Defined By | ||
---|---|---|---|
![]() | addListener(listener:IEventDispatcher, type:String, handler:Function, useCapture:Boolean = false, priority:int = 0):void | NavSkinnableComponent | |
![]() | addWatcher(watcher:ChangeWatcher):void | NavSkinnableComponent | |
attachSkin():void [override] | CardTip | ||
![]() | detachSkin():void [override] | NavSkinnableComponent | |
![]() | getCurrentSkinState():String [override] | NavSkinnableComponent | |
![]() | initStates():void | NavSkinnableComponent | |
partAdded(partName:String, instance:Object):void [override] | CardTip | ||
![]() | partRemoved(partName:String, instance:Object):void [override] | NavSkinnableComponent |
This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.
Skin Part | Description | Defined By | ||
---|---|---|---|---|
card:ISimpleCard | Required: true Part Type: Static A required skin part that is used to display a card thumbnail. | CardTip |
cardName | property |
cardName:String
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The name of the card displayed by the CardTip
.
This property can be used as the source for data binding.
public function get cardName():String
public function set cardName(value:String):void
cardProvider | property |
cardProvider:ICardProvider
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
A CardProvider
used to obtain information about the thumbnail.
This property can be used as the source for data binding.
public function get cardProvider():ICardProvider
public function set cardProvider(value:ICardProvider):void
data | property |
data:Object
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The index of the card whose thumb should be displayed (formatted as a String). The use of Object and String instead of just an int is dictated by the HSlider component.
This property can be used as the source for data binding.
public function get data():Object
public function set data(value:Object):void
pendingCard | property |
protected var pendingCard:ISimpleCard
CardTip | () | Constructor |
public function CardTip()
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Constructor.
attachSkin | () | method |
override protected function attachSkin():void
partAdded | () | method |
override protected function partAdded(partName:String, instance:Object):void
Parameters
partName:String | |
instance:Object |