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

Package | flexlib.scheduling.scheduleClasses.layout
Class | public class AbstractEntryLayout
Inheritance | AbstractEntryLayout Layout flash.events.EventDispatcher
Implements | IEntryLayout
Subclasses | BestFitLayout, SimpleLayout

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | contentHeight : Number | Layout
|  | contentWidth : Number | Layout
|  | dataProvider : IList | AbstractEntryLayout
|  | endDate : Date | Layout
|  | entryLayout : IEntryLayout | Layout
|  | items : IList [read-only] | Layout
|  | rowHeight : Number | AbstractEntryLayout
|  | startDate : Date | Layout
|  | totalMilliseconds : Number [read-only] | Layout
|  | viewportHeight : Number | Layout
|  | viewportWidth : Number | Layout
|  | xPosition : Number [override] | AbstractEntryLayout
|  | yPosition : Number | Layout

Protected Properties
Hide Inherited Protected Properties
Show Inherited Protected Properties

| Property | Defined By
--- | --- | ---
|  | _endDate : Number | Layout
|  | _items : IList | Layout
|  | rows : Array | AbstractEntryLayout
|  | _startDate : Number | Layout

Public Methods

| Method | Defined By
--- | --- | ---
|  | AbstractEntryLayout() | AbstractEntryLayout
|  | addItem(event:CollectionEvent):void | AbstractEntryLayout
|  | createLayout():void | AbstractEntryLayout
|  | deleteRowLocatorItem(entry:IScheduleEntry):RowLocatorItem | AbstractEntryLayout
|  | findLayoutItem(entry:IScheduleEntry):EntryLayoutItem | AbstractEntryLayout
|  | getRowLocatorItem(entry:IScheduleEntry):RowLocatorItem | AbstractEntryLayout
|  | moveItem(event:CollectionEvent):void | AbstractEntryLayout
|  | refreshItem(event:CollectionEvent):void | AbstractEntryLayout
|  | removeItem(event:CollectionEvent):void | AbstractEntryLayout
|  | replaceItem(event:CollectionEvent):void | AbstractEntryLayout
|  | resetItem(event:CollectionEvent):void | AbstractEntryLayout
|  | setRowLocatorItem(item:EntryLayoutItem, rowLocatorItem:RowLocatorItem):void | AbstractEntryLayout
|  | update():void | AbstractEntryLayout
|  | updateItem(event:CollectionEvent):void | AbstractEntryLayout

Protected Methods

| Method | Defined By
--- | --- | ---
|  | isOffScreenLeftRight(entryStart:Number, viewPortEnd:Number):Boolean | AbstractEntryLayout
|  | isTooSmall(width:Number):Boolean | AbstractEntryLayout
|  | saveItemWithRow(item:EntryLayoutItem, row:Number, rowItem:Number):void | AbstractEntryLayout
|  | updateLayouterProperties():void | AbstractEntryLayout

Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | update |  | AbstractEntryLayout

Property Detail

dataProvider | property

`dataProvider:IList`

Implementation
`public function get dataProvider():IList`
`public function set dataProvider(value:IList):void`

rowHeight | property |

`rowHeight:Number`

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

Implementation
`public function get rowHeight():Number`
`public function set rowHeight(value:Number):void`

rows | property |

`protected var rows:Array`

xPosition | property |

`xPosition:Number`[override]

Implementation
`public function get xPosition():Number`
`public function set xPosition(value:Number):void`
Constructor Detail

AbstractEntryLayout | () | Constructor

`public function AbstractEntryLayout()`

Method Detail

addItem | () | method

`public function addItem(event:CollectionEvent):void`

Parameters

| `event:CollectionEvent`

createLayout | () | method |

`public function createLayout():void`

deleteRowLocatorItem | () | method |

`public function deleteRowLocatorItem(entry:IScheduleEntry):RowLocatorItem`

Parameters

| `entry:IScheduleEntry`

Returns

| `RowLocatorItem`

findLayoutItem | () | method |

`public function findLayoutItem(entry:IScheduleEntry):EntryLayoutItem`

Parameters

| `entry:IScheduleEntry`

Returns

| `EntryLayoutItem`

getRowLocatorItem | () | method |

`public function getRowLocatorItem(entry:IScheduleEntry):RowLocatorItem`

Parameters

| `entry:IScheduleEntry`

Returns

| `RowLocatorItem`

isOffScreenLeftRight | () | method |

`protected function isOffScreenLeftRight(entryStart:Number, viewPortEnd:Number):Boolean`

Parameters

| `entryStart:Number`
| `viewPortEnd:Number`

Returns

| `Boolean`

isTooSmall | () | method |

`protected function isTooSmall(width:Number):Boolean`

Parameters

| `width:Number`

Returns

| `Boolean`

moveItem | () | method |

`public function moveItem(event:CollectionEvent):void`

Parameters

| `event:CollectionEvent`

refreshItem | () | method |

`public function refreshItem(event:CollectionEvent):void`

Parameters

| `event:CollectionEvent`

removeItem | () | method |

`public function removeItem(event:CollectionEvent):void`

Parameters

| `event:CollectionEvent`

replaceItem | () | method |

`public function replaceItem(event:CollectionEvent):void`

Parameters

| `event:CollectionEvent`

resetItem | () | method |

`public function resetItem(event:CollectionEvent):void`

Parameters

| `event:CollectionEvent`

saveItemWithRow | () | method |

`protected function saveItemWithRow(item:EntryLayoutItem, row:Number, rowItem:Number):void`

Parameters

| `item:EntryLayoutItem`
| `row:Number`
| `rowItem:Number`

setRowLocatorItem | () | method |

`public function setRowLocatorItem(item:EntryLayoutItem, rowLocatorItem:RowLocatorItem):void`

Parameters

| `item:EntryLayoutItem`
| `rowLocatorItem:RowLocatorItem`

update | () | method |

`public function update():void`

updateItem | () | method |

`public function updateItem(event:CollectionEvent):void`

Parameters

| `event:CollectionEvent`

updateLayouterProperties | () | method |

`protected function updateLayouterProperties():void`

Event Detail

update | Event

Event Object Type: `flexlib.scheduling.scheduleClasses.layout.LayoutUpdateEvent`

Mercredi Juillet 6 2011, 09:45 PM +02:00