NAME

Hyper::Container - base class for all container classes.

VERSION

This document describes Hyper::Container 0.01

SYNOPSIS

package Hyper::Control::Container;

use Class::Std::Storable;
use base qw(Hyper::Control::Container);

1;

DESCRIPTION

Provides methods to set and get named objects which are needed in your class (eg. some named embedded controls). This class is NOT only used in Hyper::Control::Conainer.

ATTRIBUTES

objects :get :set :default<{}>

SUBROUTINES/METHODS

set_object

$object->set_object({
    cNext => Hyper::Control::Base::BPushButton->new(),
    cReset => Hyper::Control::Base::BPushButton->new(),
});

Store as many named objects as you like. ATTENTION: Only Class::Std::Storable objects are supported - other objects will crash on freeze (persistance).

get_object

$object->get_object('bNext');

Get named object.

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

  • version
  • Class::Std::Storable

INCOMPATIBILITIES

BUGS AND LIMITATIONS

RCS INFORMATIONS

Last changed by
$Author: ac0v $
Id
$Id: Container.pm 317 2008-02-16 01:52:33Z ac0v $
Revision
$Revision: 317 $
Date
$Date: 2008-02-16 02:52:33 +0100 (Sa, 16 Feb 2008) $
HeadURL
$HeadURL: http://svn.hyper-framework.org/Hyper/Hyper/tags/0.05/lib/Hyper/Container.pm $

AUTHOR

Andreas Specht <ACID@cpan.org>

LICENSE AND COPYRIGHT

Copyright (c) 2007, Andreas Specht <ACID@cpan.org>. All rights reserved.

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