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

The `<flexlib:DockableToolBar>` tag inherits all the tag attributes of its superclass, and adds the following tag attributes:

      <flexlib:DockableToolBar
        Properties
        draggable="true"
        initialPosition="top"
         Events
        dock="No default"
        float="No default"
      />

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 `ToolBar` is docked.

float | Event |

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

Dispatched when the `ToolBar` is poped up into a floating window.

Mercredi Juillet 4 2012, 09:36 PM +02:00