![]() |
![]()
| ![]() |
![]()
NAMEReaction::UI::ViewPort::Collection DESCRIPTIONCreates, from an InterfaceModel::Collection, a list of viewports representing each member of the collection. ATTRIBUTEScollectionRequired read-only InterfaceModel::Collection This is the original collection. current_collectionRead-only, lazy-building InterfaceModel::Collection This is the collection that will be used to create "members" and should be altered to reflect any ordering, paging, etc. By default this is the same thing as "collection". member_argsA read-write HASH ref of additional parameters to pass to the "member_class" constructor as items are instantiated. member_classThe class to use when instantiating items to represent the member items. See: Object, Member. INTERNAL METHODSThese methods, although stable, are subject to change without notice. Extend at your own risk, APIs may change in the future. BUILDIntercept a parameter with the key "Member" amd store it in "member_args" modelReturns the "current_collection" _build_membersBuild individual viewports for each member of the collection, _build_member_argsDefaults to an empty HASH ref. _build_member_classDefaults to Reaction::UI::ViewPort::Object AUTHORSSee Reaction::Class for authors. LICENSESee Reaction::Class for the license.
|