Embperl::Form::Control(3pm) - phpMan

Command: man perldoc info search(apropos)  


Form::Control(3pm)             User Contributed Perl Documentation             Form::Control(3pm)



NAME
       Embperl::Form::Control - Base class for controls inside an Embperl Form

SYNOPSIS
       Do not use directly, instead derive a class

DESCRIPTION
       This class is not used directly, it is used as a base class for all controls inside an
       Embperl Form. It provides a set of methods that could be overwritten to customize the
       behaviour of your controls.

METHODS
       new

       Create a new control

       noframe

       Do not draw frame border if this is the only control

       is_disabled

       Do not display this control at all.

       is_readonly

       Could value of this control be changed ?

       show

       output the control

       get_on_show_code

       returns JavaScript code that should be executed when the form becomes visible

       form

       return the form object of this control

       show_sub_begin

       output begin of sub form

       show_sub_end

       output end of sub form

       show_label

       output the label of the control

       show_label_icon

       output the icon after the label

       show_label_cell

       output the table cell in which the label will be displayed

       Must return the columns it spans (default: 1)

       show_control

       output the control itself

       show_control_cell

       output the table cell in which the control will be displayed

       Gets the x position as argument

PARAMETERS
       name

       Specifies the name of the control

       text

       Will be used as label for the control, if not given name is used as default

       labelnowrap

       If set, the text label will not be line wrapped.

       labelclass

       If set, will be used as additional CSS classes for the label text cell.

       readonly

       If set, displays a readonly version of t control.

       disable

       If set, the control will not be displayed at all.

       newline

       If set to 1, forces a new line before the control.  If set to -1, forces a new line after
       the control.

       width

       Gives the widths of the control. The value is "1/width" of the the whole width of the
       form. So if you want to have four controls in one line set "width" to 4. The default value
       is 2.

       width_percent

       With this parameter you can also specify the width of the control in percent. This
       parameter take precendence over "width"

AUTHOR
       G. Richter (richter AT dev.de)

SEE ALSO
       perl(1), Embperl, Embperl::Form



perl v5.10.0                                2006-01-06                         Form::Control(3pm)

Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-23 16:22 @38.107.179.240 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!