Oak::Web::Container - Superclass for all web containers


NAME

Oak::Web::Container - Superclass for all web containers


DESCRIPTION

This class implements the behavior of a container, which holds another components inside it.


HIERARCHY

Oak::Object

Oak::Persistent

Oak::Component

Oak::Web::Visual

Oak::Web::Container


PROPERTIES

content
The content of the tag. Printed before the start_row.


METHODS

show
Overrided to call the show method of all the components it has inside it.

Any component that define a grid_width property will cause the container to skip the next columns according to the defined value.

start_container
Show the html before the first row

start_row($line)
Show the html before the first column in one row receives an array reference with the columns in this line

start_column($component)
Show the html before the component in this row receives the component that will be shown in this column

end_column
Show the html after the component in this row

between_columns
Show the html between columns

end_row
Show the html after the last column in one row

between_rows
Show the html between rows

end_container
Show the html after the last row


EXAMPLES

  use base qw(Oak::Web::Container);


COPYRIGHT

Copyright (c) 2001 Daniel Ruoso <daniel@ruoso.com> All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

 Oak::Web::Container - Superclass for all web containers