Packageorg.apache.flex.html.beads
Classpublic class TitleBarView
InheritanceTitleBarView Inheritance MXMLBeadView Inheritance ContainerView Inheritance BeadViewBase Inheritance EventDispatcher Inheritance flash.events.EventDispatcher
Implements mx.binding.IBindingClient

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The TitleBarView is the view for a Panel's TitleBar written in MXML

Default MXML PropertymxmlContent



Public Properties
 PropertyDefined By
 Inheritedbeads : Array
The array property that is used to add additional beads to an MXML tag.
MXMLBeadView
  closeButton : CloseButton
TitleBarView
 InheritedcontentView : IParentIUIBase
[read-only] The sub-element used as the parent of the container's elements.
ContainerView
 InheritedcurrentState : String
The name of the current state.
MXMLBeadView
 Inheritedhost : IUIBase
[read-only] The host component.
BeadViewBase
 Inheritedmodel : Object
[read-only] The model object.
MXMLBeadView
 InheritedmxmlContent : Array
The default property.
MXMLBeadView
 InheritedMXMLDescriptor : Array
[read-only] An array of data that describes the MXML attributes and tags in an MXML document.
MXMLBeadView
 InheritedresizableView : IUIBase
[read-only] The view that can be resized.
ContainerView
 Inheritedstates : Array
The array of view states.
MXMLBeadView
 Inheritedstrand : IStrand
[override] [write-only] An MXMLBeadView doesn't create its children until it is added to the strand.
MXMLBeadView
 Inherited_strand : IStrand
The strand.
BeadViewBase
  titleLabel : Label
TitleBarView
 Inheritedtransitions : Array
The array of transitions.
MXMLBeadView
 InheritedviewportModel : IViewportModel
[read-only] The data model used by the viewport to determine how it should present the content area.
ContainerView
Protected Properties
 PropertyDefined By
 Inheritedviewport : IViewport
[read-only] The viewport used to present the content and may display scroll bars (depending on the actual type of viewport).
ContainerView
Public Methods
 MethodDefined By
  
Constructor.
TitleBarView
 Inherited
addBead(bead:IBead):void
Add a bead to the strand.
MXMLBeadView
 Inherited
generateMXMLAttributes(data:Array):void
An method called by the compiler's generated code to kick off the setting of MXML attribute values and instantiation of child tags.
MXMLBeadView
 Inherited
getBeadByType(classOrInterface:Class):IBead
Find a bead on the strand.
MXMLBeadView
 Inherited
hasState(state:String):Boolean
true if the array of states contains a state with this name.
MXMLBeadView
 Inherited
Remove a bead from the strand.
MXMLBeadView
Protected Methods
 MethodDefined By
 Inherited
Whenever children are added, listeners are added to detect changes in their size.
ContainerView
 Inherited
This event handles changes to the size of children of the container by running the layout again and adjusting the size of the container or viewport as necessary.
ContainerView
 Inherited
Called when the host is ready to complete its setup (usually after its size has been determined).
ContainerView
 Inherited
Creates the Viewport (or ScrollableViewport) through which the content area is presented.
ContainerView
 Inherited
ContainerView
 Inherited
Calculate the space taken up by non-content children like a TItleBar in a Panel.
ContainerView
 Inherited
Handles the initComplete event by completing the setup and kicking off the presentation of the Container.
ContainerView
 Inherited
Adjusts the size of the host, or adds scrollbars to the viewport, after the layout has been run.
ContainerView
 Inherited
Positions the viewport, then sets any known sizes of the Viewport prior to laying out its content.
ContainerView
 Inherited
performLayout(event:Event):void
Executes the layout associated with this container.
ContainerView
 Inherited
resizeHandler(event:Event):void
Handles dynamic changes to the host's size by running the layout once the viewport has been adjusted.
ContainerView
 Inherited
Handles the viewCreated event by performing the first layout if there are children already present (ie, from MXML).
ContainerView
Property Detail
closeButtonproperty
public var closeButton:CloseButton

This property can be used as the source for data binding.

titleLabelproperty 
public var titleLabel:Label

This property can be used as the source for data binding.

Constructor Detail
TitleBarView()Constructor
public function TitleBarView()

Constructor.