| Package | org.apache.flex.html.beads |
| Class | public class ListView |
| Inheritance | ListView ContainerView BeadViewBase EventDispatcher flash.events.EventDispatcher |
| Implements | IListView |
| Subclasses | ButtonBarView, ChartView, DataGridColumnView |
| Language Version : | ActionScript 3.0 |
| Product Version : | FlexJS 0.0 |
| Runtime Versions : | Flash Player 10.2, AIR 2.6 |
| Property | Defined By | ||
|---|---|---|---|
| border : Border [read-only]
The border surrounding the org.apache.flex.html.List. | ListView | ||
![]() | contentView : IParentIUIBase [read-only]
The sub-element used as the parent of the container's elements. | ContainerView | |
| dataGroup : IItemRendererParent [read-only]
The area holding the itemRenderers. | ListView | ||
![]() | host : IUIBase [read-only]
The host component. | BeadViewBase | |
![]() | resizableView : IUIBase [read-only]
The view that can be resized. | ContainerView | |
| strand : IStrand [override] [write-only]
The host component for this bead. | ListView | ||
![]() | _strand : IStrand
The strand. | BeadViewBase | |
![]() | viewportModel : IViewportModel [read-only]
The data model used by the viewport to determine how it should
present the content area. | ContainerView | |
| Property | Defined By | ||
|---|---|---|---|
| lastRollOverIndex : int = -1 | ListView | ||
| lastSelectedIndex : int = -1 | ListView | ||
| listModel : ISelectionModel | ListView | ||
![]() | viewport : IViewport [read-only]
The viewport used to present the content and may display
scroll bars (depending on the actual type of viewport). | ContainerView | |
| Method | Defined By | ||
|---|---|---|---|
ListView() | ListView | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | childrenChangedHandler(event:Event):void
Whenever children are added, listeners are added to detect changes
in their size. | ContainerView | |
![]() | childResizeHandler(event:Event):void
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 | |
completeSetup():void [override] | ListView | ||
![]() | createViewport():void
Creates the Viewport (or ScrollableViewport) through which the content
area is presented. | ContainerView | |
![]() | displayBackgroundAndBorder(host:UIBase):void | ContainerView | |
![]() |
Calculate the space taken up by non-content children like a TItleBar in a Panel. | ContainerView | |
![]() | initCompleteHandler(event:Event):void
Handles the initComplete event by completing the setup and kicking off the
presentation of the Container. | ContainerView | |
![]() | layoutViewAfterContentLayout():void
Adjusts the size of the host, or adds scrollbars to the viewport, after
the layout has been run. | ContainerView | |
![]() |
Positions the viewport, then sets any known sizes of the Viewport prior
to laying out its content. | ContainerView | |
![]() | performLayout(event:Event):void
Executes the layout associated with this container. | ContainerView | |
resizeHandler(event:Event):void [override]
respond to a change in size or request to re-layout everything
| ListView | ||
![]() | viewCreatedHandler(event:Event):void
Handles the viewCreated event by performing the first layout if
there are children already present (ie, from MXML). | ContainerView | |
| border | property |
border:Border [read-only] | Language Version : | ActionScript 3.0 |
| Product Version : | FlexJS 0.0 |
| Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The border surrounding the org.apache.flex.html.List.
public function get border():Border| dataGroup | property |
dataGroup:IItemRendererParent [read-only] | Language Version : | ActionScript 3.0 |
| Product Version : | FlexJS 0.0 |
| Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The area holding the itemRenderers.
public function get dataGroup():IItemRendererParent| lastRollOverIndex | property |
protected var lastRollOverIndex:int = -1| lastSelectedIndex | property |
protected var lastSelectedIndex:int = -1| listModel | property |
protected var listModel:ISelectionModel| strand | property |
strand:IStrand [write-only] [override] | Language Version : | ActionScript 3.0 |
| Product Version : | FlexJS 0.0 |
| Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The host component for this bead.
public function set strand(value:IStrand):void| ListView | () | Constructor |
public function ListView()| completeSetup | () | method |
override protected function completeSetup():void| resizeHandler | () | method |
override protected function resizeHandler(event:Event):void| Language Version : | ActionScript 3.0 |
| Product Version : | FlexJS 0.0 |
| Runtime Versions : | Flash Player 10.2, AIR 2.6 |
respond to a change in size or request to re-layout everything
Parameters
event:Event |