Justin Hunter > Reaction > Reaction::UI::ViewPort::Collection

Download:
Reaction-0.002005.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
Stalled  1
View/Report Bugs
Source  

NAME ^

Reaction::UI::ViewPort::Collection

DESCRIPTION ^

Creates, from an InterfaceModel::Collection, a list of viewports representing each member of the collection.

ATTRIBUTES ^

collection

Required read-only InterfaceModel::Collection This is the original collection.

current_collection

Read-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_args

A read-write HASH ref of additional parameters to pass to the member_class constructor as items are instantiated.

member_class

The class to use when instantiating items to represent the member items.

See: Object, Member.

INTERNAL METHODS ^

These methods, although stable, are subject to change without notice. Extend at your own risk, APIs may change in the future.

BUILD

Intercept a parameter with the key Member amd store it in member_args

model

Returns the current_collection

_build_members

Build individual viewports for each member of the collection,

_build_member_args

Defaults to an empty HASH ref.

_build_member_class

Defaults to Reaction::UI::ViewPort::Object

AUTHORS ^

See Reaction::Class for authors.

LICENSE ^

See Reaction::Class for the license.

syntax highlighting: