File: Absolute.pm

package info (click to toggle)
liblayout-manager-perl 0.31-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 336 kB
  • ctags: 133
  • sloc: perl: 1,782; makefile: 2
file content (44 lines) | stat: -rw-r--r-- 758 bytes parent folder | download
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
package Layout::Manager::Absolute;
use Moose;

extends 'Layout::Manager';

__PACKAGE__->meta->make_immutable;

no Moose;

1;
__END__
=head1 NAME

Layout::Manager::Absolute - No frills layout manager

=head1 DESCRIPTION

Does nothing.  Expects that all components will be positioned already.

=head1 SYNOPSIS

  my $lm = Layout::Manager::Absolute->new;
  
  $lm->add_component($comp1);
  $lm->add_component($comp2);

  $lm->do_layout($container);

=head1 METHODS

=head2 do_layout

Size and position the components in this layout.

=head1 AUTHOR

Cory Watson, C<< <gphat@cpan.org> >>

=head1 COPYRIGHT & LICENSE

Copyright 2008-2009 by Cory G Watson

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.