| Package | com.jwopitz.containers |
| Class | public class Pod |
| Inheritance | Pod mx.containers.Panel |
<jwo_lib:Pod
Styles
headerVerticalAlign="top|middle|bottom"
headerHorizontalGap="2"
>
...
child tags
...
</jwo_lib:Pod>
See also
| Property | Defined by | ||
|---|---|---|---|
| defaultTitleBarComponentClass : Class
The default class to be used when calling
addTitleBarComponent() with no parameter. | Pod | ||
| headerHeight : Number
A convenience method for retrieving the header height.
| Pod | ||
| titleBarChildren : Array
Exposed for declaritive instantiation of title bar assets.
| Pod | ||
| Method | Defined by | ||
|---|---|---|---|
|
addTitleBarComponent(child:UIComponent = null):UIComponent
Adds new children to the title bar area and registers default mouse event handlers.
| Pod | ||
| Method | Defined by | ||
|---|---|---|---|
|
assignTitleBarListeners():void
Assigns default mouse event handlers to the tilte bar area.
| Pod | ||
|
createTitleBarMouseEvent(type:String, targetEvt:MouseEvent):MouseEvent
Clones a target mouse event but allows for the type to be set prior to cloning.
| Pod | ||
|
repositionHeaderElements():void
Repositions the child elements of the header.
| Pod | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when the user clicks on the header area. | Pod | |||
| Dispatched when the user presses the mouse button on the header area. | Pod | |||
| Dispatched when the user moves the mouse over the header area. | Pod | |||
| Dispatched when the user moves the mouse out of the header area. | Pod | |||
| Dispatched when the user clicks on the header area. | Pod | |||
| Dispatched when the user releases the mouse button above the header area. | Pod | |||
| Dispatched when the user rolls out of the header area. | Pod | |||
| Dispatched when the user rolls over the header area. | Pod | |||
| defaultTitleBarComponentClass | property |
public var defaultTitleBarComponentClass:Class
The default class to be used when calling addTitleBarComponent() with no parameter.
| headerHeight | property |
headerHeight:Number [read-write]A convenience method for retrieving the header height.
This property can be used as the source for data binding.
Implementation public function get headerHeight():Number
public function set headerHeight(value:Number):void
| titleBarChildren | property |
public var titleBarChildren:ArrayExposed for declaritive instantiation of title bar assets. For MXML use only.
| addTitleBarComponent | () | method |
public function addTitleBarComponent(child:UIComponent = null):UIComponentAdds new children to the title bar area and registers default mouse event handlers. For most cases, title bar components should be added declaritively via MXML using titleBarChildren which calls this on the creation complete event. If however, assets are needing to be added dynamically at runtime, the developer can add them via this method.
Parameterschild:UIComponent (default = null) — The UIComponent to be added.
|
UIComponent — The UIComponent to be added.
|
See also
| assignTitleBarListeners | () | method |
protected function assignTitleBarListeners():voidAssigns default mouse event handlers to the tilte bar area.
| createTitleBarMouseEvent | () | method |
protected function createTitleBarMouseEvent(type:String, targetEvt:MouseEvent):MouseEventClones a target mouse event but allows for the type to be set prior to cloning. This method should be used only for capturing events fired from the titleBar area which do not originate from any of its children.
Parameterstype:String — The mouseEvent type of the target mouseEvent to be cloned.
|
|
targetEvt:MouseEvent — The mouseEvent to be cloned.
|
MouseEvent — The cloned mouseEvent.
|
| repositionHeaderElements | () | method |
protected function repositionHeaderElements():voidRepositions the child elements of the header.
| gripClick | event |
| gripMouseDown | event |
flash.events.MouseEvent
Dispatched when the user presses the mouse button on the header area.
| gripMouseMove | event |
flash.events.MouseEvent
Dispatched when the user moves the mouse over the header area.
| gripMouseOut | event |
flash.events.MouseEvent
Dispatched when the user moves the mouse out of the header area.
| gripMouseOver | event |
| gripMouseUp | event |
flash.events.MouseEvent
Dispatched when the user releases the mouse button above the header area.
| gripRollOut | event |
| gripRollOver | event |