closePolicy:String
[read-write]
A string representing when to show the close button for the tab.
Possible values include: SuperTab.CLOSE_ALWAYS, SuperTab.CLOSE_SELECTED,
SuperTab.CLOSE_ROLLOVER, SuperTab.CLOSE_NEVER
Implementation
public function get closePolicy():String
public function set closePolicy(value:String):void
public var doubleClickToEdit:Boolean = false
Boolean indicating if a double click on the tab will allow the editing of the tab label.
The default value is false.
.
editableLabel:Boolean
[read-write]Implementation
public function get editableLabel():Boolean
public function set editableLabel(value:Boolean):void
enabled:Boolean
[write-only]Implementation
public function set enabled(value:Boolean):void
measuredWidth:Number
[read-only]Implementation
public function get measuredWidth():Number
selected:Boolean
[write-only]Implementation
public function set selected(value:Boolean):void
showIndicator:Boolean
[read-write]
A Boolean to determine whether we should draw the indicator arrow icon.
Implementation
public function get showIndicator():Boolean
public function set showIndicator(value:Boolean):void
public function SuperTab()
Constructor.
protected override function createChildren():void
protected override function measure():void
protected override function rollOutHandler(event:MouseEvent):void
Parameters
protected override function rollOverHandler(event:MouseEvent):void
We keep track of the rolled over state internally so we can set the
closeButton to enabled or disabled depending on the state.
Parameters
public function showIndicatorAt(x:Number):void
Parameters
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Parameters
| unscaledWidth:Number |
|
| unscaledHeight:Number |
Event object type: flexlib.events.SuperTabEvent
Fired when the the label of this tab is updated by the user double clicking and editing the
tab label. Only possible if dougbleClickToEdit is true.
public static const CLOSE_ALWAYS:String = "close_always"
Static variables indicating the policy to show the close button.
CLOSE_ALWAYS means the close button is always shown
CLOSE_SELECTED means the close button is only shown on the currently selected tab
CLOSE_ROLLOVER means the close button is show if the mouse rolls over a tab
CLOSE_NEVER means the close button is never show.
public static const CLOSE_NEVER:String = "close_never"
public static const CLOSE_ROLLOVER:String = "close_rollover"
public static const CLOSE_SELECTED:String = "close_selected"
public static const CLOSE_TAB_EVENT:String = "closeTab"