The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Gtk2::Ex::MindMapView::BorderFactory - Maker of standard border items.

VERSION

This document describes Gtk2::Ex::MindMapView::BorderFactory version 0.0.1

SYNOPSIS

use Gtk2::Ex::MindMapView::BorderFactory;

DESCRIPTION

This factory makes borders for mind map view items. The following types of borders are currently supported:

Gtk2::Ex::MindMapView::Border::RoundedRect - A rounded rectangle border.

Gtk2::Ex::MindMapView::Border::Rectangle - A rectangular border.

Gtk2::Ex::MindMapView::Border::Ellipse - An ellipse shaped border.

INTERFACE

Properties

'view' (Gtk2::Ex::MindMapView)

The canvas on which the border will be drawn.

'type' (string)

The type of border to draw (see above).

'content' (Gtk2::Ex::MindMapView::Content)

The content to be placed in the border.

'fill_color_gdk' (Gtk2::Gdk::Color)

The color of the interior of the border.

'outline_color_gdk' (Gtk2::Gdk::Color)

The color of the border outline.

Methods

new (view=$view, ...)>

Constructor for this factory. Pass in a Gtk2::Ex::MindMapView argument.

create_border (type=$border_type, content=>$content, ...)>

Creates a new Gtk2::Ex::MindMapView::Border border with the specified content.

DIAGNOSTICS

Invalid Gtk2::Ex::MindMapView argument.

The 'view' parameter must be a Gtk2::Ex::MindMapView.

Invalid content. 'content' parameter must be 'Gtk2::Ex::MindMapView::Content')

The only content types that subclass 'Gtk2::Ex::MindMapView::Content' are permitted.

Unexpected border type: $type

Only the border types listed above are currently supported.

DEPENDENCIES

None.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests to bug-gtk2-ex-mindmapview@rt.cpan.org, or through the web interface at http://rt.cpan.org.

AUTHOR

James Muir <hemlock@vtlink.net>

LICENCE AND COPYRIGHT

Copyright (c) 2006, James Muir <hemlock@vtlink.net>. All rights reserved.

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

DISCLAIMER OF WARRANTY

BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.