Jean-Christian HASSLER
and 1 contributors

NAME

HTML::GUI::checkbox - Create and control a checkbox input for webapp

VERSION

Version 0.01

CHECKBOX

The checkbox widget is the specialisation of the input

PUBLIC ATTRIBUTES

PUBLIC METHODS

new

   Parameters :
      params : widget : 

setValue

   Parameters :
                 The new value of the checkbox value

   Return : 
     nothing 

   Description : 
      a checkbox can only contain a boolean value 1 or 0.

getNudeHtml

   Description : 
      Return the html of the widget to be inserted in a <p> tag or a a table.

setValueFromParams

   Parameters :
           -params : a hash ref 

   Description : 
      look for a value coresponding to the checkbox in $params hash;
                        if no value is found, the widget value is 0
                  if a value is found, the widget value is 1

AUTHOR

Jean-Christian Hassler, <jhassler at free.fr>

BUGS

Please report any bugs or feature requests to bug-gui-libhtml-checkbox at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-GUI. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc HTML::GUI::widget

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2007 Jean-Christian Hassler, all rights reserved.

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