NAME

Renard::Curie::Model::ViewOptions::Grid - A set of options for grids

VERSION

version 0.005

EXTENDS

CONSUMES

ATTRIBUTES

rows

Maybe[PositiveInt]

The number of rows for the grid (i.e., in the vertical direction) or undef if the number of rows is unspecified (see BUILD).

columns

Maybe[PositiveInt]

The number of columns for the grid (i.e., in the horizontal direction) or undef if the number of columns is unspecified (see BUILD).

is_continuous_view

Bool

A predicate that returns a true value if the view is a continuous view (see BUILD).

METHODS

BUILD

This class can only be constructed if at least one of rows or columns is defined. If one is undef, the associated grid view is continuous and the non-undef attribute is used to compute the undef attribute.

AUTHOR

Project Renard

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Project Renard.

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