Field Summary |
public
| addEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| changeHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| focusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| killFocusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
static
| mergedClipParameters: Boolean |
|
|
|
public
| removeEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| sizeHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| tabFocusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
|
Property Summary |
public
| content: Array (read-only)
|
| An array containing references to the attached movie clip in each tab section.
|
|
public
| maxTabWidth: Number (write)
|
| Sets the maximum width of a tab. Tabs are sized proportionately to the width of the tabpane. i.e. if the width is 200 and there are 5 tabs, each tab will be 40. If adding a new tab would cause the tab width to be less than minimum, the new tab will not be added.
|
|
public
| maxTabWidth: Number (read)
|
| Gets the maximum width of a tab.
|
|
public
| minTabWidth: Number (write)
|
| Sets the minimum width of a tab. Tabs are sized proportionately to the width of the tabpane. i.e. if the width is 200 and there are 5 tabs, each tab will be 40. If adding a new tab would cause the tab width to be less than minimum, the new tab will not be added.
|
|
public
| minTabWidth: Number (read)
|
| Gets the minimum width of a tab.
|
|
public
| selectedIndex: Number (write)
|
| Selects the specified tab.
|
|
public
| selectedIndex: Number (read)
|
| Gets the selected tab number.
|
|
public
| tabAlign: String (write)
|
| Sets the align of the tabs.
|
|
public
| tabAlign: String (read)
|
| Gets the align of the tabs.
|
|
public
| tabHeight: Number (write)
|
| Sets the height of the tab, usually this would be based on the skin you use for the tabs.
|
|
public
| tabHeight: Number (read)
|
| Gets the height of the tab.
|
|
|
|
Constructor |
public
| TabPane (
Void)
|
|
|
|
Method Summary |
public
| addTab (
title: String, contentPath: String, icon: String
): Boolean |
| Adds a new tab to the tabpane. Tabs are sized proportionately to the width of the tabpane. i.e. if the width is 200 and there are 5 tabs, each tab will be 40. If adding a new tab would cause the tab width to be less than minimum, the new tab will not be added.
|
|
public
| addTabAt (
title: String, contentPath: String, index: Number, icon: String
): Boolean |
| Adds a new tab to the tabpane at the specified position. Tabs are sized proportionately to the width of the tabpane. i.e. if the width is 200 and there are 5 tabs, each tab will be 40. If adding a new tab would cause the tab width to be less than minimum, the new tab will not be added.
|
|
public static
| create (
target: MovieClip, id: String, depth: Number, initObj: Object
): TabPane |
| Static method used to create an instance of a TabPane on stage at run time.
|
|
public
| removeAll (
Void
): Void |
| Removes all tabs from the tabpane
|
|
public
| removeTabAt (
index: Number
): Void |
| Removes the tab at the specified index
|
|
public
| setSize (
w: Number, h: Number
): Void |
| Sizes the component to the measurements specified.
|
|
|
|