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

NAME

dtRdr::GUI::Wx::NoteViewer - a special Wx::Panel

SYNOPSIS

new

  my $nv = dtRdr::GUI::Wx::NoteViewer->new($parent, @args);

init

  $nv->init($frame);

load_url

Acts as a url_handler for the viewer's htmlwidget.

  $self->load_url($url, $killit);

__create_children

  $self->__create_children;

__do_layout

  $self->__do_layout;

__do_properties

  $self->__do_properties;

setup

  $nv->setup;

_enable_buttons

  $self->_enable_buttons;

_disable_buttons

  $self->_disable_buttons;

notebar_changed

  $self->notebar_changed($event);

notebar_toggle

  $self->notebar_toggle($event);

be_open

  $nv->be_open;

be_closed

  $nv->be_closed;

Note Manipulation

The viewer has a concept of a "current" note, which is updated by the BVManager and the show_note() method.

thread_id

Return the ID of the current thread. Returns undef if there is not one.

  my $id = $nv->thread_id;

no_note

Quit showing whatever note you were showing for whatever reason?

  $nv->no_note;

goto_note

  $self->goto_note;

edit_note

  $self->edit_note($id);

delete_note

  $self->delete_note($id);

reply_note

  $self->reply_note($id);

show_note

  $nv->show_note($note_object);

note_deleted

Notify the view that the annotation was deleted.

  $nv->note_deleted($anno);

render

Render the current thread.

  $nv->render;

render_thread

  my $html_chunk = $nv->render_thread($thread);

render_note

  my $html_chunk = $nv->render_note($note);

render_meta

  my $table = $nv->render_meta($note);

MoveMe!

date_format

  my ($date, $time) = $package->date_format($epoch_time);

AUTHOR

Eric Wilhelm <ewilhelm at cpan dot org>

http://scratchcomputing.com/

COPYRIGHT

Copyright (C) 2006 Eric L. Wilhelm and OSoft, All Rights Reserved.

NO WARRANTY

Absolutely, positively NO WARRANTY, neither express or implied, is offered with this software. You use this software at your own risk. In case of loss, no person or entity owes you anything whatsoever. You have been warned.

LICENSE

The dotReader(TM) is OSI Certified Open Source Software licensed under the GNU General Public License (GPL) Version 2, June 1991. Non-encrypted and encrypted packages are usable in connection with the dotReader(TM). The ability to create, edit, or otherwise modify content of such encrypted packages is self-contained within the packages, and NOT provided by the dotReader(TM), and is addressed in a separate commercial license.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.