aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/Widget/Collection/Grid/Member.pm
blob: 3a47aa0e3c1b3d61d107453531884208d88b4917 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
package Reaction::UI::Widget::Collection::Grid::Member;

use Reaction::UI::WidgetClass;

use namespace::clean -except => [ qw(meta) ];
extends 'Reaction::UI::Widget::Object';

__PACKAGE__->meta->make_immutable;

1;

__END__;

=head1 NAME

Reaction::UI::Widget::Collection::Grid::Member - A member widget of the Grid widget

=head1 DESCRIPTION

A pure subclass of L<Reaction::UI::Widget::Object> representing a member
in a L<Reaction::UI::Widget::Collection::Grid>.

=head1 FRAGMENTS

This widget defines no additional fragments.

=head1 LAYOUT SETS

=head2 base

  share/skin/base/layout/collection/grid/member.tt

The following layouts are provided:

=over 4

=item widget

Renders the C<field_list> fragment provided initially by L<Reaction::UI::Widget::Object>.

=item field

Renders the next C<field> fragment in the inheritance hierarchy.

=back

=head2 default

  share/skin/default/layout/collection/grid/member.tt

This layout set extends the C<NEXT> skin in the inheritance hierarchy.

Like with L<Reaction::UI::Widget::Collection::Grid>, the C<default> layout set provides
a table based markup for the abstract view logic defined in the C<base> skin.

The following layouts are provided:

=over 4

=item widget

Renders the next C<widget> fragment surrounded by a C<tr> element.

=item field

Renders the next C<field> fragment surrounded by a C<td> element.

=back

=head1 SEE ALSO

=over 4

=item * L<Reaction::UI::Widget::Collection::Grid>

=item * L<Reaction::UI::Widget::Collection::Grid::Member>

=back

=head1 AUTHORS

See L<Reaction::Class> for authors.

=head1 LICENSE

See L<Reaction::Class> for the license.

=cut