flexlib :: library Documentation | All Packages | All Classes | Index | Frames No Frames |
DockableToolBar

Package | flexlib.containers
Class | public class DockableToolBar
Inheritance | DockableToolBar FlowContainer mx.core.Container

The DockableToolBar container is used along with the Docker container to add individual ToolBars within a Docker context.

MXML Syntax Show MXML Syntax
Hide MXML Syntax
<p>The <code>&lt;flexlib:DockableToolBar&gt;</code> tag inherits all the tag attributes of its superclass, and adds the following tag attributes:</p> <pre> &lt;flexlib:DockableToolBar <b>Properties</b> draggable="true" initialPosition="top" <b>Events</b> dock="<i>No default</i>" float="<i>No default</i>" /&gt; </pre>

See also

flexlib.containers.Docker

Public Properties

| Property | Defined By
--- | --- | ---
|  | draggable : Boolean = true Flag which indicates whether this ToolBar can be dragged by user. | DockableToolBar
|  | initialPosition : String = top The initial location of the ToolBar. | DockableToolBar
|  | isDocked : Boolean [read-only] Indicates whether the ToolBar is currently docked. | DockableToolBar

Public Methods

| Method | Defined By
--- | --- | ---
|  | DockableToolBar() Constructor. | DockableToolBar

Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | dock | Dispatched when the ToolBar is docked. | DockableToolBar
|  | float | Dispatched when the ToolBar is poped up into a floating window. | DockableToolBar

Styles
Hide Inherited Styles
Show Inherited Styles

| Style | Description | Defined By
--- | --- | --- | ---
|  | dragStripIcon | Type: String CSS Inheritance: no Image to be used for the dragStrip icon. If not specified, the default image is used. | DockableToolBar
|  | horizontalGap | Type: Number Format: Length CSS Inheritance: no Number of pixels between children in the horizontal direction. | FlowContainer
|  | verticalGap | Type: Number Format: Length CSS Inheritance: no Number of pixels between children in the vertical direction. | FlowContainer

Property Detail

draggable | property

`public var draggable:Boolean = true`

Flag which indicates whether this ToolBar can be dragged by user.

initialPosition | property |

`public var initialPosition:String = top`

The initial location of the ToolBar. This can be either "top" or "bottom".

isDocked | property |

`isDocked:Boolean` [read-only]

Indicates whether the ToolBar is currently docked.

Implementation
`public function get isDocked():Boolean`
Constructor Detail

DockableToolBar | () | Constructor

`public function DockableToolBar()`

Constructor.

Event Detail

dock | Event

Event Object Type: `flash.events.Event`
Event.type property = `flash.events.Event`

Dispatched when the <codeph>ToolBar</codeph> is docked.

float | Event |

Event Object Type: `flash.events.Event`
Event.type property = `flash.events.Event`

Dispatched when the <codeph>ToolBar</codeph> is poped up into a floating window.

Dimanche Juin 19 2011, 03:12 PM +02:00