Vincenzo Zocca > VLGal-Directory-0.01 > VLGal::Size

Download:
VLGal-Directory-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source  

NAME ^

VLGal::Size - Size for Vincenzo's little gallery items

SYNOPSIS ^

TODO

ABSTRACT ^

Size for Vincenzo's little gallery items

DESCRIPTION ^

VLGal::Size contains size attributes for gallery items.

CONSTRUCTOR ^

new( [ OPT_HASH_REF ] )

Creates a new VLGal::Size object. OPT_HASH_REF is a hash reference used to pass initialization options. On error an exception Error::Simple is thrown.

Options for OPT_HASH_REF may include:

basename

Passed to set_basename().

label

Passed to set_label().

max_height

Passed to set_max_height().

max_width

Passed to set_max_width().

METHODS ^

get_basename()

Returns the basename of the directory containing item's from its size.

get_label()

Returns the label of the directory containing item's from its size.

get_max_height()

Returns the item's maximal height.

get_max_width()

Returns the item's maximal width.

set_basename(VALUE)

Set the basename of the directory containing item's from its size. VALUE is the value. On error an exception Error::Simple is thrown.

set_label(VALUE)

Set the label of the directory containing item's from its size. VALUE is the value. On error an exception Error::Simple is thrown.

set_max_height(VALUE)

Set the item's maximal height. VALUE is the value. On error an exception Error::Simple is thrown.

VALUE must match regular expression:
^\d*$
set_max_width(VALUE)

Set the item's maximal width. VALUE is the value. On error an exception Error::Simple is thrown.

VALUE must match regular expression:
^\d*$

SEE ALSO ^

VLGal::Directory, VLGal::File, VLGal::File::Factory, VLGal::File::MMagic, VLGal::Style

BUGS ^

None known (yet.)

HISTORY ^

First development: September 2003 Last update: October 2003

AUTHOR ^

Vincenzo Zocca

COPYRIGHT ^

Copyright 2003 by Vincenzo Zocca

LICENSE ^

This file is part of the VLGal module hierarchy for Perl by Vincenzo Zocca.

The VLGal module hierarchy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

The VLGal module hierarchy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the VLGal module hierarchy; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA