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

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

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
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | addItem(event:CollectionEvent):void [override] | BestFitLayout
|  | createLayout():void [override] Layout the complete dataProvider so that one millisecond equals one pixel. | BestFitLayout
|  | deleteRowLocatorItem(entry:IScheduleEntry):RowLocatorItem | AbstractEntryLayout
|  | findLayoutItem(entry:IScheduleEntry):EntryLayoutItem | AbstractEntryLayout
|  | getRowLocatorItem(entry:IScheduleEntry):RowLocatorItem | AbstractEntryLayout
|  | moveItem(event:CollectionEvent):void [override] | BestFitLayout
|  | refreshItem(event:CollectionEvent):void [override] | BestFitLayout
|  | removeItem(event:CollectionEvent):void [override] | BestFitLayout
|  | replaceItem(event:CollectionEvent):void [override] | BestFitLayout
|  | resetItem(event:CollectionEvent):void [override] | BestFitLayout
|  | setRowLocatorItem(item:EntryLayoutItem, rowLocatorItem:RowLocatorItem):void | AbstractEntryLayout
|  | update():void | AbstractEntryLayout
|  | updateItem(event:CollectionEvent):void [override] | BestFitLayout

Protected Methods
Show Inherited Protected Methods
Show Inherited 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
Hide Inherited Events
Show Inherited Events

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

Method Detail

addItem | () | method

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

Parameters

| `event:CollectionEvent`

createLayout | () | method |

`override public function createLayout():void`

Layout the complete dataProvider so that one millisecond equals one pixel. This is the best precision we can ever show, since Dates have this resolution.

moveItem | () | method |

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

Parameters

| `event:CollectionEvent`

refreshItem | () | method |

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

Parameters

| `event:CollectionEvent`

removeItem | () | method |

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

Parameters

| `event:CollectionEvent`

replaceItem | () | method |

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

Parameters

| `event:CollectionEvent`

resetItem | () | method |

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

Parameters

| `event:CollectionEvent`

updateItem | () | method |

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

Parameters

| `event:CollectionEvent`

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