NAME
Treemap::Input - Creates an input object with methods suitable for use with a Treemap object.
DESCRIPTION
This base class is not meant to be directly instantiated. Subclasses of Treemap::Input which implement input from various formats shoud be instantiated instead. See the SEE ALSO section below.
CREATING INPUT SUBCLASSES
package Treemap::Input::YourSubclass
require Treemap::Input
our @ISA = qw( Treemap::Input Exporter );
No special methods need be implemented at this time. This will be changed in the future, since it violates data incapsulation. When we think of a better way to implement this, we will.
For the time being, a hash within the instance of the class of name "DATA" must exist. It should be structured as follows:
{DATA}->{name} = string
->{size} = numeric
->{colour} = "#RRGGBB"
->{children} = array reference to refrences of this format
SEE ALSO
Treemap::Input::Dir, Treemap::Input::XML
AUTHORS
Simon Ditner <simon@uc.org>, and Eric Maki <eric@uc.org>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.